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.001019/0.001019, allocations: 180.5 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.317/1.317, allocations: 205.4 MB / 223.6 MB, free: 9.035 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.0007901/0.0007902, allocations: 92.88 kB / 271.9 MB, free: 8.266 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.3299/0.3299, allocations: 43.56 MB / 363.8 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004915/0.0004915, allocations: 20 kB / 432.6 MB, free: 5.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1329, allocations: 58.85 MB / 491.5 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6435/0.7765, allocations: 321.3 MB / 0.7937 GB, free: 49.45 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.7768, allocations: 86.77 kB / 0.7938 GB, free: 49.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4786/1.255, allocations: 164.3 MB / 0.9542 GB, free: 104 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.703e-06/1.255, allocations: 0 / 0.9542 GB, free: 104 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.684e-05/1.255, allocations: 26.73 kB / 0.9542 GB, free: 104 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.00223/1.258, allocations: 1.142 MB / 0.9553 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/1.258, allocations: 12.03 kB / 0.9553 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003217/1.258, allocations: 95.91 kB / 0.9554 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008644/1.259, allocations: 0.6327 MB / 0.9561 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/1.259, allocations: 45.31 kB / 0.9561 GB, free: 102 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-05/1.259, allocations: 48 kB / 0.9561 GB, free: 102 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/1.26, allocations: 0.8632 MB / 0.957 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/1.26, allocations: 0 / 0.957 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.982e-05/1.26, allocations: 24 kB / 0.957 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/1.26, allocations: 17 kB / 0.957 GB, free: 101 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/1.262, allocations: 0.7923 MB / 0.9578 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003359/1.265, allocations: 3.272 MB / 0.961 GB, free: 96.84 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009787/1.266, allocations: 499.8 kB / 0.9615 GB, free: 96.35 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00058/1.267, allocations: 322.2 kB / 0.9618 GB, free: 96.04 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002744/1.267, allocations: 0.5699 MB / 0.9623 GB, free: 95.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/1.267, allocations: 38.56 kB / 0.9624 GB, free: 95.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000573/1.267, allocations: 134.1 kB / 0.9625 GB, free: 95.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=45): time 2.585e-06/1.268, allocations: 4 kB / 0.9625 GB, free: 95.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71): time 0.04249/1.31, allocations: 8.066 MB / 0.9704 GB, free: 86.95 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/1.31, allocations: 111.5 kB / 0.9705 GB, free: 86.82 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006427/1.311, allocations: 0.6215 MB / 0.9711 GB, free: 86.19 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.534e-05/1.311, allocations: 41.7 kB / 0.9711 GB, free: 86.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/1.311, allocations: 355 kB / 0.9715 GB, free: 85.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/1.311, allocations: 246.5 kB / 0.9717 GB, free: 85.55 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.798e-05/1.311, allocations: 16 kB / 0.9717 GB, free: 85.54 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.364e-05/1.311, allocations: 386.8 kB / 0.9721 GB, free: 85.15 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/1.312, allocations: 0.5055 MB / 0.9726 GB, free: 84.65 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/1.314, allocations: 0.7067 MB / 0.9733 GB, free: 83.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002401/1.316, allocations: 1.207 MB / 0.9745 GB, free: 82.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.316, allocations: 4 kB / 0.9745 GB, free: 82.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003195/1.319, allocations: 1.557 MB / 0.976 GB, free: 81.01 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.723e-05/1.319, allocations: 250.9 kB / 0.9762 GB, free: 80.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.557e-06/1.319, allocations: 4 kB / 0.9762 GB, free: 80.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007469/1.327, allocations: 1.436 MB / 0.9776 GB, free: 79.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000905/1.328, allocations: 243.6 kB / 0.9779 GB, free: 79.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002579/1.33, allocations: 1.734 MB / 0.9795 GB, free: 77.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/1.332, allocations: 127.8 kB / 0.9797 GB, free: 77.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/1.332, allocations: 63.88 kB / 0.9797 GB, free: 77.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.866e-06/1.332, allocations: 4.938 kB / 0.9797 GB, free: 77.04 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003479/1.335, allocations: 1.48 MB / 0.9812 GB, free: 75.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/1.335, allocations: 4 kB / 0.9812 GB, free: 75.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002748/1.338, allocations: 0.5522 MB / 0.9817 GB, free: 74.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009187/1.339, allocations: 259.6 kB / 0.982 GB, free: 74.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003559/1.342, allocations: 2.816 MB / 0.9847 GB, free: 71.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/1.344, allocations: 119.8 kB / 0.9848 GB, free: 71.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/1.344, allocations: 63.94 kB / 0.9849 GB, free: 71.59 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.0004451/1.344, allocations: 293 kB / 0.9852 GB, free: 71.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/1.344, allocations: 82.97 kB / 0.9853 GB, free: 71.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004685/1.349, allocations: 1.951 MB / 0.9872 GB, free: 69.24 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/1.349, allocations: 8 kB / 0.9872 GB, free: 69.23 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/1.349, allocations: 0 / 0.9872 GB, free: 69.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/1.349, allocations: 3.984 kB / 0.9872 GB, free: 69.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006449/1.355, allocations: 2.964 MB / 0.9901 GB, free: 66.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/1.355, allocations: 4 kB / 0.9901 GB, free: 66.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007319/1.356, allocations: 179.8 kB / 0.9902 GB, free: 66.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006593/1.363, allocations: 1.395 MB / 0.9916 GB, free: 64.65 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.818e-05/1.363, allocations: 31.97 kB / 0.9916 GB, free: 64.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/1.364, allocations: 1.618 MB / 0.9932 GB, free: 62.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/1.364, allocations: 0 / 0.9932 GB, free: 62.95 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005372/1.37, allocations: 2.353 MB / 0.9955 GB, free: 60.58 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004552/1.37, allocations: 275.8 kB / 0.9958 GB, free: 60.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/1.37, allocations: 16 kB / 0.9958 GB, free: 60.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009351/1.371, allocations: 119.9 kB / 0.9959 GB, free: 60.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/1.371, allocations: 64.84 kB / 0.996 GB, free: 60.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-05/1.372, allocations: 47.95 kB / 0.996 GB, free: 60.05 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004511/1.372, allocations: 447 kB / 0.9964 GB, free: 59.62 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/1.372, allocations: 0 / 0.9964 GB, free: 59.62 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001936/1.374, allocations: 0.7066 MB / 0.9971 GB, free: 58.91 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 (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.001261/1.375, allocations: 0.5834 MB / 0.9977 GB, free: 58.37 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006179/1.381, allocations: 2.203 MB / 0.9999 GB, free: 56.16 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.381, allocations: 0 / 0.9999 GB, free: 56.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001413/1.383, allocations: 0.6848 MB / 1.001 GB, free: 55.47 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/1.385, allocations: 365.6 kB / 1.001 GB, free: 55.11 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/1.387, allocations: 2.088 MB / 1.003 GB, free: 52.99 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/1.388, allocations: 0.9775 MB / 1.004 GB, free: 51.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003691/1.388, allocations: 107.3 kB / 1.004 GB, free: 51.88 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/1.388, allocations: 0 / 1.004 GB, free: 51.88 MB / 0.4948 GB Notification: Performance of Templates: time 0.02384/1.412, allocations: 24.91 MB / 1.028 GB, free: 26.99 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