Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001084, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 221.4 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008213/0.0008213, allocations: 91.78 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2089/0.2089, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.126e-05/3.13e-05, allocations: 224 / 451.8 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1276, allocations: 61.91 MB / 0.5017 GB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8916/1.019, allocations: 322.4 MB / 0.8166 GB, free: 86.95 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/1.02, allocations: 82.58 kB / 0.8167 GB, free: 86.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.5953/1.615, allocations: 168.5 MB / 0.9812 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.154e-06/1.615, allocations: 3.938 kB / 0.9812 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.66e-05/1.615, allocations: 15.44 kB / 0.9812 GB, free: 137.6 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.002258/1.617, allocations: 1.038 MB / 0.9823 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/1.617, allocations: 11 kB / 0.9823 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003457/1.618, allocations: 100.5 kB / 0.9824 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/1.619, allocations: 0.6129 MB / 0.983 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/1.619, allocations: 35.16 kB / 0.983 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-05/1.619, allocations: 55.48 kB / 0.9831 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/1.62, allocations: 0.7729 MB / 0.9838 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/1.62, allocations: 3.875 kB / 0.9838 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-05/1.62, allocations: 23.38 kB / 0.9838 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.554e-05/1.62, allocations: 18.88 kB / 0.9839 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009132/1.621, allocations: 0.6613 MB / 0.9845 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003832/1.625, allocations: 3.284 MB / 0.9877 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007372/1.626, allocations: 405.3 kB / 0.9881 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004099/1.626, allocations: 251.8 kB / 0.9883 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002747/1.626, allocations: 0.5725 MB / 0.9889 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/1.626, allocations: 42.41 kB / 0.9889 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005657/1.627, allocations: 127.3 kB / 0.9891 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 2.484e-06/1.627, allocations: 0 / 0.9891 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71): time 0.03361/1.661, allocations: 6.147 MB / 0.9951 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/1.661, allocations: 111 kB / 0.9952 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006018/1.661, allocations: 0.5412 MB / 0.9957 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.827e-05/1.661, allocations: 41.23 kB / 0.9957 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/1.661, allocations: 362.6 kB / 0.9961 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/1.662, allocations: 241.1 kB / 0.9963 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.904e-05/1.662, allocations: 19.94 kB / 0.9963 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.696e-05/1.662, allocations: 384.9 kB / 0.9967 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004985/1.662, allocations: 331.3 kB / 0.997 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005574/1.663, allocations: 0.524 MB / 0.9975 GB, free: 129 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006091/1.664, allocations: 394.8 kB / 0.9979 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.664, allocations: 3.156 kB / 0.9979 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00185/1.665, allocations: 1.16 MB / 0.999 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003386/1.666, allocations: 2.015 MB / 1.001 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/1.666, allocations: 3.875 kB / 1.001 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00625/1.672, allocations: 1.195 MB / 1.002 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/1.673, allocations: 238.7 kB / 1.002 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/1.675, allocations: 1.598 MB / 1.004 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/1.676, allocations: 117.9 kB / 1.004 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/1.676, allocations: 59.67 kB / 1.004 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/1.676, allocations: 9.594 kB / 1.004 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002148/1.679, allocations: 1.079 MB / 1.005 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.679, allocations: 7.906 kB / 1.005 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001729/1.68, allocations: 411.1 kB / 1.006 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009688/1.681, allocations: 254.4 kB / 1.006 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00279/1.684, allocations: 2.666 MB / 1.008 GB, free: 122 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/1.685, allocations: 120.1 kB / 1.009 GB, free: 122 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.881e-05/1.685, allocations: 55.11 kB / 1.009 GB, free: 122 MB / 0.5261 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.0002845/1.686, allocations: 154.6 kB / 1.009 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/1.686, allocations: 83.78 kB / 1.009 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002881/1.689, allocations: 1.508 MB / 1.01 GB, free: 121 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/1.689, allocations: 15.75 kB / 1.01 GB, free: 121 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/1.689, allocations: 0 / 1.01 GB, free: 121 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/1.689, allocations: 7.969 kB / 1.01 GB, free: 121 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004624/1.693, allocations: 2.502 MB / 1.013 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/1.693, allocations: 4 kB / 1.013 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007939/1.694, allocations: 187.7 kB / 1.013 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005616/1.7, allocations: 1.236 MB / 1.014 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.458e-05/1.7, allocations: 31.97 kB / 1.014 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/1.701, allocations: 1.495 MB / 1.016 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.701, allocations: 7.938 kB / 1.016 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002891/1.704, allocations: 1.738 MB / 1.017 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005274/1.705, allocations: 275.8 kB / 1.018 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/1.705, allocations: 19.95 kB / 1.018 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008626/1.706, allocations: 119.9 kB / 1.018 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/1.706, allocations: 64.62 kB / 1.018 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-05/1.706, allocations: 47.95 kB / 1.018 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004911/1.706, allocations: 431.2 kB / 1.018 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/1.706, allocations: 0 / 1.018 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002089/1.708, allocations: 0.7066 MB / 1.019 GB, free: 112.4 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 (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.001363/1.71, allocations: 0.5969 MB / 1.02 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003591/1.713, allocations: 1.656 MB / 1.021 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.713, allocations: 384 / 1.021 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008228/1.714, allocations: 0.5121 MB / 1.022 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/1.716, allocations: 357 kB / 1.022 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/1.718, allocations: 1.215 MB / 1.023 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/1.719, allocations: 0.994 MB / 1.024 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001189/1.72, allocations: 303.7 kB / 1.024 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000273/1.72, allocations: 87.36 kB / 1.025 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.292e-06/1.72, allocations: 4 kB / 1.025 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.03414/1.754, allocations: 28.78 MB / 1.053 GB, free: 78.12 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches