There have been lots of delays and problems with the Madrid-Barcelona AVE line. About a year and a half ago they opened it up as far as Lérida (Lleida), but it's also had its fair share of problems including sinkholes
along the line. It also doesn't go as fast as it was supposed to and I've heard people here refer to it as "the world's slowest high speed train!" Last I heard it would be open to Barcelona in 2007.