An ordinary differential equation describing the transverse profiles of U-shaped glacial valleys has two formal analogies, which we explore in detail, bridging these different areas of research. First, an analogy with point particle mechanics completes the description of the solutions. Second, an analogy with the Friedmann equation of relativistic cosmology shows that the analogue of a glacial valley profile is a universe with a future singularity of interest in theoretical models of cosmology. A Big Freeze singularity, which was not previously observed for positive curvature index, is also contained in the dynamics.