Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001634/0.001634, allocations: 175.8 kB / 8.148 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001272/0.001272, allocations: 90.62 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.288/0.288, allocations: 43.49 MB / 353.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.073e-05/1.088e-05, allocations: 4 kB / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2917, allocations: 58.84 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.403/1.695, allocations: 0.645 GB / 1.11 GB, free: 89.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/1.695, allocations: 74.52 kB / 1.11 GB, free: 89.56 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.5096/2.205, allocations: 108.8 MB / 1.217 GB, free: 143.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.527e-05/2.205, allocations: 7.469 kB / 1.217 GB, free: 143.8 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003882/2.209, allocations: 1.06 MB / 1.218 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/2.209, allocations: 10.72 kB / 1.218 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000916/2.21, allocations: 85.09 kB / 1.218 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003832/2.21, allocations: 241.4 kB / 1.218 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/2.21, allocations: 11.75 kB / 1.218 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.683e-05/2.21, allocations: 11.78 kB / 1.218 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001008/2.211, allocations: 0.5818 MB / 1.219 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006408/2.212, allocations: 360.7 kB / 1.219 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/2.212, allocations: 3.469 kB / 1.219 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.788e-05/2.212, allocations: 1.5 kB / 1.219 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/2.212, allocations: 8.938 kB / 1.219 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08042/2.292, allocations: 26.98 MB / 1.245 GB, free: 129.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/2.293, allocations: 81.06 kB / 1.245 GB, free: 129.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.415e-05/2.293, allocations: 25.61 kB / 1.245 GB, free: 129.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02968/2.322, allocations: 6.496 MB / 1.252 GB, free: 126.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002456/2.323, allocations: 92.64 kB / 1.252 GB, free: 126.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 2.986e-06/2.323, allocations: 0 / 1.252 GB, free: 126.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.002312/2.325, allocations: 392.3 kB / 1.252 GB, free: 126.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/2.325, allocations: 58.03 kB / 1.252 GB, free: 126.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/2.325, allocations: 197.2 kB / 1.252 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/2.325, allocations: 25.7 kB / 1.253 GB, free: 126 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/2.326, allocations: 308 kB / 1.253 GB, free: 125.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/2.326, allocations: 49.83 kB / 1.253 GB, free: 125.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-05/2.326, allocations: 3.938 kB / 1.253 GB, free: 125.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.626e-05/2.326, allocations: 328.9 kB / 1.253 GB, free: 125.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/2.326, allocations: 54.48 kB / 1.253 GB, free: 125.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/2.326, allocations: 331.8 kB / 1.254 GB, free: 125.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/2.328, allocations: 176.8 kB / 1.254 GB, free: 125.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/2.328, allocations: 3.656 kB / 1.254 GB, free: 125.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002764/2.33, allocations: 0.5504 MB / 1.254 GB, free: 125 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/2.33, allocations: 3.531 kB / 1.254 GB, free: 125 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/2.33, allocations: 11.44 kB / 1.254 GB, free: 125 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002055/2.331, allocations: 55.14 kB / 1.254 GB, free: 125 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005495/2.331, allocations: 105.4 kB / 1.254 GB, free: 125 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000928/2.332, allocations: 1.251 MB / 1.256 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004254/2.333, allocations: 14.97 kB / 1.256 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.206e-05/2.333, allocations: 33.08 kB / 1.256 GB, free: 123.8 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: $DER.medium.d:DUMMY_DER(fixed = false ) "Density of medium" type: Real $DER.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001848/2.333, allocations: 57.02 kB / 1.256 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004487/2.333, allocations: 99.39 kB / 1.256 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/2.335, allocations: 429 kB / 1.256 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/2.335, allocations: 3.75 kB / 1.256 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/2.335, allocations: 0 / 1.256 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/2.335, allocations: 0 / 1.256 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009243/2.344, allocations: 2.404 MB / 1.259 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.884e-06/2.344, allocations: 5.094 kB / 1.259 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/2.344, allocations: 15.94 kB / 1.259 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001577/2.344, allocations: 54.28 kB / 1.259 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/2.344, allocations: 2.281 kB / 1.259 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008923/2.345, allocations: 1.308 MB / 1.26 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/2.345, allocations: 1.031 kB / 1.26 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001409/2.347, allocations: 0.525 MB / 1.26 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/2.347, allocations: 129.9 kB / 1.261 GB, free: 121 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.924e-05/2.347, allocations: 2.062 kB / 1.261 GB, free: 121 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/2.347, allocations: 13.38 kB / 1.261 GB, free: 121 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/2.347, allocations: 20.91 kB / 1.261 GB, free: 121 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/2.347, allocations: 9.281 kB / 1.261 GB, free: 121 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002039/2.348, allocations: 160.4 kB / 1.261 GB, free: 121 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00209/2.35, allocations: 387.5 kB / 1.261 GB, free: 120.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003615/2.353, allocations: 0.8237 MB / 1.262 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008471/2.354, allocations: 285.7 kB / 1.262 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/2.354, allocations: 1.406 kB / 1.262 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003111/2.355, allocations: 170.5 kB / 1.262 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005151/2.355, allocations: 25.66 kB / 1.262 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6179/2.973, allocations: 176.4 MB / 1.435 GB, free: 183.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003475/2.974, allocations: 0.8033 MB / 1.435 GB, free: 182.5 MB / 0.4948 GB Notification: Performance of SimCode: time 1.613e-06/2.974, allocations: 2.297 kB / 1.435 GB, free: 182.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.02158/2.995, allocations: 11.14 MB / 1.446 GB, free: 181.5 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,eps_h_is,eps,eta,lambda,Pr,p,T,d,h,u,s,g,f,cp,cp2,cv,cv2,h_is,a,beta,beta2,kappa,kappa2,MM,h2,d2,err_T,err_d,err_u,s_is,err_h_is Variables in the result:MM,Pr,T,_D_cse1.R,_D_cse1.T,_D_cse1.cp,_D_cse1.cv,_D_cse1.h,_D_cse1.p,_D_cse1.pd,_D_cse1.pt,_D_cse1.rho,_D_cse1.s,_D_cse1.vp,_D_cse1.vt,_D_cse2.R,_D_cse2.T,_D_cse2.cp,_D_cse2.cv,_D_cse2.h,_D_cse2.p,_D_cse2.pd,_D_cse2.pt,_D_cse2.rho,_D_cse2.s,_D_cse2.vp,_D_cse2.vt,_D_whenCondition1,a,beta,beta2,cp,cp2,cv,cv2,d,d2,eps,eps_h_is,err_T,err_d,err_h_is,err_u,eta,f,g,h,h2,h_is,kappa,kappa2,lambda,medium.MM,medium.R,medium.T,medium.T_degC,medium.X[1],medium.d,der(medium.T),der(medium.d),medium.h,medium.p,medium.p_bar,medium.preferredMediumStates,medium.standardOrderComponents,medium.state.T,medium.state.d,medium.state.h,medium.state.p,medium.u,p,s,s_is,state.T,state.d,state.h,state.p,state2.T,state2.d,state2.h,state2.p,state3.T,state3.d,state3.h,state3.p,state4.T,state4.d,state4.h,state4.p,state5.T,state5.d,state5.h,state5.p,state_h_is.T,state_h_is.d,state_h_is.h,state_h_is.p,time,u