EC 3749 then FR 6394 at Barcelona
Milan → Barcelona → Dublin
Timetable, Barcelona time
21:30EC 3749 from Milan at the gate
16:25FR 6394 to Dublin leaves the gate
18 h 55 apart on the timetable, overnight
FR 6394 leaves 18 h 55 after EC 3749 arrives on the timetable: more than half a day, so not a connection we count.