Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.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.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir") translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir") [: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.0009457/0.0009457, allocations: 181.7 kB / 7.8 MB, free: 2.125 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.053/1.053, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.0009391/0.0009391, allocations: 85.41 kB / 261.4 MB, free: 13.62 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.1608/0.1608, allocations: 43.48 MB / 352.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.52e-06/5.53e-06, allocations: 0 / 417.7 MB, free: 40.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2318, allocations: 58.83 MB / 476.5 MB, free: 5.223 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.057/5.288, allocations: 3.569 GB / 4.035 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/5.289, allocations: 83.19 kB / 4.035 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.4174/5.706, allocations: 106.2 MB / 4.138 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.48e-05/5.706, allocations: 4 kB / 4.138 GB, free: 115.2 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.003735/5.71, allocations: 1.145 MB / 4.139 GB, free: 114 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/5.71, allocations: 8.031 kB / 4.139 GB, free: 114 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/5.71, allocations: 39.56 kB / 4.139 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/5.71, allocations: 254.6 kB / 4.14 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-05/5.71, allocations: 119.5 kB / 4.14 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/5.711, allocations: 16 kB / 4.14 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000997/5.712, allocations: 1.207 MB / 4.141 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005265/5.712, allocations: 0.5242 MB / 4.142 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/5.712, allocations: 0 / 4.142 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.574e-05/5.712, allocations: 0 / 4.142 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.155e-05/5.712, allocations: 32.58 kB / 4.142 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003624/5.716, allocations: 4.309 MB / 4.146 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/5.716, allocations: 119.1 kB / 4.146 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.773e-05/5.716, allocations: 44.77 kB / 4.146 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/5.716, allocations: 360.4 kB / 4.146 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/5.716, allocations: 38.56 kB / 4.146 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.362e-06/5.716, allocations: 0 / 4.146 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.0009826/5.717, allocations: 300.3 kB / 4.147 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.066e-05/5.717, allocations: 55.41 kB / 4.147 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/5.718, allocations: 256.7 kB / 4.147 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/5.718, allocations: 29.7 kB / 4.147 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.146e-05/5.718, allocations: 266.2 kB / 4.147 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/5.718, allocations: 71.09 kB / 4.147 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/5.718, allocations: 4 kB / 4.147 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.88e-05/5.718, allocations: 334.7 kB / 4.148 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/5.718, allocations: 97.27 kB / 4.148 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/5.718, allocations: 396.1 kB / 4.148 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/5.719, allocations: 351.4 kB / 4.148 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/5.719, allocations: 4 kB / 4.148 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001629/5.721, allocations: 0.6732 MB / 4.149 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/5.721, allocations: 7.938 kB / 4.149 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/5.721, allocations: 12 kB / 4.149 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/5.721, allocations: 16 kB / 4.149 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000677/5.722, allocations: 211.7 kB / 4.149 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004527/5.722, allocations: 1.211 MB / 4.15 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004292/5.723, allocations: 15.91 kB / 4.15 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.574e-05/5.723, allocations: 88.03 kB / 4.151 GB, free: 101.6 MB / 0.4948 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: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * Array equations: 1 * 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.0001507/5.723, allocations: 137.9 kB / 4.151 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.538e-05/5.723, allocations: 31.8 kB / 4.151 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004963/5.724, allocations: 235.8 kB / 4.151 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/5.724, allocations: 4 kB / 4.151 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/5.724, allocations: 0 / 4.151 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/5.724, allocations: 0 / 4.151 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005796/5.724, allocations: 0.5074 MB / 4.151 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/5.724, allocations: 4 kB / 4.151 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/5.725, allocations: 75.86 kB / 4.152 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/5.725, allocations: 0 / 4.152 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/5.725, allocations: 8.016 kB / 4.152 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003898/5.725, allocations: 1.192 MB / 4.153 GB, free: 99.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/5.725, allocations: 0 / 4.153 GB, free: 99.27 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003165/5.725, allocations: 285.8 kB / 4.153 GB, free: 98.97 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/5.726, allocations: 164.6 kB / 4.153 GB, free: 98.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.912e-05/5.726, allocations: 0 / 4.153 GB, free: 98.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/5.726, allocations: 11.98 kB / 4.153 GB, free: 98.78 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/5.726, allocations: 11.98 kB / 4.153 GB, free: 98.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/5.726, allocations: 11.98 kB / 4.153 GB, free: 98.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001262/5.726, allocations: 185.2 kB / 4.153 GB, free: 98.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002161/5.728, allocations: 0.6203 MB / 4.154 GB, free: 97.95 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.002489/5.731, allocations: 1.479 MB / 4.155 GB, free: 96.46 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006678/5.731, allocations: 322 kB / 4.156 GB, free: 96.15 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/5.731, allocations: 0 / 4.156 GB, free: 96.15 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002997/5.732, allocations: 103.9 kB / 4.156 GB, free: 96.05 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/5.732, allocations: 44.38 kB / 4.156 GB, free: 96.01 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.205/5.937, allocations: 60.78 MB / 4.215 GB, free: 34.62 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000681/5.938, allocations: 0.8933 MB / 4.216 GB, free: 33.7 MB / 0.4948 GB Notification: Performance of SimCode: time 9.51e-07/5.938, allocations: 0 / 4.216 GB, free: 33.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.02335/5.961, allocations: 19.09 MB / 4.235 GB, free: 14.61 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches