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.001223/0.001223, allocations: 176.7 kB / 8.008 MB, free: 1.066 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.555/1.555, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008743/0.0008743, allocations: 82.23 kB / 261.7 MB, free: 1.684 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.2139/0.2139, allocations: 43.5 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.802e-05/1.805e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1366, allocations: 58.86 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8966/1.033, allocations: 320.3 MB / 0.7788 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/1.034, allocations: 88.92 kB / 0.7788 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6363/1.67, allocations: 164 MB / 0.939 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.593e-06/1.67, allocations: 0 / 0.939 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000111/1.67, allocations: 20.66 kB / 0.9391 GB, free: 119.2 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.00341/1.674, allocations: 1.038 MB / 0.9401 GB, free: 118.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/1.674, allocations: 11.78 kB / 0.9401 GB, free: 118.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006881/1.674, allocations: 103.2 kB / 0.9402 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/1.676, allocations: 0.6121 MB / 0.9408 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.92e-05/1.676, allocations: 14.69 kB / 0.9408 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/1.676, allocations: 32.19 kB / 0.9408 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001189/1.677, allocations: 0.6277 MB / 0.9414 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/1.678, allocations: 0.6647 MB / 0.9421 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/1.678, allocations: 6.219 kB / 0.9421 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.71e-05/1.679, allocations: 0 / 0.9421 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.762e-05/1.679, allocations: 21.59 kB / 0.9421 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004582/1.683, allocations: 3.18 MB / 0.9452 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007375/1.684, allocations: 396.2 kB / 0.9456 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004113/1.684, allocations: 249.8 kB / 0.9458 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003429/1.685, allocations: 0.5763 MB / 0.9464 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/1.685, allocations: 41.06 kB / 0.9464 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007398/1.686, allocations: 110.9 kB / 0.9465 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=45): time 4.699e-06/1.686, allocations: 0 / 0.9465 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=63): time 0.03073/1.716, allocations: 4.963 MB / 0.9514 GB, free: 115 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/1.716, allocations: 117.2 kB / 0.9515 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006845/1.717, allocations: 458.2 kB / 0.9519 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001224/1.717, allocations: 28.52 kB / 0.952 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/1.718, allocations: 364.2 kB / 0.9523 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/1.718, allocations: 210.3 kB / 0.9525 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-05/1.718, allocations: 0 / 0.9525 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001426/1.718, allocations: 381.6 kB / 0.9529 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004407/1.718, allocations: 276 kB / 0.9531 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005012/1.719, allocations: 462.8 kB / 0.9536 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002926/1.722, allocations: 0.6572 MB / 0.9542 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/1.722, allocations: 0 / 0.9542 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004126/1.726, allocations: 1.349 MB / 0.9555 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005127/1.727, allocations: 2 MB / 0.9575 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/1.727, allocations: 7.75 kB / 0.9575 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003813/1.73, allocations: 0.7286 MB / 0.9582 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007197/1.731, allocations: 201 kB / 0.9584 GB, free: 111.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003741/1.735, allocations: 1.894 MB / 0.9603 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/1.736, allocations: 91.7 kB / 0.9603 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/1.736, allocations: 62.09 kB / 0.9604 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/1.736, allocations: 3.969 kB / 0.9604 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003966/1.74, allocations: 1.075 MB / 0.9615 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/1.74, allocations: 3.406 kB / 0.9615 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001519/1.742, allocations: 279.2 kB / 0.9617 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007855/1.743, allocations: 222.1 kB / 0.9619 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007078/1.75, allocations: 4.632 MB / 0.9665 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/1.751, allocations: 83.7 kB / 0.9665 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/1.751, allocations: 49.58 kB / 0.9666 GB, free: 107.8 MB / 0.4948 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.0004729/1.751, allocations: 124.3 kB / 0.9667 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002598/1.752, allocations: 70.75 kB / 0.9668 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00392/1.756, allocations: 1.396 MB / 0.9681 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/1.756, allocations: 10.7 kB / 0.9681 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.756, allocations: 0.8438 kB / 0.9682 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/1.756, allocations: 7.828 kB / 0.9682 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005184/1.761, allocations: 2.181 MB / 0.9703 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/1.761, allocations: 0 / 0.9703 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00059/1.762, allocations: 155.6 kB / 0.9704 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001778/1.763, allocations: 0.4995 MB / 0.9709 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.09e-05/1.763, allocations: 14.08 kB / 0.9709 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001658/1.765, allocations: 1.601 MB / 0.9725 GB, free: 106 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.765, allocations: 0 / 0.9725 GB, free: 106 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003596/1.769, allocations: 1.587 MB / 0.9741 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006167/1.769, allocations: 263.4 kB / 0.9743 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002348/1.77, allocations: 0 / 0.9743 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008837/1.77, allocations: 86.66 kB / 0.9744 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/1.771, allocations: 62.12 kB / 0.9744 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.978e-05/1.771, allocations: 34.27 kB / 0.9745 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004817/1.771, allocations: 348.3 kB / 0.9748 GB, free: 105 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/1.771, allocations: 0 / 0.9748 GB, free: 105 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002781/1.774, allocations: 0.6492 MB / 0.9754 GB, free: 104.9 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 (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.001896/1.776, allocations: 0.592 MB / 0.976 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004065/1.78, allocations: 1.431 MB / 0.9774 GB, free: 104 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/1.78, allocations: 6.797 kB / 0.9774 GB, free: 104 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007207/1.781, allocations: 417 kB / 0.9778 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/1.782, allocations: 289.3 kB / 0.9781 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/1.785, allocations: 1.062 MB / 0.9791 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006253/1.785, allocations: 0.9854 MB / 0.9801 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001249/1.787, allocations: 241.5 kB / 0.9803 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002502/1.787, allocations: 77.45 kB / 0.9804 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.233e-06/1.787, allocations: 0 / 0.9804 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.03965/1.827, allocations: 23.86 MB / 1.004 GB, free: 98 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