Record stderr of sim during testing and print it contents in log if it fails.