FR 6156 then FR 1072 at Copenhagen
Kaunas → Copenhagen → Madrid
Timetable, Copenhagen time
21:45FR 6156 from Kaunas at the gate
20:20FR 1072 to Madrid leaves the gate
22 h 35 apart on the timetable, overnight
FR 1072 leaves 22 h 35 after FR 6156 arrives on the timetable: more than half a day, so not a connection we count.