His damaged auto was taken on a truck back to the Red Bull garage for repairs.
The two Red Bulls collided in Azerbaijan two weekends ago and are under close scrutiny by team bosses who could intervene if their rivalry risks overheating again in Sunday's race.
The Drive inquired as to what factors propelled Kubica ahead of his teammates in practice, but a team spokesperson declined to comment, pointing out discrepancies in track temperatures and practice programs.
Bottas led the first session and Hamilton the second at the Circuit de Barcelona-Catalunya, both times without having to use the faster supersoft tires.
Hamilton believes both he and his team have been punching below their weight so far this season, even though he holds a four point advantage over Ferrari's Sebastian Vettel in the drivers' championship.
"So you saw a lot of drivers going off, it wasn't that easy to stay on track".
Vettel finished fourth 0.3 seconds slower than the fastest auto, while Raikkonen suffered an engine issue and ended sixth.
Encouragingly for Force India, Perez set his best lap on the soft tires compared to the supersofts used by the three cars directly ahead of him, while Fernando Alonso in 12th set his best time on the mediums and was within half a second of Grosjean in seventh.
The virtual safety auto was deployed in the morning when Ricciardo's vehicle ran across the gravel and into the barriers.
In the morning, the story was all about the teams testing the new upgrades for their cars whether it be the controversial Halo-mounted mirrors on the Ferrari or the new nose design at McLaren.
Worse still was the luck of Ferrari's Kimi Räikkönen, whose engine made an unhealthy noise as it belched white smoke in free practice two, suggesting serious mechanical problems.
Robert Kubica completed his first practice session of the year with Williams and drove Sergey Sirotkin's vehicle to the 19th fastest time.
Reserve driver Robert Kubica's first FP1 outing of the year in place of Sergey Sirotkin featured a lethargic spin at Turn 13, before Lance Stroll posted a personal best first sector then promptly beached his auto in the Turn 5 gravel. "But I'm satisfied with the session and how I reacted to hard conditions and a hard balance".
Stroll almost hit the tire barriers after going off the track with about a half-hour left in the first session.
"It was so windy out there and every driver was struggling with the changing direction of the wind". Bottas and Vettel also spun but were able to continue their runs without significant damage.