Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.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.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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001638/0.001638, allocations: 175 kB / 8.146 MB, free: 2.215 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.624/1.624, allocations: 205.2 MB / 213.8 MB, free: 13.92 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.001291/0.00129, allocations: 86.09 kB / 261.8 MB, free: 13.62 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.2564/0.2564, allocations: 43.5 MB / 353.2 MB, free: 2.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.155e-06/8.276e-06, allocations: 0 / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.333, allocations: 58.84 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.52/7.853, allocations: 3.569 GB / 4.035 GB, free: 16.52 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/7.853, allocations: 76.89 kB / 4.035 GB, free: 16.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.6324/8.486, allocations: 106.2 MB / 4.138 GB, free: 118.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.792e-05/8.486, allocations: 4 kB / 4.138 GB, free: 118.1 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.004764/8.491, allocations: 1.143 MB / 4.139 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/8.491, allocations: 8.031 kB / 4.139 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003283/8.491, allocations: 39.61 kB / 4.139 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/8.491, allocations: 254.6 kB / 4.14 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/8.492, allocations: 115.5 kB / 4.14 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.88e-05/8.492, allocations: 24 kB / 4.14 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001762/8.493, allocations: 1.2 MB / 4.141 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009512/8.494, allocations: 0.5255 MB / 4.142 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/8.494, allocations: 3.938 kB / 4.142 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-05/8.494, allocations: 4 kB / 4.142 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.18e-05/8.495, allocations: 28.62 kB / 4.142 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006223/8.501, allocations: 4.31 MB / 4.146 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/8.501, allocations: 115.1 kB / 4.146 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/8.501, allocations: 56.75 kB / 4.146 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003572/8.502, allocations: 355.4 kB / 4.146 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/8.502, allocations: 34.5 kB / 4.146 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 3.166e-06/8.502, allocations: 4 kB / 4.146 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.001708/8.503, allocations: 311.8 kB / 4.147 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/8.503, allocations: 55.34 kB / 4.147 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003465/8.504, allocations: 256.8 kB / 4.147 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/8.504, allocations: 25.7 kB / 4.147 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/8.504, allocations: 336.7 kB / 4.147 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.248e-05/8.504, allocations: 71.09 kB / 4.147 GB, free: 108 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/8.504, allocations: 0 / 4.147 GB, free: 108 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.599e-05/8.504, allocations: 338.7 kB / 4.148 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/8.504, allocations: 93.27 kB / 4.148 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003704/8.505, allocations: 404 kB / 4.148 GB, free: 107 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002238/8.507, allocations: 343.5 kB / 4.148 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/8.507, allocations: 4 kB / 4.148 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.003268/8.51, allocations: 0.6805 MB / 4.149 GB, free: 106 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/8.511, allocations: 4 kB / 4.149 GB, free: 106 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/8.511, allocations: 12 kB / 4.149 GB, free: 106 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.691e-05/8.511, allocations: 16 kB / 4.149 GB, free: 106 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/8.512, allocations: 204.3 kB / 4.149 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007141/8.513, allocations: 1.215 MB / 4.151 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007535/8.513, allocations: 8 kB / 4.151 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001799/8.514, allocations: 87.81 kB / 4.151 GB, free: 104.4 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.0002333/8.514, allocations: 58.98 kB / 4.151 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/8.514, allocations: 31.7 kB / 4.151 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009522/8.515, allocations: 227.5 kB / 4.151 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/8.515, allocations: 4 kB / 4.151 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/8.515, allocations: 0 / 4.151 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/8.515, allocations: 0 / 4.151 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/8.516, allocations: 0.5079 MB / 4.151 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/8.516, allocations: 4 kB / 4.151 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006367/8.517, allocations: 78.73 kB / 4.151 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/8.517, allocations: 0 / 4.151 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/8.517, allocations: 12.05 kB / 4.151 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006229/8.518, allocations: 1.192 MB / 4.153 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/8.518, allocations: 4.062 kB / 4.153 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006667/8.518, allocations: 285.6 kB / 4.153 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002715/8.519, allocations: 160.7 kB / 4.153 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/8.519, allocations: 3.906 kB / 4.153 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005131/8.519, allocations: 15.98 kB / 4.153 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/8.519, allocations: 7.984 kB / 4.153 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.689e-05/8.519, allocations: 11.98 kB / 4.153 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002404/8.52, allocations: 181.2 kB / 4.153 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003112/8.523, allocations: 0.628 MB / 4.154 GB, free: 100.9 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.00541/8.528, allocations: 1.489 MB / 4.155 GB, free: 99.43 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001442/8.53, allocations: 318.2 kB / 4.156 GB, free: 99.12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/8.53, allocations: 4 kB / 4.156 GB, free: 99.12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008174/8.531, allocations: 95.88 kB / 4.156 GB, free: 99.02 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000964/8.532, allocations: 63.98 kB / 4.156 GB, free: 98.96 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3335/8.865, allocations: 60.77 MB / 4.215 GB, free: 37.58 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/8.866, allocations: 0.8972 MB / 4.216 GB, free: 36.66 MB / 0.4948 GB Notification: Performance of SimCode: time 1.172e-06/8.866, allocations: 0 / 4.216 GB, free: 36.66 MB / 0.4948 GB Notification: Performance of Templates: time 0.03688/8.903, allocations: 18.06 MB / 4.234 GB, free: 18.57 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches