Analysis of Sliding Motion on a Nonsmooth Surface