Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 184.7 kB / 8.521 MB, free: 1.84 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 221.4 MB / 230.3 MB, free: 2.996 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 97.34 kB / 281.2 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3897/0.3897, allocations: 44.14 MB / 376.1 MB, free: 43.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.408e-06/9.448e-06, allocations: 3.938 kB / 444 MB, free: 11.67 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.4239, allocations: 61.9 MB / 0.4941 GB, free: 42.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.119/1.543, allocations: 0.5444 GB / 1.039 GB, free: 77.18 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/1.543, allocations: 81.83 kB / 1.039 GB, free: 77.11 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.5147/2.058, allocations: 105.9 MB / 1.142 GB, free: 163.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.847e-05/2.058, allocations: 3.719 kB / 1.142 GB, free: 163.5 MB / 0.5261 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.003668/2.062, allocations: 1.046 MB / 1.143 GB, free: 162.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/2.062, allocations: 8.781 kB / 1.143 GB, free: 162.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007195/2.063, allocations: 80.05 kB / 1.143 GB, free: 162.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/2.063, allocations: 248.8 kB / 1.143 GB, free: 162.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/2.063, allocations: 15.02 kB / 1.143 GB, free: 162.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/2.063, allocations: 14.34 kB / 1.143 GB, free: 162.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007033/2.064, allocations: 0.578 MB / 1.144 GB, free: 162.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005523/2.064, allocations: 353.6 kB / 1.144 GB, free: 162.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/2.064, allocations: 3.938 kB / 1.144 GB, free: 162.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.705e-05/2.064, allocations: 5.906 kB / 1.144 GB, free: 162.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/2.064, allocations: 10.3 kB / 1.144 GB, free: 162.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08521/2.15, allocations: 39.04 MB / 1.182 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/2.15, allocations: 73.69 kB / 1.183 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.867e-05/2.15, allocations: 35.31 kB / 1.183 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01994/2.17, allocations: 7.087 MB / 1.189 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002753/2.17, allocations: 90.75 kB / 1.19 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 3.317e-06/2.17, allocations: 4 kB / 1.19 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.001831/2.172, allocations: 311.3 kB / 1.19 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/2.172, allocations: 52.69 kB / 1.19 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/2.172, allocations: 200.7 kB / 1.19 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/2.172, allocations: 27.92 kB / 1.19 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/2.172, allocations: 237.9 kB / 1.19 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/2.172, allocations: 49.22 kB / 1.19 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.385e-05/2.172, allocations: 0 / 1.19 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.031e-05/2.173, allocations: 329.3 kB / 1.191 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.664e-05/2.173, allocations: 54.34 kB / 1.191 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/2.173, allocations: 294.9 kB / 1.191 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/2.175, allocations: 223.4 kB / 1.191 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/2.175, allocations: 3.5 kB / 1.191 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002485/2.177, allocations: 0.5762 MB / 1.192 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/2.177, allocations: 9.281 kB / 1.192 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/2.177, allocations: 8.625 kB / 1.192 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.443e-05/2.177, allocations: 11.88 kB / 1.192 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006562/2.178, allocations: 151 kB / 1.192 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006085/2.178, allocations: 1.207 MB / 1.193 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003579/2.179, allocations: 16.5 kB / 1.193 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.388e-05/2.179, allocations: 34.45 kB / 1.193 GB, free: 134.1 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: $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: 38 * 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 (55): * Single equations (assignments): 53 * 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 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001972/2.179, allocations: 125.5 kB / 1.193 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003464/2.179, allocations: 87.92 kB / 1.193 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007952/2.18, allocations: 342.6 kB / 1.194 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/2.18, allocations: 5.469 kB / 1.194 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/2.18, allocations: 1.406 kB / 1.194 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/2.18, allocations: 4 kB / 1.194 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006913/2.187, allocations: 2.504 MB / 1.196 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/2.187, allocations: 1.25 kB / 1.196 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006001/2.188, allocations: 89.91 kB / 1.196 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/2.188, allocations: 1.281 kB / 1.196 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/2.188, allocations: 6.125 kB / 1.196 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003182/2.188, allocations: 0.5857 MB / 1.197 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.269e-06/2.188, allocations: 1.438 kB / 1.197 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009894/2.189, allocations: 473.1 kB / 1.197 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/2.189, allocations: 142.2 kB / 1.197 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.241e-05/2.19, allocations: 1.281 kB / 1.197 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/2.19, allocations: 15.08 kB / 1.197 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/2.19, allocations: 12.42 kB / 1.197 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/2.19, allocations: 5.125 kB / 1.198 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0002069/2.19, allocations: 171.3 kB / 1.198 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002962/2.193, allocations: 467.8 kB / 1.198 GB, free: 130.4 MB / 0.5261 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003107/2.196, allocations: 0.9436 MB / 1.199 GB, free: 130 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001035/2.197, allocations: 292.9 kB / 1.199 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/2.197, allocations: 0 / 1.199 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002932/2.198, allocations: 134.2 kB / 1.199 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/2.198, allocations: 36.7 kB / 1.199 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5015/2.7, allocations: 157.1 MB / 1.353 GB, free: 205.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003849/2.7, allocations: 0.8004 MB / 1.354 GB, free: 204.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.062e-06/2.7, allocations: 0 / 1.354 GB, free: 204.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.02061/2.721, allocations: 13.61 MB / 1.367 GB, free: 203.6 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches