good luck at the vet, hopefully they can give her something to make things more comfortable.
it almost sounds like a spine issue

coupled with old age arthritis, the vet should be able to give you more insight.
I had a malemute great dane X that lived to be 16, at age 14 she started getting arthritis and even had some spasms like you described. the vet started her on some pain meds, she lived another two years in comfort.