Amla steadied the innings with a patient half-century, batting for 109 minutes for his 53 runs and hitting seven fours.
Sydney: Graeme Smith and Hashim Amla hit unbeaten half centuries for South Africa as they warmed up for the first Test against Australia in a three-day match against Australia A which ended on Sunday in a draw.
Smith made 60 and Amla 53 before retiring to allow team-mates a chance for batting practice in South Africa's only warm-up match ahead of the Test which starts in Brisbane on Friday. Jacques Rudolph made 39, Alviro Petersen 38, J.P. Duminy 31 and A.B. de Villiers 24, all shaking off some cobwebs as South Africa reached 277 for 6 in reply to Australia A's first innings of 480 for 7 declared.
Dale Steyn then captured the wicket of Liam Davis, adding to his first innings haul of 3 for 54, as Australia A reached 13 for 1 in 10 overs before the captains agreed to end the match. Australia A built their innings over the first two days of the match at the Sydney Cricket Ground around Alex Doolan's unbeaten 161, his highest first class score.
Smith guided the early part of South Africa's reply, hitting 60 then retiring before stumps on the second day when South Africa was 128 for 1. Petersen fell to the bowling of part-time spinner Glenn Maxwell, as did Rudolph, who was caught by John Hastings at first slip.
Amla steadied the innings with a patient half-century, batting for 109 minutes for his 53 runs and hitting seven fours. Rudolph spent 108 minutes at the crease for his 39 and Duminy took 82 minutes to make 31 before chopping a delivery from Andrew McDonald onto his stumps. Maxwell finished with 2 for 70 from 24 overs and Hastings took 1 for 32 from 23.
Meanwhile, Australia captain Michael Clarke made 28 in the second innings for his New South Wales state side which was beaten by six wickets by Queensland in a domestic Sheffield Shield match on Sunday. Test opener David Warner made 39 in his second innings for New South Wales while fast bowler Mitchell Starc made 25 and took 1 for 36 from six overs.
Australia A 480 for 7 declared (Alex Doolan 161 not out, Rob Quiney 85; Dale Steyn 3 for 54) and 13 for 1
South Africa 277 for 6 declared (Graeme Smith 60, Hashim Amla 53; Glenn Maxwell 2 for 70).