Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.1.|volume.ports.1..m_flow|volume.ports.1..p|volume.ports.1..h_outflow|volume.ports.2..m_flow|volume.ports.2..p|volume.ports.2..h_outflow|volume.ports_H_flow.1.|volume.ports_H_flow.2.|volume.ports_E_flow.1.|volume.ports_E_flow.2.|volume.ports_penetration.1.|volume.ports_penetration.2.|volume.portsData_diameter.1.|volume.portsData_diameter.2.|volume.portsData_height.1.|volume.portsData_height.2.|volume.portsData_zeta_in.1.|volume.portsData_zeta_in.2.|volume.portsData_zeta_out.1.|volume.portsData_zeta_out.2.|fixedMassFlowRate.ports.1..m_flow|fixedMassFlowRate.ports.1..p|fixedMassFlowRate.ports.1..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.1.|volume.ports.1..m_flow|volume.ports.1..p|volume.ports.1..h_outflow|volume.ports.2..m_flow|volume.ports.2..p|volume.ports.2..h_outflow|volume.ports_H_flow.1.|volume.ports_H_flow.2.|volume.ports_E_flow.1.|volume.ports_E_flow.2.|volume.ports_penetration.1.|volume.ports_penetration.2.|volume.portsData_diameter.1.|volume.portsData_diameter.2.|volume.portsData_height.1.|volume.portsData_height.2.|volume.portsData_zeta_in.1.|volume.portsData_zeta_in.2.|volume.portsData_zeta_out.1.|volume.portsData_zeta_out.2.|fixedMassFlowRate.ports.1..m_flow|fixedMassFlowRate.ports.1..p|fixedMassFlowRate.ports.1..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650") [: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.002335/0.002334, allocations: 174.3 kB / 8.148 MB, free: 2.207 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.652/1.652, 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.001271/0.001271, allocations: 99.12 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.258/0.258, allocations: 43.5 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.204e-06/7.293e-06, allocations: 0 / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2673, allocations: 58.84 MB / 476.6 MB, free: 5.098 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5699/0.8372, allocations: 240 MB / 0.6997 GB, free: 94.23 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.8376, allocations: 105.6 kB / 0.6998 GB, free: 94.18 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.644/2.481, allocations: 404 MB / 1.094 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.396e-05/2.482, allocations: 19.06 kB / 1.094 GB, free: 105.5 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.005191/2.487, allocations: 1.557 MB / 1.096 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/2.487, allocations: 7.75 kB / 1.096 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00186/2.489, allocations: 164.6 kB / 1.096 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001982/2.491, allocations: 0.6185 MB / 1.097 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/2.491, allocations: 86.58 kB / 1.097 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/2.491, allocations: 31.22 kB / 1.097 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001446/2.492, allocations: 0.5263 MB / 1.097 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/2.494, allocations: 0.7778 MB / 1.098 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.131e-05/2.494, allocations: 7.594 kB / 1.098 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/2.494, allocations: 3.688 kB / 1.098 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-05/2.494, allocations: 42.16 kB / 1.098 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007156/2.502, allocations: 4.496 MB / 1.102 GB, free: 101 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006491/2.502, allocations: 272.3 kB / 1.103 GB, free: 101 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003403/2.503, allocations: 133.4 kB / 1.103 GB, free: 101 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003659/2.503, allocations: 361.4 kB / 1.103 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/2.503, allocations: 44.56 kB / 1.103 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 3.226e-06/2.503, allocations: 0 / 1.103 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36): time 0.006824/2.51, allocations: 1.427 MB / 1.105 GB, free: 100 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/2.51, allocations: 139.7 kB / 1.105 GB, free: 99.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008883/2.511, allocations: 474.3 kB / 1.105 GB, free: 99.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.475e-05/2.511, allocations: 26.92 kB / 1.105 GB, free: 99.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/2.511, allocations: 378.9 kB / 1.106 GB, free: 99.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/2.511, allocations: 129.2 kB / 1.106 GB, free: 99.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.589e-05/2.511, allocations: 0 / 1.106 GB, free: 99.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.282e-05/2.511, allocations: 340.6 kB / 1.106 GB, free: 99.01 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005308/2.512, allocations: 196.2 kB / 1.106 GB, free: 99.01 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007114/2.513, allocations: 488.9 kB / 1.107 GB, free: 98.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002045/2.515, allocations: 377.1 kB / 1.107 GB, free: 98.63 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/2.515, allocations: 2.375 kB / 1.107 GB, free: 98.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003721/2.519, allocations: 0.8528 MB / 1.108 GB, free: 98.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/2.519, allocations: 4.938 kB / 1.108 GB, free: 98.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.487e-05/2.519, allocations: 12.86 kB / 1.108 GB, free: 98.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001371/2.52, allocations: 224.8 kB / 1.108 GB, free: 98.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009467/2.521, allocations: 141.1 kB / 1.108 GB, free: 98.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002219/2.523, allocations: 1.456 MB / 1.11 GB, free: 97.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008544/2.524, allocations: 21.69 kB / 1.11 GB, free: 97.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/2.524, allocations: 83.14 kB / 1.11 GB, free: 97.44 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002383/2.525, allocations: 61.61 kB / 1.11 GB, free: 97.39 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002744/2.525, allocations: 58.56 kB / 1.11 GB, free: 97.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00576/2.531, allocations: 1.291 MB / 1.111 GB, free: 97.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.215e-05/2.531, allocations: 13.62 kB / 1.111 GB, free: 97.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/2.531, allocations: 3.438 kB / 1.111 GB, free: 97.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/2.531, allocations: 3.25 kB / 1.111 GB, free: 97.25 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004754/2.536, allocations: 1.454 MB / 1.113 GB, free: 96.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/2.536, allocations: 8.719 kB / 1.113 GB, free: 96.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000388/2.536, allocations: 46.91 kB / 1.113 GB, free: 96.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009149/2.537, allocations: 162.1 kB / 1.113 GB, free: 96.74 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-05/2.537, allocations: 10.03 kB / 1.113 GB, free: 96.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/2.539, allocations: 1.368 MB / 1.114 GB, free: 95.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.764e-06/2.539, allocations: 96 / 1.114 GB, free: 95.59 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003611/2.543, allocations: 1.132 MB / 1.115 GB, free: 95.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006416/2.543, allocations: 222.3 kB / 1.115 GB, free: 94.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001835/2.543, allocations: 1.781 kB / 1.115 GB, free: 94.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008182/2.544, allocations: 17.69 kB / 1.116 GB, free: 94.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/2.544, allocations: 28.28 kB / 1.116 GB, free: 94.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/2.545, allocations: 39.5 kB / 1.116 GB, free: 94.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0007136/2.545, allocations: 340.5 kB / 1.116 GB, free: 94.76 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003099/2.548, allocations: 0.5826 MB / 1.116 GB, free: 94.61 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 26 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003201/2.552, allocations: 0.769 MB / 1.117 GB, free: 94.36 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001921/2.554, allocations: 0.5767 MB / 1.118 GB, free: 94.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/2.554, allocations: 1.594 kB / 1.118 GB, free: 94.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009219/2.555, allocations: 299.7 kB / 1.118 GB, free: 94.12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002388/2.557, allocations: 239.1 kB / 1.118 GB, free: 94.06 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05668/2.614, allocations: 17.14 MB / 1.135 GB, free: 86.69 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/2.615, allocations: 1.101 MB / 1.136 GB, free: 85.61 MB / 0.4948 GB Notification: Performance of SimCode: time 1.253e-06/2.615, allocations: 7.594 kB / 1.136 GB, free: 85.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.03861/2.654, allocations: 22.3 MB / 1.158 GB, free: 63.77 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Essotherm650/Essotherm650.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches