Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002102/0.002102, allocations: 181.6 kB / 13.66 MB, free: 1.664 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.209/2.209, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001058/0.001058, allocations: 82.66 kB / 267.5 MB, free: 14.05 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.2673/0.2673, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.877e-05/2.888e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1084, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.156/1.264, allocations: 321 MB / 0.7863 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003626/1.265, allocations: 82.05 kB / 0.7864 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8608/2.125, allocations: 165.1 MB / 0.9476 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.754e-06/2.125, allocations: 0 / 0.9476 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.363e-05/2.126, allocations: 26.73 kB / 0.9476 GB, free: 123.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.003472/2.129, allocations: 1.039 MB / 0.9487 GB, free: 123.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/2.129, allocations: 6.844 kB / 0.9487 GB, free: 123.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005897/2.13, allocations: 102.7 kB / 0.9488 GB, free: 123 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001644/2.131, allocations: 0.617 MB / 0.9494 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.005e-05/2.131, allocations: 39.66 kB / 0.9494 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/2.132, allocations: 55.05 kB / 0.9494 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/2.133, allocations: 0.7651 MB / 0.9502 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/2.133, allocations: 0 / 0.9502 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/2.133, allocations: 23.09 kB / 0.9502 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-05/2.133, allocations: 19.41 kB / 0.9502 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/2.135, allocations: 0.6596 MB / 0.9509 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006313/2.141, allocations: 3.294 MB / 0.9541 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/2.143, allocations: 401.6 kB / 0.9545 GB, free: 119.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007114/2.143, allocations: 264 kB / 0.9547 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004114/2.144, allocations: 0.5664 MB / 0.9553 GB, free: 118.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/2.144, allocations: 38.5 kB / 0.9553 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001261/2.145, allocations: 129.4 kB / 0.9554 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=45): time 4.258e-06/2.145, allocations: 0 / 0.9554 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71): time 0.06655/2.212, allocations: 6.149 MB / 0.9615 GB, free: 117 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/2.212, allocations: 115.2 kB / 0.9616 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/2.213, allocations: 0.5445 MB / 0.9621 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002505/2.213, allocations: 36.77 kB / 0.9621 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/2.213, allocations: 381.6 kB / 0.9625 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/2.214, allocations: 239.8 kB / 0.9627 GB, free: 116 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/2.214, allocations: 23.88 kB / 0.9627 GB, free: 116 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.191e-05/2.214, allocations: 337 kB / 0.9631 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009656/2.215, allocations: 337.4 kB / 0.9634 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/2.216, allocations: 0.5237 MB / 0.9639 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001979/2.218, allocations: 395.4 kB / 0.9643 GB, free: 115 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/2.218, allocations: 3.562 kB / 0.9643 GB, free: 115 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.005392/2.224, allocations: 1.121 MB / 0.9654 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006279/2.224, allocations: 2.006 MB / 0.9673 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-05/2.225, allocations: 3.906 kB / 0.9673 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0156/2.24, allocations: 1.194 MB / 0.9685 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002036/2.242, allocations: 247.1 kB / 0.9687 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003524/2.246, allocations: 1.596 MB / 0.9703 GB, free: 111 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002338/2.248, allocations: 112.6 kB / 0.9704 GB, free: 111 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001923/2.248, allocations: 62.41 kB / 0.9705 GB, free: 111 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/2.248, allocations: 3.312 kB / 0.9705 GB, free: 111 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004052/2.252, allocations: 1.095 MB / 0.9715 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/2.253, allocations: 3.719 kB / 0.9715 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002901/2.255, allocations: 360.4 kB / 0.9719 GB, free: 110.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002129/2.258, allocations: 262 kB / 0.9721 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004733/2.262, allocations: 2.625 MB / 0.9747 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001897/2.264, allocations: 116.3 kB / 0.9748 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/2.265, allocations: 60.72 kB / 0.9749 GB, free: 108.2 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.0003769/2.265, allocations: 152.3 kB / 0.975 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003182/2.265, allocations: 83.41 kB / 0.9751 GB, free: 108 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007602/2.273, allocations: 1.504 MB / 0.9766 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-05/2.273, allocations: 15.69 kB / 0.9766 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/2.273, allocations: 0 / 0.9766 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.132e-05/2.273, allocations: 6.656 kB / 0.9766 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01291/2.286, allocations: 2.518 MB / 0.979 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.856e-05/2.286, allocations: 0 / 0.979 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002278/2.288, allocations: 187.6 kB / 0.9792 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01317/2.302, allocations: 1.229 MB / 0.9804 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002104/2.302, allocations: 27.97 kB / 0.9804 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/2.304, allocations: 1.511 MB / 0.9819 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/2.304, allocations: 0 / 0.9819 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005369/2.309, allocations: 1.738 MB / 0.9836 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000804/2.31, allocations: 275.8 kB / 0.9839 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002197/2.31, allocations: 24.05 kB / 0.9839 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001789/2.312, allocations: 115.7 kB / 0.984 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002162/2.312, allocations: 60.69 kB / 0.9841 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/2.313, allocations: 43.95 kB / 0.9841 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007356/2.313, allocations: 435.2 kB / 0.9845 GB, free: 101 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.91e-07/2.313, allocations: 7.938 kB / 0.9845 GB, free: 101 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002965/2.316, allocations: 0.6949 MB / 0.9852 GB, free: 100.3 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.002042/2.318, allocations: 0.5993 MB / 0.9858 GB, free: 99.71 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006248/2.325, allocations: 1.633 MB / 0.9874 GB, free: 98.06 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/2.325, allocations: 0 / 0.9874 GB, free: 98.06 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001523/2.326, allocations: 0.5082 MB / 0.9879 GB, free: 97.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003122/2.329, allocations: 366.6 kB / 0.9882 GB, free: 97.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003346/2.333, allocations: 1.235 MB / 0.9894 GB, free: 95.94 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/2.333, allocations: 0.989 MB / 0.9904 GB, free: 94.92 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006345/2.334, allocations: 107.3 kB / 0.9905 GB, free: 94.82 MB / 0.4948 GB Notification: Performance of SimCode: time 1.082e-06/2.334, allocations: 3.938 kB / 0.9905 GB, free: 94.81 MB / 0.4948 GB Notification: Performance of Templates: time 0.04228/2.376, allocations: 24.53 MB / 1.014 GB, free: 70.41 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches