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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 91.09 kB / 292.2 MB, free: 10.91 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.3751/0.3751, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003597, allocations: 8 kB / 459.9 MB, free: 1.504 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.375, allocations: 61.9 MB / 0.5096 GB, free: 38.06 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5785/0.9536, allocations: 322.5 MB / 0.8245 GB, free: 7.047 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.9539, allocations: 95.42 kB / 0.8246 GB, free: 6.996 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6076/1.561, allocations: 169.2 MB / 0.9898 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.254e-06/1.561, allocations: 8 kB / 0.9898 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.154e-05/1.562, allocations: 16.12 kB / 0.9898 GB, free: 109.9 MB / 0.5261 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.003546/1.565, allocations: 1.142 MB / 0.9909 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/1.565, allocations: 8.031 kB / 0.9909 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006065/1.566, allocations: 98.95 kB / 0.991 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/1.567, allocations: 0.6175 MB / 0.9916 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.187e-05/1.567, allocations: 53.27 kB / 0.9917 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/1.567, allocations: 51.98 kB / 0.9917 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/1.569, allocations: 0.8369 MB / 0.9926 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/1.569, allocations: 3.938 kB / 0.9926 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.079e-05/1.569, allocations: 28 kB / 0.9926 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.052e-05/1.569, allocations: 20.98 kB / 0.9926 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/1.57, allocations: 0.7923 MB / 0.9934 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004107/1.575, allocations: 3.281 MB / 0.9966 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009948/1.576, allocations: 0.4921 MB / 0.9971 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002891/1.576, allocations: 0.5704 MB / 0.9976 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/1.576, allocations: 40.44 kB / 0.9977 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007135/1.577, allocations: 135.3 kB / 0.9978 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 6.001e-06/1.577, allocations: 3.938 kB / 0.9978 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71): time 0.04084/1.618, allocations: 7.579 MB / 1.005 GB, free: 93.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/1.618, allocations: 111.5 kB / 1.005 GB, free: 93.36 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000781/1.618, allocations: 0.5465 MB / 1.006 GB, free: 92.81 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001484/1.619, allocations: 41.7 kB / 1.006 GB, free: 92.76 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000201/1.619, allocations: 352.2 kB / 1.006 GB, free: 92.41 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/1.619, allocations: 260.2 kB / 1.006 GB, free: 92.16 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.627e-05/1.619, allocations: 16 kB / 1.006 GB, free: 92.14 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001128/1.619, allocations: 386.8 kB / 1.007 GB, free: 91.75 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/1.62, allocations: 0.4899 MB / 1.007 GB, free: 91.27 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/1.621, allocations: 0.6794 MB / 1.008 GB, free: 90.51 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/1.623, allocations: 0.5497 MB / 1.009 GB, free: 89.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/1.623, allocations: 4 kB / 1.009 GB, free: 89.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.0034/1.626, allocations: 1.505 MB / 1.01 GB, free: 88.44 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003537/1.627, allocations: 2.013 MB / 1.012 GB, free: 86.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/1.627, allocations: 8 kB / 1.012 GB, free: 86.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006726/1.633, allocations: 1.221 MB / 1.013 GB, free: 85.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/1.634, allocations: 243.6 kB / 1.013 GB, free: 84.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/1.637, allocations: 1.651 MB / 1.015 GB, free: 83.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/1.638, allocations: 127.8 kB / 1.015 GB, free: 82.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001778/1.638, allocations: 59.94 kB / 1.015 GB, free: 82.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/1.638, allocations: 4 kB / 1.015 GB, free: 82.91 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003532/1.642, allocations: 1.422 MB / 1.017 GB, free: 81.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/1.642, allocations: 4.406 kB / 1.017 GB, free: 81.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002001/1.644, allocations: 453.1 kB / 1.017 GB, free: 81.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/1.645, allocations: 251.6 kB / 1.017 GB, free: 80.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003162/1.648, allocations: 2.75 MB / 1.02 GB, free: 77.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/1.649, allocations: 127.9 kB / 1.02 GB, free: 77.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/1.649, allocations: 51.95 kB / 1.02 GB, free: 77.69 MB / 0.5261 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * 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.0005259/1.65, allocations: 296.9 kB / 1.02 GB, free: 77.39 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002214/1.65, allocations: 82.97 kB / 1.02 GB, free: 77.31 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004246/1.654, allocations: 1.854 MB / 1.022 GB, free: 75.43 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/1.654, allocations: 12 kB / 1.022 GB, free: 75.42 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.654, allocations: 4 kB / 1.022 GB, free: 75.42 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/1.654, allocations: 7.969 kB / 1.022 GB, free: 75.41 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006073/1.661, allocations: 2.846 MB / 1.025 GB, free: 72.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/1.661, allocations: 4 kB / 1.025 GB, free: 72.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007675/1.661, allocations: 183.7 kB / 1.025 GB, free: 72.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006029/1.667, allocations: 1.28 MB / 1.027 GB, free: 71.04 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001408/1.668, allocations: 31.97 kB / 1.027 GB, free: 71.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001506/1.669, allocations: 1.581 MB / 1.028 GB, free: 69.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.669, allocations: 0 / 1.028 GB, free: 69.38 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004867/1.674, allocations: 2.267 MB / 1.03 GB, free: 67.08 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007194/1.675, allocations: 279.7 kB / 1.031 GB, free: 66.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002277/1.675, allocations: 16 kB / 1.031 GB, free: 66.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/1.676, allocations: 115.9 kB / 1.031 GB, free: 66.66 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/1.676, allocations: 60.91 kB / 1.031 GB, free: 66.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.951e-05/1.676, allocations: 39.95 kB / 1.031 GB, free: 66.56 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005669/1.677, allocations: 447 kB / 1.031 GB, free: 66.13 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/1.677, allocations: 0 / 1.031 GB, free: 66.13 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00251/1.679, allocations: 0.7104 MB / 1.032 GB, free: 65.42 MB / 0.5261 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * 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 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.001746/1.681, allocations: 0.5971 MB / 1.032 GB, free: 64.83 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005569/1.687, allocations: 2.153 MB / 1.035 GB, free: 62.66 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/1.687, allocations: 0 / 1.035 GB, free: 62.66 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001465/1.688, allocations: 0.6766 MB / 1.035 GB, free: 61.98 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/1.69, allocations: 360.2 kB / 1.036 GB, free: 61.64 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/1.693, allocations: 2.029 MB / 1.038 GB, free: 59.58 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/1.694, allocations: 0.997 MB / 1.039 GB, free: 58.55 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001202/1.695, allocations: 258.4 kB / 1.039 GB, free: 58.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003381/1.695, allocations: 99.3 kB / 1.039 GB, free: 58.21 MB / 0.5261 GB Notification: Performance of SimCode: time 8.52e-07/1.695, allocations: 0 / 1.039 GB, free: 58.21 MB / 0.5261 GB Notification: Performance of Templates: time 0.03686/1.732, allocations: 27.41 MB / 1.066 GB, free: 30.98 MB / 0.5261 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