A test of an early-type contact binary model by comparing the relations obtained from theory with those from observations