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.001711/0.001711, allocations: 182.9 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.073/2.073, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001359/0.001359, allocations: 98.83 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2982/0.2982, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003782, allocations: 11.98 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1733, allocations: 58.84 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.069/1.242, allocations: 321.1 MB / 0.7923 GB, free: 98.67 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/1.243, allocations: 89.14 kB / 0.7924 GB, free: 98.62 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6611/1.904, allocations: 165.8 MB / 0.9543 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.174e-06/1.904, allocations: 0 / 0.9543 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.594e-05/1.904, allocations: 22.88 kB / 0.9543 GB, free: 124.3 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.003692/1.908, allocations: 1.139 MB / 0.9554 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/1.908, allocations: 11.56 kB / 0.9554 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006025/1.908, allocations: 98.52 kB / 0.9555 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/1.91, allocations: 0.6232 MB / 0.9561 GB, free: 123.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.336e-05/1.91, allocations: 40.47 kB / 0.9562 GB, free: 123 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/1.91, allocations: 53.66 kB / 0.9562 GB, free: 123 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/1.912, allocations: 0.8381 MB / 0.957 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/1.912, allocations: 0 / 0.957 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.585e-05/1.912, allocations: 23.12 kB / 0.9571 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.579e-05/1.912, allocations: 26.88 kB / 0.9571 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/1.913, allocations: 0.7908 MB / 0.9579 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004573/1.918, allocations: 3.301 MB / 0.9611 GB, free: 120 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/1.919, allocations: 0.4942 MB / 0.9616 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003214/1.919, allocations: 0.5713 MB / 0.9621 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/1.919, allocations: 40.69 kB / 0.9622 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007248/1.92, allocations: 132 kB / 0.9623 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=45): time 3.917e-06/1.92, allocations: 0 / 0.9623 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71): time 0.04166/1.962, allocations: 7.586 MB / 0.9697 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/1.962, allocations: 118.2 kB / 0.9698 GB, free: 117 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009629/1.963, allocations: 0.5438 MB / 0.9703 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002117/1.963, allocations: 44.8 kB / 0.9704 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/1.963, allocations: 357.1 kB / 0.9707 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002517/1.964, allocations: 243.4 kB / 0.971 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.118e-05/1.964, allocations: 19.88 kB / 0.971 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.964, allocations: 388.3 kB / 0.9714 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/1.965, allocations: 0.4982 MB / 0.9718 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/1.967, allocations: 0.6804 MB / 0.9725 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/1.968, allocations: 0.5452 MB / 0.973 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/1.968, allocations: 0 / 0.973 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003566/1.971, allocations: 1.518 MB / 0.9745 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005323/1.972, allocations: 1.997 MB / 0.9765 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/1.972, allocations: 8 kB / 0.9765 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006886/1.979, allocations: 1.23 MB / 0.9777 GB, free: 110.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/1.98, allocations: 243.1 kB / 0.9779 GB, free: 109.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/1.982, allocations: 1.657 MB / 0.9795 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/1.984, allocations: 122.9 kB / 0.9796 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/1.984, allocations: 63.38 kB / 0.9797 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/1.984, allocations: 4 kB / 0.9797 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003735/1.988, allocations: 1.424 MB / 0.9811 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/1.988, allocations: 4 kB / 0.9811 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002072/1.99, allocations: 447.6 kB / 0.9815 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/1.991, allocations: 251.6 kB / 0.9818 GB, free: 106 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003441/1.994, allocations: 2.749 MB / 0.9845 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/1.996, allocations: 127.9 kB / 0.9846 GB, free: 103 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/1.996, allocations: 51.95 kB / 0.9846 GB, free: 103 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 () * 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.0006407/1.997, allocations: 295.9 kB / 0.9849 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002879/1.997, allocations: 86.95 kB / 0.985 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004547/2.001, allocations: 1.849 MB / 0.9868 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/2.001, allocations: 15.98 kB / 0.9868 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/2.001, allocations: 0 / 0.9868 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/2.001, allocations: 3.984 kB / 0.9868 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006454/2.008, allocations: 2.855 MB / 0.9896 GB, free: 97.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/2.008, allocations: 0 / 0.9896 GB, free: 97.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007968/2.009, allocations: 187.7 kB / 0.9898 GB, free: 97.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006113/2.015, allocations: 1.274 MB / 0.991 GB, free: 96.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/2.015, allocations: 31.97 kB / 0.9911 GB, free: 96.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001478/2.017, allocations: 1.588 MB / 0.9926 GB, free: 94.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/2.017, allocations: 0 / 0.9926 GB, free: 94.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005092/2.022, allocations: 2.278 MB / 0.9948 GB, free: 92.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006903/2.022, allocations: 275.8 kB / 0.9951 GB, free: 92.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002716/2.023, allocations: 16 kB / 0.9951 GB, free: 92.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/2.024, allocations: 115.9 kB / 0.9952 GB, free: 91.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/2.024, allocations: 64.91 kB / 0.9953 GB, free: 91.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/2.024, allocations: 47.95 kB / 0.9953 GB, free: 91.87 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006404/2.025, allocations: 435 kB / 0.9957 GB, free: 91.45 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.21e-07/2.025, allocations: 0 / 0.9957 GB, free: 91.45 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002845/2.028, allocations: 0.7027 MB / 0.9964 GB, free: 90.75 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 () * 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.001914/2.03, allocations: 0.5898 MB / 0.997 GB, free: 90.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005942/2.035, allocations: 2.141 MB / 0.9991 GB, free: 88.05 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/2.036, allocations: 4 kB / 0.9991 GB, free: 88.04 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001472/2.037, allocations: 0.6844 MB / 0.9998 GB, free: 87.36 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/2.039, allocations: 354.5 kB / 1 GB, free: 87.01 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003588/2.043, allocations: 2.031 MB / 1.002 GB, free: 84.97 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000468/2.043, allocations: 0.9931 MB / 1.003 GB, free: 83.95 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001324/2.044, allocations: 265.5 kB / 1.003 GB, free: 83.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003679/2.045, allocations: 99.36 kB / 1.003 GB, free: 83.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.283e-06/2.045, allocations: 0 / 1.003 GB, free: 83.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.04302/2.088, allocations: 27.34 MB / 1.03 GB, free: 56.37 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