Contact problems with friction, and development of diagnostic techniques