Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.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.Fluid.TestComponents.Vessels.TestVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.portsData.1..diameter|Volume.portsData.1..height|Volume.portsData.1..zeta_out|Volume.portsData.1..zeta_in|Volume.portsData.2..diameter|Volume.portsData.2..height|Volume.portsData.2..zeta_out|Volume.portsData.2..zeta_in|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_internal.1.|Volume.portsData_diameter_internal.2.|Volume.portsData_height_internal.1.|Volume.portsData_height_internal.2.|Volume.portsData_zeta_in_internal.1.|Volume.portsData_zeta_in_internal.2.|Volume.portsData_zeta_out_internal.1.|Volume.portsData_zeta_out_internal.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.|FlowSource.ports.1..m_flow|FlowSource.ports.1..p|FlowSource.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Step1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.portsData.1..diameter|Volume.portsData.1..height|Volume.portsData.1..zeta_out|Volume.portsData.1..zeta_in|Volume.portsData.2..diameter|Volume.portsData.2..height|Volume.portsData.2..zeta_out|Volume.portsData.2..zeta_in|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_internal.1.|Volume.portsData_diameter_internal.2.|Volume.portsData_height_internal.1.|Volume.portsData_height_internal.2.|Volume.portsData_zeta_in_internal.1.|Volume.portsData_zeta_in_internal.2.|Volume.portsData_zeta_out_internal.1.|Volume.portsData_zeta_out_internal.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.|FlowSource.ports.1..m_flow|FlowSource.ports.1..p|FlowSource.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Step1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") [: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.001009/0.001009, allocations: 188 kB / 7.801 MB, free: 2.449 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.189/1.189, 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.0008998/0.0008999, allocations: 97.83 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.1814/0.1814, allocations: 43.48 MB / 352.8 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.392e-06/6.412e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2737, allocations: 58.83 MB / 476.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.198/4.472, allocations: 2.764 GB / 3.229 GB, free: 89.22 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/4.472, allocations: 83.95 kB / 3.229 GB, free: 89.14 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.9822/5.455, allocations: 353.5 MB / 3.575 GB, free: 67.39 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.435e-05/5.455, allocations: 15.31 kB / 3.575 GB, free: 67.39 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.004682/5.459, allocations: 1.663 MB / 3.576 GB, free: 66.62 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/5.459, allocations: 9.594 kB / 3.576 GB, free: 66.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003265/5.463, allocations: 479 kB / 3.577 GB, free: 66.58 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008428/5.463, allocations: 0.5684 MB / 3.577 GB, free: 66.33 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-05/5.464, allocations: 92.28 kB / 3.577 GB, free: 66.27 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.007e-05/5.464, allocations: 33.84 kB / 3.577 GB, free: 66.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001023/5.465, allocations: 0.7454 MB / 3.578 GB, free: 66.27 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/5.466, allocations: 0.8466 MB / 3.579 GB, free: 66.07 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/5.466, allocations: 0.75 kB / 3.579 GB, free: 66.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.325e-05/5.466, allocations: 7.094 kB / 3.579 GB, free: 66.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.36e-05/5.466, allocations: 35 kB / 3.579 GB, free: 66.07 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07049/5.536, allocations: 44.65 MB / 3.623 GB, free: 38.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009321/5.537, allocations: 0.5926 MB / 3.623 GB, free: 38.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004242/5.538, allocations: 309.7 kB / 3.623 GB, free: 38.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0285/5.566, allocations: 16.56 MB / 3.64 GB, free: 27.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/5.566, allocations: 37.81 kB / 3.64 GB, free: 27.15 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=43): time 3.066e-06/5.566, allocations: 0 / 3.64 GB, free: 27.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43): time 0.004718/5.571, allocations: 1.346 MB / 3.641 GB, free: 26.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/5.571, allocations: 108.1 kB / 3.641 GB, free: 26.65 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000591/5.572, allocations: 395.2 kB / 3.641 GB, free: 26.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.759e-05/5.572, allocations: 25.7 kB / 3.641 GB, free: 26.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/5.572, allocations: 294.7 kB / 3.642 GB, free: 26.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/5.572, allocations: 140 kB / 3.642 GB, free: 26.08 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.393e-05/5.572, allocations: 1.219 kB / 3.642 GB, free: 26.08 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.825e-05/5.572, allocations: 369.4 kB / 3.642 GB, free: 25.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004758/5.573, allocations: 315.2 kB / 3.642 GB, free: 25.63 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005342/5.573, allocations: 477.5 kB / 3.643 GB, free: 25.33 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/5.575, allocations: 0.6026 MB / 3.644 GB, free: 25.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/5.575, allocations: 2.281 kB / 3.644 GB, free: 25.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004055/5.579, allocations: 1.547 MB / 3.645 GB, free: 24.74 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/5.579, allocations: 4.156 kB / 3.645 GB, free: 24.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/5.58, allocations: 8.906 kB / 3.645 GB, free: 24.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008638/5.58, allocations: 423 kB / 3.645 GB, free: 24.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004909/5.581, allocations: 136.1 kB / 3.646 GB, free: 24.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/5.583, allocations: 1.925 MB / 3.647 GB, free: 23.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008312/5.584, allocations: 109 kB / 3.648 GB, free: 23.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-05/5.584, allocations: 31.17 kB / 3.648 GB, free: 23.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 9 (Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase,Volume.regularFlow[2],Volume.regularFlow[1],Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * 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 {2 1,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001715/5.584, allocations: 128.9 kB / 3.648 GB, free: 23.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008106/5.585, allocations: 274 kB / 3.648 GB, free: 23.11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004184/5.589, allocations: 2.844 MB / 3.651 GB, free: 22.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-05/5.589, allocations: 26.7 kB / 3.651 GB, free: 22.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/5.589, allocations: 1.219 kB / 3.651 GB, free: 22.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/5.589, allocations: 3.906 kB / 3.651 GB, free: 22.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004774/5.594, allocations: 3.662 MB / 3.654 GB, free: 20.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/5.594, allocations: 0 / 3.654 GB, free: 20.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/5.594, allocations: 67.69 kB / 3.654 GB, free: 20.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001127/5.596, allocations: 0.7262 MB / 3.655 GB, free: 20.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.053e-05/5.596, allocations: 13.12 kB / 3.655 GB, free: 20.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002709/5.598, allocations: 2.338 MB / 3.657 GB, free: 18.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/5.598, allocations: 3.906 kB / 3.657 GB, free: 18.84 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003494/5.602, allocations: 2.38 MB / 3.66 GB, free: 16.75 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004154/5.602, allocations: 289 kB / 3.66 GB, free: 16.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/5.603, allocations: 0 / 3.66 GB, free: 16.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006043/5.603, allocations: 58.3 kB / 3.66 GB, free: 16.45 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/5.603, allocations: 58.5 kB / 3.66 GB, free: 16.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.902e-05/5.603, allocations: 23.94 kB / 3.66 GB, free: 16.39 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0003532/5.604, allocations: 373.5 kB / 3.661 GB, free: 16.06 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004527/5.608, allocations: 1.2 MB / 3.662 GB, free: 14.89 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {2 1,3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.00718/5.615, allocations: 1.734 MB / 3.663 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001825/5.617, allocations: 1.221 MB / 3.665 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/5.617, allocations: 0 / 3.665 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/5.618, allocations: 1.012 MB / 3.666 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/5.62, allocations: 251.7 kB / 3.666 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/5.622, allocations: 1.648 MB / 3.667 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004989/5.622, allocations: 1.135 MB / 3.669 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of SimCode: time 7.21e-07/5.622, allocations: 0 / 3.669 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of Templates: time 0.199/5.821, allocations: 41.43 MB / 3.709 GB, free: 128.3 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestVolume/TestVolume.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches