Up until election day, almost all polls and analytical forecasts predicted that Hillary, a candidate from the incumbent Democratic Party, would win. Instead, Trump won by a large margin. Republicans won both House and Senate.
This pattern is frequently observed when a ruling party persecutes opposition. Fearing repression, supporters of the opposition disproportionately avoid polling or claim to support the ruling party. They express their opinion only on election day.