Updated test_openmp_consistency to check consistency with runtime