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_ph.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_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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002414/0.002413, allocations: 179.9 kB / 8.153 MB, free: 2.203 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.844/1.844, 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.00128/0.00128, allocations: 94.03 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.2613/0.2613, allocations: 43.49 MB / 353.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.227e-06/9.368e-06, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2865, allocations: 58.83 MB / 476.5 MB, free: 5.102 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.512/1.799, allocations: 0.645 GB / 1.11 GB, free: 89.79 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/1.799, allocations: 83.83 kB / 1.11 GB, free: 89.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.5212/2.321, allocations: 108.8 MB / 1.217 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.8e-05/2.321, allocations: 3.969 kB / 1.217 GB, free: 139.6 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.003849/2.325, allocations: 1.071 MB / 1.218 GB, free: 139 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/2.325, allocations: 7.875 kB / 1.218 GB, free: 139 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008746/2.325, allocations: 77.59 kB / 1.218 GB, free: 139 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/2.326, allocations: 247.1 kB / 1.218 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/2.326, allocations: 10.94 kB / 1.218 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.645e-05/2.326, allocations: 13.81 kB / 1.218 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001008/2.327, allocations: 0.5812 MB / 1.219 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006188/2.328, allocations: 354.5 kB / 1.219 GB, free: 138.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/2.328, allocations: 1.5 kB / 1.219 GB, free: 138.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.663e-05/2.328, allocations: 6.062 kB / 1.219 GB, free: 138.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/2.328, allocations: 6.75 kB / 1.219 GB, free: 138.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0857/2.413, allocations: 29.31 MB / 1.248 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/2.414, allocations: 38.41 kB / 1.248 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.319e-05/2.414, allocations: 16.45 kB / 1.248 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01482/2.428, allocations: 3.564 MB / 1.251 GB, free: 118.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002193/2.429, allocations: 82.66 kB / 1.251 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 2.816e-06/2.429, allocations: 3.625 kB / 1.251 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.000988/2.43, allocations: 161.6 kB / 1.251 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/2.43, allocations: 51.41 kB / 1.251 GB, free: 118.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/2.43, allocations: 222.4 kB / 1.252 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/2.43, allocations: 25.7 kB / 1.252 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/2.43, allocations: 320 kB / 1.252 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/2.43, allocations: 29.53 kB / 1.252 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/2.43, allocations: 0 / 1.252 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.166e-05/2.43, allocations: 333.7 kB / 1.252 GB, free: 118 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/2.431, allocations: 54.7 kB / 1.252 GB, free: 118 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/2.431, allocations: 296.8 kB / 1.253 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002092/2.433, allocations: 208.8 kB / 1.253 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/2.433, allocations: 3.594 kB / 1.253 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003328/2.436, allocations: 0.5571 MB / 1.253 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/2.436, allocations: 7.719 kB / 1.253 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/2.436, allocations: 7.812 kB / 1.253 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.36e-05/2.436, allocations: 13.81 kB / 1.253 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005876/2.437, allocations: 110.4 kB / 1.254 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/2.437, allocations: 19.55 kB / 1.254 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003888/2.437, allocations: 34.5 kB / 1.254 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.461e-05/2.438, allocations: 31.09 kB / 1.254 GB, free: 117.6 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 0.0001043/2.438, allocations: 49.73 kB / 1.254 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004319/2.438, allocations: 89 kB / 1.254 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005246/2.439, allocations: 151.6 kB / 1.254 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/2.439, allocations: 3.938 kB / 1.254 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/2.439, allocations: 0 / 1.254 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/2.439, allocations: 7.812 kB / 1.254 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008465/2.447, allocations: 2.327 MB / 1.256 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/2.447, allocations: 0 / 1.256 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.158e-05/2.447, allocations: 7.375 kB / 1.256 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/2.447, allocations: 2.719 kB / 1.256 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/2.447, allocations: 3.906 kB / 1.256 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/2.447, allocations: 6.062 kB / 1.256 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/2.447, allocations: 7.516 kB / 1.256 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000751/2.448, allocations: 322.4 kB / 1.257 GB, free: 116 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/2.448, allocations: 149.9 kB / 1.257 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.542e-05/2.448, allocations: 7.844 kB / 1.257 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003504/2.449, allocations: 18.59 kB / 1.257 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.156e-05/2.449, allocations: 10.56 kB / 1.257 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/2.449, allocations: 7.672 kB / 1.257 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002141/2.449, allocations: 177.7 kB / 1.257 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002068/2.451, allocations: 433.2 kB / 1.257 GB, free: 115.7 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.003583/2.455, allocations: 0.8572 MB / 1.258 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005207/2.455, allocations: 166.2 kB / 1.258 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/2.455, allocations: 0 / 1.258 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.583e-05/2.455, allocations: 28.38 kB / 1.258 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004608/2.456, allocations: 27.47 kB / 1.258 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6852/3.141, allocations: 210.9 MB / 1.464 GB, free: 176.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003421/3.142, allocations: 0.7862 MB / 1.465 GB, free: 175.3 MB / 0.4948 GB Notification: Performance of SimCode: time 2.455e-06/3.142, allocations: 0 / 1.465 GB, free: 175.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.02116/3.163, allocations: 10.33 MB / 1.475 GB, free: 169.1 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches