Optical frequency comb generation beyond the Lugiato-Lefever equation