Topological phase transition measured in a dissipative metamaterial