KL 1574 then U2 6002 at Schiphol
Porto → Amsterdam → Marrakesh
Timetable, Amsterdam time
19:50KL 1574 from Porto at the gate
12:05U2 6002 to Marrakesh leaves the gate
16 h 15 apart on the timetable, overnight
U2 6002 leaves 16 h 15 after KL 1574 arrives on the timetable: more than half a day, so not a connection we count.