Pennsylvania's race for U.S. Senate has triggered an automatic recount.