There currently are a variety of options to travel by night train from Oppdal (Norway) to Oslo (Norway), taking between approximately 5 and 6 hours: Namely the 406 and the 80406. These lines are operated by SJ Nord.
SJ Nord, part of the Swedish state railway group SJ, runs passenger train services in Norway.