A multi-contact model to study the dynamic stick-slip and creep in mechanical frictional pair