Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.T|N_pump.y|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V1_Opening.y|V2_Opening.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.T|N_pump.y|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V1_Opening.y|V2_Opening.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") [: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 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 181 kB / 8.518 MB, free: 1.848 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 221.4 MB / 230.3 MB, free: 7.648 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008845/0.0008845, allocations: 82.62 kB / 281.2 MB, free: 5.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1877/0.1877, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.285e-06/8.496e-06, allocations: 224 / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1374, allocations: 61.9 MB / 0.4941 GB, free: 1.641 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8031/0.9405, allocations: 321.7 MB / 0.8083 GB, free: 67.41 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.9409, allocations: 82.73 kB / 0.8083 GB, free: 67.37 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.5863/1.527, allocations: 168.4 MB / 0.9728 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.49e-05/1.527, allocations: 20 kB / 0.9728 GB, free: 120.1 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002567/1.53, allocations: 1.08 MB / 0.9739 GB, free: 119 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/1.53, allocations: 11.97 kB / 0.9739 GB, free: 119 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003613/1.53, allocations: 103 kB / 0.974 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/1.531, allocations: 0.6125 MB / 0.9746 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/1.531, allocations: 20 kB / 0.9746 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.391e-05/1.531, allocations: 31.94 kB / 0.9746 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00092/1.532, allocations: 0.6195 MB / 0.9752 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008621/1.533, allocations: 0.6703 MB / 0.9759 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/1.533, allocations: 0 / 0.9759 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-05/1.533, allocations: 4 kB / 0.9759 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.182e-05/1.533, allocations: 20.94 kB / 0.9759 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003693/1.537, allocations: 3.159 MB / 0.979 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006834/1.538, allocations: 380.5 kB / 0.9793 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003937/1.538, allocations: 245.5 kB / 0.9796 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002972/1.539, allocations: 0.579 MB / 0.9801 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/1.539, allocations: 42.56 kB / 0.9802 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=45): time 2.695e-06/1.539, allocations: 0 / 0.9802 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=63): time 0.03202/1.571, allocations: 5.265 MB / 0.9853 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/1.571, allocations: 111.5 kB / 0.9854 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005739/1.571, allocations: 463.2 kB / 0.9859 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.763e-05/1.571, allocations: 25.7 kB / 0.9859 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/1.572, allocations: 291.7 kB / 0.9862 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/1.572, allocations: 212.8 kB / 0.9864 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-05/1.572, allocations: 0 / 0.9864 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001014/1.572, allocations: 374.8 kB / 0.9867 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004085/1.572, allocations: 281.5 kB / 0.987 GB, free: 105 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004741/1.573, allocations: 456.3 kB / 0.9874 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003126/1.576, allocations: 0.7015 MB / 0.9881 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/1.576, allocations: 4 kB / 0.9881 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004295/1.58, allocations: 1.383 MB / 0.9895 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003666/1.581, allocations: 2.004 MB / 0.9914 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/1.581, allocations: 4 kB / 0.9914 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004372/1.585, allocations: 0.7572 MB / 0.9922 GB, free: 99.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007993/1.586, allocations: 207.7 kB / 0.9924 GB, free: 99.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00439/1.59, allocations: 1.945 MB / 0.9943 GB, free: 97.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/1.591, allocations: 111.9 kB / 0.9944 GB, free: 97.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/1.592, allocations: 55.95 kB / 0.9944 GB, free: 97.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/1.592, allocations: 4 kB / 0.9944 GB, free: 97.07 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004163/1.596, allocations: 1.088 MB / 0.9955 GB, free: 95.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/1.596, allocations: 8.406 kB / 0.9955 GB, free: 95.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001603/1.597, allocations: 289.4 kB / 0.9958 GB, free: 95.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008287/1.598, allocations: 223.7 kB / 0.996 GB, free: 95.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006524/1.605, allocations: 4.597 MB / 1 GB, free: 90.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/1.606, allocations: 87.89 kB / 1.001 GB, free: 90.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-05/1.606, allocations: 47.97 kB / 1.001 GB, free: 90.43 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * 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 10,3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003432/1.606, allocations: 124.7 kB / 1.001 GB, free: 90.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/1.606, allocations: 83.05 kB / 1.001 GB, free: 90.22 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003843/1.61, allocations: 1.531 MB / 1.002 GB, free: 88.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/1.61, allocations: 12 kB / 1.002 GB, free: 88.67 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/1.61, allocations: 0 / 1.002 GB, free: 88.67 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/1.61, allocations: 7.984 kB / 1.002 GB, free: 88.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004886/1.615, allocations: 2.226 MB / 1.005 GB, free: 86.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/1.615, allocations: 0 / 1.005 GB, free: 86.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006223/1.616, allocations: 163.8 kB / 1.005 GB, free: 86.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001904/1.618, allocations: 0.4932 MB / 1.005 GB, free: 85.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.613e-05/1.618, allocations: 15.98 kB / 1.005 GB, free: 85.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/1.62, allocations: 1.635 MB / 1.007 GB, free: 84.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.62, allocations: 4.062 kB / 1.007 GB, free: 84.05 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003609/1.623, allocations: 1.634 MB / 1.008 GB, free: 82.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004292/1.624, allocations: 244 kB / 1.009 GB, free: 82.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/1.624, allocations: 7.906 kB / 1.009 GB, free: 82.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008803/1.625, allocations: 87.97 kB / 1.009 GB, free: 82.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/1.625, allocations: 60.72 kB / 1.009 GB, free: 81.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/1.625, allocations: 43.95 kB / 1.009 GB, free: 81.94 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0004233/1.625, allocations: 359.1 kB / 1.009 GB, free: 81.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002312/1.628, allocations: 0.6119 MB / 1.01 GB, free: 80.98 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 6,3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001974/1.63, allocations: 0.5465 MB / 1.01 GB, free: 80.47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0044/1.634, allocations: 1.415 MB / 1.012 GB, free: 79.04 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/1.634, allocations: 0 / 1.012 GB, free: 79.04 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007158/1.635, allocations: 414.5 kB / 1.012 GB, free: 78.63 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/1.636, allocations: 283.7 kB / 1.012 GB, free: 78.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002787/1.639, allocations: 1.152 MB / 1.013 GB, free: 77.19 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006827/1.64, allocations: 1.078 MB / 1.014 GB, free: 76.08 MB / 0.5105 GB Notification: Performance of SimCode: time 1.262e-06/1.64, allocations: 0 / 1.014 GB, free: 76.08 MB / 0.5105 GB Notification: Performance of Templates: time 0.03835/1.678, allocations: 28.38 MB / 1.042 GB, free: 47.88 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpRecirculation/TestWaterPumpRecirculation.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches