He had 2015, 2016, 2023 with either no Nadal or a very poor version of Nadal.
2021, 2022 with a weaker/injured version of Nadal.
I count 5 openings there with 3 titles over Murray, injured Nadal and Ruud. Lost to Wawrinka in 2015. Nadal in 2022.
Federer OTOH had 2004 and 2009. Converted 2009 over Del Potro and soderling. , lost 2004 to an inspired Kuerten who is a clay ATG.