Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.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.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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001242/0.001242, allocations: 183.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.27/1.27, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008393/0.0008393, allocations: 85.14 kB / 267 MB, free: 9.285 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.3365/0.3365, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.131e-05/3.134e-05, allocations: 7.984 kB / 425.3 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1243, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.859/0.9834, allocations: 321 MB / 0.7863 GB, free: 88.82 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.9837, allocations: 83.97 kB / 0.7864 GB, free: 88.77 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.5685/1.552, allocations: 165.1 MB / 0.9476 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.355e-06/1.552, allocations: 0 / 0.9476 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.399e-05/1.552, allocations: 27.47 kB / 0.9477 GB, free: 104.7 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002351/1.555, allocations: 1.036 MB / 0.9487 GB, free: 104 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/1.555, allocations: 7.906 kB / 0.9487 GB, free: 104 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003398/1.555, allocations: 103.5 kB / 0.9488 GB, free: 104 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009698/1.556, allocations: 0.6161 MB / 0.9494 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/1.556, allocations: 36.34 kB / 0.9494 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/1.556, allocations: 51.97 kB / 0.9495 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/1.557, allocations: 0.7599 MB / 0.9502 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/1.557, allocations: 3.938 kB / 0.9502 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.505e-05/1.557, allocations: 27.81 kB / 0.9502 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.502e-05/1.557, allocations: 28.48 kB / 0.9503 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009364/1.558, allocations: 0.6537 MB / 0.9509 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003996/1.562, allocations: 3.289 MB / 0.9541 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007591/1.563, allocations: 403.6 kB / 0.9545 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003956/1.564, allocations: 257.1 kB / 0.9547 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003197/1.564, allocations: 0.5799 MB / 0.9553 GB, free: 99.65 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/1.564, allocations: 42.45 kB / 0.9554 GB, free: 99.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000569/1.565, allocations: 127.3 kB / 0.9555 GB, free: 99.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=45): time 3.367e-06/1.565, allocations: 0 / 0.9555 GB, free: 99.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71): time 0.03338/1.598, allocations: 6.133 MB / 0.9615 GB, free: 97.87 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/1.598, allocations: 111.4 kB / 0.9616 GB, free: 97.74 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006422/1.599, allocations: 0.55 MB / 0.9621 GB, free: 97.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.234e-05/1.599, allocations: 41.67 kB / 0.9621 GB, free: 97.44 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/1.599, allocations: 356.3 kB / 0.9625 GB, free: 97.15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/1.599, allocations: 248 kB / 0.9627 GB, free: 96.96 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/1.599, allocations: 15.84 kB / 0.9627 GB, free: 96.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.555e-05/1.599, allocations: 386 kB / 0.9631 GB, free: 96.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004886/1.6, allocations: 338.3 kB / 0.9634 GB, free: 96.47 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005709/1.6, allocations: 0.5195 MB / 0.9639 GB, free: 96.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006164/1.601, allocations: 401.7 kB / 0.9643 GB, free: 95.94 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/1.601, allocations: 3.953 kB / 0.9643 GB, free: 95.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001997/1.603, allocations: 1.166 MB / 0.9655 GB, free: 95.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005337/1.604, allocations: 2.004 MB / 0.9674 GB, free: 93.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/1.604, allocations: 9.953 kB / 0.9674 GB, free: 93.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00609/1.61, allocations: 1.189 MB / 0.9686 GB, free: 93.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009656/1.611, allocations: 241.7 kB / 0.9688 GB, free: 93.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001879/1.613, allocations: 1.6 MB / 0.9704 GB, free: 91.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/1.614, allocations: 114.3 kB / 0.9705 GB, free: 91.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/1.614, allocations: 67.27 kB / 0.9706 GB, free: 91.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/1.614, allocations: 3.75 kB / 0.9706 GB, free: 91.86 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002124/1.616, allocations: 1.088 MB / 0.9716 GB, free: 91.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/1.616, allocations: 3.406 kB / 0.9716 GB, free: 91.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001689/1.618, allocations: 401 kB / 0.972 GB, free: 91.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009275/1.619, allocations: 259 kB / 0.9723 GB, free: 91.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/1.621, allocations: 2.679 MB / 0.9749 GB, free: 89.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/1.622, allocations: 114.1 kB / 0.975 GB, free: 89.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.62e-05/1.623, allocations: 60.97 kB / 0.975 GB, free: 89.08 MB / 0.4948 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 () * 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.0002547/1.623, allocations: 151.4 kB / 0.9752 GB, free: 88.94 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/1.623, allocations: 78.72 kB / 0.9753 GB, free: 88.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002897/1.626, allocations: 1.503 MB / 0.9767 GB, free: 88.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/1.626, allocations: 14.81 kB / 0.9767 GB, free: 88.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/1.626, allocations: 0 / 0.9767 GB, free: 88.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/1.626, allocations: 7.312 kB / 0.9767 GB, free: 88.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004456/1.63, allocations: 2.53 MB / 0.9792 GB, free: 87.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/1.63, allocations: 0 / 0.9792 GB, free: 87.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007393/1.631, allocations: 185.1 kB / 0.9794 GB, free: 87.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005463/1.637, allocations: 1.222 MB / 0.9806 GB, free: 87.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.551e-05/1.637, allocations: 31.11 kB / 0.9806 GB, free: 87.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/1.638, allocations: 1.502 MB / 0.9821 GB, free: 85.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.638, allocations: 80 / 0.9821 GB, free: 85.79 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002836/1.641, allocations: 1.744 MB / 0.9838 GB, free: 84.98 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004361/1.641, allocations: 273.9 kB / 0.984 GB, free: 84.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/1.641, allocations: 19.78 kB / 0.9841 GB, free: 84.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008322/1.642, allocations: 122.4 kB / 0.9842 GB, free: 84.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/1.642, allocations: 60.7 kB / 0.9842 GB, free: 84.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.017e-05/1.642, allocations: 46.73 kB / 0.9843 GB, free: 84.73 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004497/1.643, allocations: 433.5 kB / 0.9847 GB, free: 84.54 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/1.643, allocations: 0 / 0.9847 GB, free: 84.54 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001841/1.645, allocations: 0.6983 MB / 0.9854 GB, free: 84.4 MB / 0.4948 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 (64): * Single equations (assignments): 58 * 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.001178/1.646, allocations: 0.5957 MB / 0.986 GB, free: 84.15 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003306/1.649, allocations: 1.664 MB / 0.9876 GB, free: 83.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.649, allocations: 4.062 kB / 0.9876 GB, free: 83.47 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007764/1.65, allocations: 0.5028 MB / 0.9881 GB, free: 83.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/1.652, allocations: 363.7 kB / 0.9884 GB, free: 83.19 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/1.654, allocations: 1.212 MB / 0.9896 GB, free: 82.63 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/1.654, allocations: 0.996 MB / 0.9906 GB, free: 81.79 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00109/1.655, allocations: 298.9 kB / 0.9909 GB, free: 81.64 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002879/1.655, allocations: 92.2 kB / 0.991 GB, free: 81.61 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/1.655, allocations: 0 / 0.991 GB, free: 81.61 MB / 0.4948 GB Notification: Performance of Templates: time 0.03397/1.689, allocations: 28.71 MB / 1.019 GB, free: 53.48 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpRecirculation/TestWaterPumpRecirculation.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches