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.00106/0.00106, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 221.5 MB / 230.7 MB, free: 7.57 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.0008516/0.0008516, allocations: 96.08 kB / 281.6 MB, free: 5.324 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.2035/0.2035, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.563e-05/1.557e-05, allocations: 4.203 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1191, allocations: 61.91 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9496/1.069, allocations: 321.8 MB / 0.8089 GB, free: 66.92 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/1.069, allocations: 84.73 kB / 0.809 GB, free: 66.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6929/1.762, allocations: 167.4 MB / 0.9725 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.424e-06/1.762, allocations: 0 / 0.9725 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001078/1.762, allocations: 27.84 kB / 0.9725 GB, free: 120.2 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.003427/1.765, allocations: 1.046 MB / 0.9735 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/1.766, allocations: 11.98 kB / 0.9735 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007472/1.766, allocations: 98.95 kB / 0.9736 GB, free: 119 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/1.768, allocations: 0.6018 MB / 0.9742 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.929e-05/1.768, allocations: 23.89 kB / 0.9742 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/1.768, allocations: 32 kB / 0.9743 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001223/1.77, allocations: 0.6273 MB / 0.9749 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/1.771, allocations: 0.6632 MB / 0.9755 GB, free: 117 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/1.771, allocations: 7.938 kB / 0.9755 GB, free: 117 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.79e-05/1.771, allocations: 0 / 0.9755 GB, free: 117 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.531e-05/1.771, allocations: 21.31 kB / 0.9756 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00483/1.776, allocations: 3.18 MB / 0.9787 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007418/1.776, allocations: 396.4 kB / 0.9791 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003875/1.777, allocations: 245.5 kB / 0.9793 GB, free: 113 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003541/1.777, allocations: 0.5757 MB / 0.9798 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/1.777, allocations: 42.5 kB / 0.9799 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007597/1.778, allocations: 111.4 kB / 0.98 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=45): time 2.565e-06/1.778, allocations: 0 / 0.98 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=63): time 0.03298/1.811, allocations: 4.959 MB / 0.9848 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.808e-05/1.811, allocations: 111.4 kB / 0.9849 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008148/1.812, allocations: 455.4 kB / 0.9854 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001388/1.812, allocations: 25.7 kB / 0.9854 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/1.812, allocations: 367.7 kB / 0.9858 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00019/1.813, allocations: 208.9 kB / 0.986 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.208e-05/1.813, allocations: 0 / 0.986 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001143/1.813, allocations: 382.8 kB / 0.9863 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004277/1.813, allocations: 277.5 kB / 0.9866 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004954/1.814, allocations: 456.1 kB / 0.987 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003015/1.817, allocations: 0.6617 MB / 0.9877 GB, free: 104 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/1.817, allocations: 4 kB / 0.9877 GB, free: 104 MB / 0.5105 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004297/1.821, allocations: 1.339 MB / 0.989 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005402/1.822, allocations: 2.01 MB / 0.9909 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/1.822, allocations: 4 kB / 0.9909 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003987/1.826, allocations: 0.7367 MB / 0.9917 GB, free: 99.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008065/1.826, allocations: 203.7 kB / 0.9919 GB, free: 99.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003841/1.83, allocations: 1.901 MB / 0.9937 GB, free: 97.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/1.832, allocations: 87.91 kB / 0.9938 GB, free: 97.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/1.832, allocations: 59.95 kB / 0.9939 GB, free: 97.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/1.832, allocations: 4 kB / 0.9939 GB, free: 97.48 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004056/1.836, allocations: 1.072 MB / 0.9949 GB, free: 96.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/1.836, allocations: 7.953 kB / 0.9949 GB, free: 96.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001579/1.837, allocations: 285.8 kB / 0.9952 GB, free: 96.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009068/1.838, allocations: 211.7 kB / 0.9954 GB, free: 95.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006932/1.845, allocations: 4.646 MB / 0.9999 GB, free: 91.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/1.846, allocations: 83.84 kB / 1 GB, free: 90.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/1.847, allocations: 39.97 kB / 1 GB, free: 90.89 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.0004773/1.847, allocations: 128.8 kB / 1 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002576/1.847, allocations: 79.16 kB / 1 GB, free: 90.68 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004153/1.852, allocations: 1.378 MB / 1.002 GB, free: 89.28 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/1.852, allocations: 8 kB / 1.002 GB, free: 89.27 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/1.852, allocations: 8 kB / 1.002 GB, free: 89.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/1.852, allocations: 3.984 kB / 1.002 GB, free: 89.26 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005601/1.857, allocations: 2.186 MB / 1.004 GB, free: 87.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/1.857, allocations: 0 / 1.004 GB, free: 87.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000708/1.858, allocations: 151.8 kB / 1.004 GB, free: 86.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001899/1.86, allocations: 493 kB / 1.004 GB, free: 86.41 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.169e-05/1.86, allocations: 19.98 kB / 1.004 GB, free: 86.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/1.862, allocations: 1.608 MB / 1.006 GB, free: 84.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.862, allocations: 4.062 kB / 1.006 GB, free: 84.73 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003632/1.866, allocations: 1.585 MB / 1.007 GB, free: 83.12 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005742/1.866, allocations: 251.9 kB / 1.008 GB, free: 82.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/1.866, allocations: 4 kB / 1.008 GB, free: 82.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008959/1.867, allocations: 87.88 kB / 1.008 GB, free: 82.77 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/1.867, allocations: 64.62 kB / 1.008 GB, free: 82.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.605e-05/1.867, allocations: 35.97 kB / 1.008 GB, free: 82.67 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004703/1.868, allocations: 347.2 kB / 1.008 GB, free: 82.33 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/1.868, allocations: 0 / 1.008 GB, free: 82.33 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002728/1.871, allocations: 0.6476 MB / 1.009 GB, free: 81.69 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.001835/1.873, allocations: 0.5801 MB / 1.009 GB, free: 81.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003926/1.876, allocations: 1.435 MB / 1.011 GB, free: 79.69 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.876, allocations: 0.5625 kB / 1.011 GB, free: 79.69 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007106/1.877, allocations: 422.6 kB / 1.011 GB, free: 79.27 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/1.879, allocations: 301.2 kB / 1.012 GB, free: 78.99 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/1.881, allocations: 1.054 MB / 1.013 GB, free: 77.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/1.882, allocations: 0.9892 MB / 1.014 GB, free: 76.89 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00114/1.883, allocations: 249.6 kB / 1.014 GB, free: 76.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/1.883, allocations: 67.41 kB / 1.014 GB, free: 76.58 MB / 0.5105 GB Notification: Performance of SimCode: time 7.51e-07/1.883, allocations: 4 kB / 1.014 GB, free: 76.57 MB / 0.5105 GB Notification: Performance of Templates: time 0.04044/1.924, allocations: 23.93 MB / 1.037 GB, free: 52.77 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