Holden has confirmed plans to end production of four cylinder engines at its Melbourne operations, which Australia's car manufacturing union said would cost 500 jobs.