and hip pain
has nothing to do with consumption of metformin
and needs to be evaluated by an orthopedic.Bad smell in urine could be because of concentrated urine,urinary tract infection
or even metformin can also impart some smell to urine.
Get your urine tested,increase your consumption of water and control your blood sugar levels properly.