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.001029/0.001029, allocations: 171.2 kB / 16.76 MB, free: 5.051 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.518/1.518, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007969/0.0007971, allocations: 90.33 kB / 271.3 MB, free: 8.25 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.374/0.374, allocations: 43.56 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000389/0.0003891, allocations: 12 kB / 432.6 MB, free: 4.965 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1396, allocations: 58.84 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7708/0.9105, allocations: 321.3 MB / 0.7937 GB, free: 48.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.9108, allocations: 86.83 kB / 0.7938 GB, free: 48.55 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5515/1.462, allocations: 164.3 MB / 0.9542 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.817e-06/1.462, allocations: 3.938 kB / 0.9542 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000108/1.462, allocations: 18.58 kB / 0.9542 GB, free: 103.6 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.003467/1.466, allocations: 1.138 MB / 0.9554 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/1.466, allocations: 8.031 kB / 0.9554 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005599/1.467, allocations: 103.8 kB / 0.9555 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/1.468, allocations: 0.6454 MB / 0.9561 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.416e-05/1.468, allocations: 37.31 kB / 0.9561 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/1.468, allocations: 52 kB / 0.9562 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/1.47, allocations: 0.8451 MB / 0.957 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.125e-05/1.47, allocations: 11.92 kB / 0.957 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-05/1.47, allocations: 24 kB / 0.957 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.565e-05/1.47, allocations: 21 kB / 0.9571 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/1.471, allocations: 0.7884 MB / 0.9578 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004132/1.475, allocations: 3.273 MB / 0.961 GB, free: 96.43 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009434/1.476, allocations: 497.6 kB / 0.9615 GB, free: 95.94 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005543/1.477, allocations: 318.2 kB / 0.9618 GB, free: 95.63 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003158/1.477, allocations: 0.5735 MB / 0.9624 GB, free: 94.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/1.477, allocations: 42.5 kB / 0.9624 GB, free: 94.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006242/1.478, allocations: 129.1 kB / 0.9625 GB, free: 94.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=45): time 4.298e-06/1.478, allocations: 0 / 0.9625 GB, free: 94.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71): time 0.04203/1.52, allocations: 8.064 MB / 0.9704 GB, free: 86.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/1.52, allocations: 123.4 kB / 0.9705 GB, free: 86.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007911/1.521, allocations: 0.6254 MB / 0.9711 GB, free: 85.78 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000128/1.521, allocations: 37.7 kB / 0.9712 GB, free: 85.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/1.521, allocations: 354 kB / 0.9715 GB, free: 85.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/1.522, allocations: 250 kB / 0.9717 GB, free: 85.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/1.522, allocations: 16 kB / 0.9718 GB, free: 85.12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.926e-05/1.522, allocations: 382.8 kB / 0.9721 GB, free: 84.74 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/1.523, allocations: 0.5094 MB / 0.9726 GB, free: 84.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/1.524, allocations: 0.6911 MB / 0.9733 GB, free: 83.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002414/1.526, allocations: 1.215 MB / 0.9745 GB, free: 82.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/1.526, allocations: 0 / 0.9745 GB, free: 82.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003203/1.53, allocations: 1.561 MB / 0.976 GB, free: 80.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.125e-05/1.53, allocations: 250.6 kB / 0.9762 GB, free: 80.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/1.53, allocations: 4 kB / 0.9762 GB, free: 80.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007315/1.537, allocations: 1.435 MB / 0.9776 GB, free: 78.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/1.538, allocations: 239.6 kB / 0.9779 GB, free: 78.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002518/1.541, allocations: 1.738 MB / 0.9796 GB, free: 76.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/1.542, allocations: 123.8 kB / 0.9797 GB, free: 76.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/1.542, allocations: 63.94 kB / 0.9798 GB, free: 76.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/1.542, allocations: 9.656 kB / 0.9798 GB, free: 76.64 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003397/1.545, allocations: 1.469 MB / 0.9812 GB, free: 75.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/1.546, allocations: 8.344 kB / 0.9812 GB, free: 75.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002695/1.548, allocations: 0.5557 MB / 0.9817 GB, free: 74.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009432/1.549, allocations: 251.6 kB / 0.982 GB, free: 74.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003421/1.553, allocations: 2.823 MB / 0.9847 GB, free: 71.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/1.554, allocations: 123.8 kB / 0.9849 GB, free: 71.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.867e-05/1.554, allocations: 63.94 kB / 0.9849 GB, free: 71.19 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.0004412/1.554, allocations: 296.9 kB / 0.9852 GB, free: 70.89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/1.554, allocations: 86.97 kB / 0.9853 GB, free: 70.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00451/1.559, allocations: 1.934 MB / 0.9872 GB, free: 68.85 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/1.559, allocations: 19.98 kB / 0.9872 GB, free: 68.83 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/1.559, allocations: 0 / 0.9872 GB, free: 68.83 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/1.559, allocations: 3.984 kB / 0.9872 GB, free: 68.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006211/1.565, allocations: 2.96 MB / 0.9901 GB, free: 65.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/1.565, allocations: 0 / 0.9901 GB, free: 65.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007078/1.566, allocations: 183.8 kB / 0.9903 GB, free: 65.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006276/1.572, allocations: 1.388 MB / 0.9916 GB, free: 64.26 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/1.572, allocations: 31.97 kB / 0.9917 GB, free: 64.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/1.574, allocations: 1.632 MB / 0.9932 GB, free: 62.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.574, allocations: 0 / 0.9932 GB, free: 62.55 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005154/1.579, allocations: 2.353 MB / 0.9955 GB, free: 60.18 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000446/1.579, allocations: 283.7 kB / 0.9958 GB, free: 59.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/1.58, allocations: 16 kB / 0.9958 GB, free: 59.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000878/1.58, allocations: 112 kB / 0.9959 GB, free: 59.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/1.581, allocations: 68.89 kB / 0.996 GB, free: 59.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.698e-05/1.581, allocations: 39.97 kB / 0.996 GB, free: 59.65 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004776/1.581, allocations: 447 kB / 0.9965 GB, free: 59.22 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.2e-07/1.581, allocations: 4 kB / 0.9965 GB, free: 59.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001894/1.583, allocations: 0.7066 MB / 0.9972 GB, free: 58.51 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.001122/1.584, allocations: 0.5868 MB / 0.9977 GB, free: 57.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005721/1.59, allocations: 2.203 MB / 0.9999 GB, free: 55.74 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.59, allocations: 0 / 0.9999 GB, free: 55.74 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00129/1.591, allocations: 0.6809 MB / 1.001 GB, free: 55.06 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/1.593, allocations: 367.6 kB / 1.001 GB, free: 54.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/1.595, allocations: 2.05 MB / 1.003 GB, free: 52.62 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/1.596, allocations: 0.9814 MB / 1.004 GB, free: 51.61 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001023/1.597, allocations: 261 kB / 1.004 GB, free: 51.35 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002788/1.597, allocations: 103.4 kB / 1.004 GB, free: 51.25 MB / 0.4948 GB Notification: Performance of SimCode: time 7.42e-07/1.597, allocations: 0 / 1.004 GB, free: 51.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.03584/1.633, allocations: 30.78 MB / 1.034 GB, free: 20.54 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/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_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches