Millions voted for a new federal government after the country's three-party coalition fell apart at the end of last year.