Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,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_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,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_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") [: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 3.2.3+maint.om/package.mo): time 0.0009058/0.0009058, allocations: 188.2 kB / 7.804 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.055/1.055, allocations: 205.2 MB / 213.4 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008052/0.0008052, allocations: 100.5 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1524/0.1524, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.232e-06/6.252e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.225, allocations: 58.84 MB / 476.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.02/1.245, allocations: 0.645 GB / 1.11 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/1.246, allocations: 75.95 kB / 1.11 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.1743/1.42, allocations: 108.8 MB / 1.217 GB, free: 2.02 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.503e-05/1.42, allocations: 4 kB / 1.217 GB, free: 2.016 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.002887/1.423, allocations: 1.056 MB / 1.218 GB, free: 0.9141 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/1.423, allocations: 12.03 kB / 1.218 GB, free: 0.9023 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005436/1.424, allocations: 83.64 kB / 1.218 GB, free: 0.8203 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/1.424, allocations: 250.7 kB / 1.218 GB, free: 0.5352 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/1.424, allocations: 8 kB / 1.218 GB, free: 0.5273 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/1.424, allocations: 16 kB / 1.218 GB, free: 0.5117 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1378/1.562, allocations: 0.5896 MB / 1.219 GB, free: 190.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003979/1.562, allocations: 349.3 kB / 1.219 GB, free: 190.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/1.562, allocations: 0 / 1.219 GB, free: 190.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/1.562, allocations: 3.938 kB / 1.219 GB, free: 190.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/1.562, allocations: 7.656 kB / 1.219 GB, free: 190.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0441/1.606, allocations: 29.31 MB / 1.248 GB, free: 173.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.355e-05/1.606, allocations: 36.17 kB / 1.248 GB, free: 173.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.531e-05/1.606, allocations: 17.66 kB / 1.248 GB, free: 173.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007333/1.614, allocations: 3.558 MB / 1.251 GB, free: 171.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/1.614, allocations: 79.31 kB / 1.251 GB, free: 171.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 2.254e-06/1.614, allocations: 0 / 1.251 GB, free: 171.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0006162/1.615, allocations: 151.5 kB / 1.251 GB, free: 171.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.88e-05/1.615, allocations: 51.41 kB / 1.251 GB, free: 171.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/1.615, allocations: 225.4 kB / 1.252 GB, free: 171.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/1.615, allocations: 33.36 kB / 1.252 GB, free: 171.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.644e-05/1.615, allocations: 252.1 kB / 1.252 GB, free: 170.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/1.615, allocations: 33.55 kB / 1.252 GB, free: 170.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.369e-05/1.615, allocations: 0 / 1.252 GB, free: 170.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.995e-05/1.615, allocations: 326.6 kB / 1.252 GB, free: 170.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.204e-05/1.615, allocations: 59.56 kB / 1.252 GB, free: 170.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/1.615, allocations: 292.4 kB / 1.253 GB, free: 170.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/1.616, allocations: 212.6 kB / 1.253 GB, free: 170.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.616, allocations: 0 / 1.253 GB, free: 170.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001942/1.618, allocations: 0.5605 MB / 1.253 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/1.618, allocations: 7.875 kB / 1.253 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.618, allocations: 12.12 kB / 1.253 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/1.618, allocations: 13.97 kB / 1.253 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/1.619, allocations: 109.2 kB / 1.253 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/1.619, allocations: 15.38 kB / 1.254 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002991/1.619, allocations: 50.91 kB / 1.254 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.916e-05/1.619, allocations: 33.14 kB / 1.254 GB, free: 170.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.584e-05/1.619, allocations: 128.4 kB / 1.254 GB, free: 170.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002652/1.619, allocations: 96.73 kB / 1.254 GB, free: 170.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002927/1.62, allocations: 155.3 kB / 1.254 GB, free: 170 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/1.62, allocations: 3.75 kB / 1.254 GB, free: 170 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/1.62, allocations: 0 / 1.254 GB, free: 170 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.62, allocations: 0 / 1.254 GB, free: 170 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004103/1.624, allocations: 2.315 MB / 1.256 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.624, allocations: 3.25 kB / 1.256 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.86e-05/1.624, allocations: 7.906 kB / 1.256 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/1.624, allocations: 0 / 1.256 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/1.624, allocations: 11.25 kB / 1.256 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/1.624, allocations: 0 / 1.256 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.624, allocations: 0 / 1.256 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004427/1.624, allocations: 326.2 kB / 1.257 GB, free: 168.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.657e-05/1.625, allocations: 145.8 kB / 1.257 GB, free: 168.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.147e-05/1.625, allocations: 7.062 kB / 1.257 GB, free: 168.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/1.625, allocations: 7.062 kB / 1.257 GB, free: 168.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/1.625, allocations: 18.67 kB / 1.257 GB, free: 168.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/1.625, allocations: 7.562 kB / 1.257 GB, free: 168.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001143/1.625, allocations: 183 kB / 1.257 GB, free: 168.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001129/1.626, allocations: 423.6 kB / 1.257 GB, free: 168.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001695/1.628, allocations: 0.8486 MB / 1.258 GB, free: 168.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000214/1.628, allocations: 170.3 kB / 1.258 GB, free: 168.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.628, allocations: 0 / 1.258 GB, free: 168.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.416e-05/1.628, allocations: 26.86 kB / 1.258 GB, free: 168.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/1.628, allocations: 27.48 kB / 1.258 GB, free: 168.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3977/2.026, allocations: 210.8 MB / 1.464 GB, free: 185.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/2.026, allocations: 0.7819 MB / 1.465 GB, free: 184.7 MB / 0.4948 GB Notification: Performance of SimCode: time 8.41e-07/2.026, allocations: 0 / 1.465 GB, free: 184.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.0146/2.041, allocations: 12.05 MB / 1.477 GB, free: 184.3 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches