Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001047/0.001047, allocations: 201.1 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 225.6 MB / 234.8 MB, free: 3.238 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000779/0.000779, allocations: 99.33 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2105/0.2105, allocations: 45.15 MB / 383.8 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.396e-05/1.399e-05, allocations: 4 kB / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1207, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9617/1.082, allocations: 322.8 MB / 0.8196 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/1.083, allocations: 86.08 kB / 0.8197 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6242/1.707, allocations: 167.5 MB / 0.9833 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.372e-06/1.707, allocations: 0 / 0.9833 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001108/1.707, allocations: 22.7 kB / 0.9833 GB, free: 127.2 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.003237/1.71, allocations: 1.045 MB / 0.9843 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/1.711, allocations: 11.78 kB / 0.9843 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006617/1.711, allocations: 96.75 kB / 0.9844 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/1.713, allocations: 0.6175 MB / 0.985 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.447e-05/1.713, allocations: 15.53 kB / 0.985 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/1.713, allocations: 31.59 kB / 0.9851 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001096/1.714, allocations: 0.6203 MB / 0.9857 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/1.715, allocations: 0.671 MB / 0.9863 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/1.715, allocations: 1.875 kB / 0.9863 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.276e-05/1.715, allocations: 3.906 kB / 0.9863 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.48e-05/1.715, allocations: 24.06 kB / 0.9864 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004307/1.72, allocations: 3.177 MB / 0.9895 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006853/1.72, allocations: 399.3 kB / 0.9898 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000392/1.721, allocations: 248.7 kB / 0.9901 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003185/1.721, allocations: 0.5759 MB / 0.9906 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/1.721, allocations: 37.94 kB / 0.9907 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006777/1.722, allocations: 112.9 kB / 0.9908 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 3.257e-06/1.722, allocations: 0 / 0.9908 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=63): time 0.02981/1.752, allocations: 4.963 MB / 0.9956 GB, free: 123 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/1.752, allocations: 111 kB / 0.9957 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009598/1.753, allocations: 462.2 kB / 0.9962 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001471/1.753, allocations: 29.17 kB / 0.9962 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003265/1.753, allocations: 362 kB / 0.9965 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002416/1.753, allocations: 202.8 kB / 0.9967 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.072e-05/1.754, allocations: 3.281 kB / 0.9967 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001856/1.754, allocations: 383 kB / 0.9971 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005227/1.754, allocations: 276.3 kB / 0.9974 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000638/1.755, allocations: 458 kB / 0.9978 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003268/1.758, allocations: 0.6643 MB / 0.9985 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/1.758, allocations: 8.625 kB / 0.9985 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004377/1.763, allocations: 1.336 MB / 0.9998 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005963/1.763, allocations: 2.012 MB / 1.002 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/1.763, allocations: 3.469 kB / 1.002 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003675/1.767, allocations: 0.7271 MB / 1.002 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007199/1.768, allocations: 203.8 kB / 1.003 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003651/1.771, allocations: 1.894 MB / 1.004 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/1.772, allocations: 92.23 kB / 1.005 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/1.773, allocations: 64.03 kB / 1.005 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/1.773, allocations: 3.875 kB / 1.005 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003819/1.776, allocations: 1.069 MB / 1.006 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/1.776, allocations: 3.125 kB / 1.006 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001419/1.778, allocations: 291.1 kB / 1.006 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007457/1.779, allocations: 216.2 kB / 1.006 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006606/1.785, allocations: 4.636 MB / 1.011 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/1.786, allocations: 90.5 kB / 1.011 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/1.786, allocations: 49.2 kB / 1.011 GB, free: 115.7 MB / 0.5261 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.0004257/1.787, allocations: 121.2 kB / 1.011 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002835/1.787, allocations: 69.53 kB / 1.011 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00375/1.791, allocations: 1.391 MB / 1.012 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/1.791, allocations: 10.84 kB / 1.012 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/1.791, allocations: 2.906 kB / 1.012 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.131e-05/1.791, allocations: 6.375 kB / 1.012 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005002/1.796, allocations: 2.187 MB / 1.015 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/1.796, allocations: 0 / 1.015 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005645/1.797, allocations: 156.7 kB / 1.015 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00172/1.798, allocations: 496.6 kB / 1.015 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-05/1.798, allocations: 17.75 kB / 1.015 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001688/1.8, allocations: 1.615 MB / 1.017 GB, free: 114 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.8, allocations: 2.406 kB / 1.017 GB, free: 114 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00352/1.804, allocations: 1.576 MB / 1.018 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005408/1.804, allocations: 255.2 kB / 1.019 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/1.805, allocations: 0 / 1.019 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008897/1.805, allocations: 85.64 kB / 1.019 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/1.806, allocations: 61.73 kB / 1.019 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.154e-05/1.806, allocations: 46.59 kB / 1.019 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005141/1.806, allocations: 349.4 kB / 1.019 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.41e-07/1.806, allocations: 0 / 1.019 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002658/1.809, allocations: 0.6424 MB / 1.02 GB, free: 113.5 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 () * 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.001864/1.811, allocations: 0.5888 MB / 1.02 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004076/1.815, allocations: 1.433 MB / 1.022 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/1.815, allocations: 2.875 kB / 1.022 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007823/1.816, allocations: 417.3 kB / 1.022 GB, free: 113 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/1.817, allocations: 301.4 kB / 1.022 GB, free: 113 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/1.82, allocations: 1.063 MB / 1.023 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005571/1.821, allocations: 0.9924 MB / 1.024 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001226/1.822, allocations: 245.4 kB / 1.025 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/1.822, allocations: 67.45 kB / 1.025 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of SimCode: time 7.91e-07/1.822, allocations: 0 / 1.025 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.04003/1.862, allocations: 23.94 MB / 1.048 GB, free: 110.3 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches