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.0013/0.0013, allocations: 179.1 kB / 18.09 MB, free: 3.746 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.406/1.406, allocations: 223.3 MB / 242.1 MB, free: 9.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008197/0.0008197, allocations: 90.17 kB / 293.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3398/0.3398, allocations: 44.15 MB / 388.5 MB, free: 38.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004052/0.0004052, allocations: 12 kB / 461.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.345, allocations: 61.88 MB / 0.5107 GB, free: 37.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5549/0.9, allocations: 322.7 MB / 0.8258 GB, free: 6.828 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.9002, allocations: 91.06 kB / 0.8259 GB, free: 6.781 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5291/1.429, allocations: 167.7 MB / 0.9897 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.745e-06/1.429, allocations: 0 / 0.9897 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001081/1.43, allocations: 20 kB / 0.9897 GB, free: 111.1 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.004179/1.434, allocations: 1.135 MB / 0.9908 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/1.434, allocations: 23.91 kB / 0.9908 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007401/1.435, allocations: 99.89 kB / 0.9909 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/1.436, allocations: 0.6261 MB / 0.9915 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.661e-05/1.436, allocations: 49.25 kB / 0.9916 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/1.436, allocations: 48 kB / 0.9916 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/1.438, allocations: 0.8523 MB / 0.9924 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/1.438, allocations: 0 / 0.9924 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-05/1.438, allocations: 27.98 kB / 0.9925 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.145e-05/1.438, allocations: 25 kB / 0.9925 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/1.439, allocations: 0.7923 MB / 0.9933 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003883/1.443, allocations: 3.255 MB / 0.9964 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009837/1.444, allocations: 492.9 kB / 0.9969 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005732/1.445, allocations: 318.2 kB / 0.9972 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002826/1.445, allocations: 0.5739 MB / 0.9978 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/1.445, allocations: 42.56 kB / 0.9978 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006729/1.446, allocations: 131.4 kB / 0.9979 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 4.298e-06/1.446, allocations: 0 / 0.9979 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71): time 0.04508/1.491, allocations: 8.078 MB / 1.006 GB, free: 93.98 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/1.491, allocations: 111.5 kB / 1.006 GB, free: 93.85 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008084/1.492, allocations: 0.6293 MB / 1.007 GB, free: 93.21 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001279/1.492, allocations: 37.7 kB / 1.007 GB, free: 93.17 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/1.492, allocations: 360.1 kB / 1.007 GB, free: 92.81 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/1.492, allocations: 240.5 kB / 1.007 GB, free: 92.57 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.299e-05/1.492, allocations: 16 kB / 1.007 GB, free: 92.55 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.581e-05/1.492, allocations: 386.8 kB / 1.008 GB, free: 92.17 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/1.494, allocations: 0.5055 MB / 1.008 GB, free: 91.66 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/1.495, allocations: 0.7067 MB / 1.009 GB, free: 90.88 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002463/1.497, allocations: 1.211 MB / 1.01 GB, free: 89.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/1.497, allocations: 4 kB / 1.01 GB, free: 89.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003414/1.501, allocations: 1.556 MB / 1.011 GB, free: 88.02 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/1.501, allocations: 242.5 kB / 1.012 GB, free: 87.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/1.501, allocations: 4 kB / 1.012 GB, free: 87.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007498/1.508, allocations: 1.432 MB / 1.013 GB, free: 86.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/1.509, allocations: 239.6 kB / 1.013 GB, free: 86.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00267/1.512, allocations: 1.733 MB / 1.015 GB, free: 84.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/1.513, allocations: 127.8 kB / 1.015 GB, free: 84.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/1.514, allocations: 67.94 kB / 1.015 GB, free: 84.06 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/1.514, allocations: 0 / 1.015 GB, free: 84.06 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003636/1.517, allocations: 1.48 MB / 1.017 GB, free: 82.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/1.517, allocations: 4 kB / 1.017 GB, free: 82.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002738/1.52, allocations: 0.5562 MB / 1.017 GB, free: 82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009681/1.521, allocations: 259.6 kB / 1.017 GB, free: 81.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003714/1.525, allocations: 2.805 MB / 1.02 GB, free: 78.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/1.526, allocations: 119.9 kB / 1.02 GB, free: 78.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/1.526, allocations: 63.94 kB / 1.02 GB, free: 78.6 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 () * 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.0005153/1.527, allocations: 292.9 kB / 1.021 GB, free: 78.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/1.527, allocations: 86.95 kB / 1.021 GB, free: 78.22 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004818/1.532, allocations: 1.939 MB / 1.023 GB, free: 76.26 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/1.532, allocations: 8 kB / 1.023 GB, free: 76.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.532, allocations: 4 kB / 1.023 GB, free: 76.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/1.532, allocations: 8.016 kB / 1.023 GB, free: 76.24 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006657/1.538, allocations: 2.973 MB / 1.026 GB, free: 73.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/1.538, allocations: 0 / 1.026 GB, free: 73.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007487/1.539, allocations: 183.8 kB / 1.026 GB, free: 73.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006362/1.546, allocations: 1.396 MB / 1.027 GB, free: 71.63 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000138/1.546, allocations: 27.97 kB / 1.027 GB, free: 71.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00152/1.547, allocations: 1.62 MB / 1.029 GB, free: 69.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/1.547, allocations: 0 / 1.029 GB, free: 69.93 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005394/1.553, allocations: 2.345 MB / 1.031 GB, free: 67.56 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005323/1.553, allocations: 275.8 kB / 1.031 GB, free: 67.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/1.554, allocations: 16 kB / 1.031 GB, free: 67.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/1.555, allocations: 119.9 kB / 1.031 GB, free: 67.14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/1.555, allocations: 64.91 kB / 1.031 GB, free: 67.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.828e-05/1.555, allocations: 47.95 kB / 1.031 GB, free: 67.03 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005617/1.555, allocations: 450.9 kB / 1.032 GB, free: 66.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-07/1.555, allocations: 0 / 1.032 GB, free: 66.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002216/1.558, allocations: 0.7105 MB / 1.033 GB, free: 65.89 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 () * 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.001505/1.559, allocations: 0.6039 MB / 1.033 GB, free: 65.29 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006126/1.565, allocations: 2.199 MB / 1.035 GB, free: 63.08 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.565, allocations: 3.938 kB / 1.035 GB, free: 63.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001373/1.567, allocations: 0.6848 MB / 1.036 GB, free: 62.39 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/1.569, allocations: 365.7 kB / 1.036 GB, free: 62.03 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/1.572, allocations: 2.051 MB / 1.038 GB, free: 59.96 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/1.572, allocations: 0.9814 MB / 1.039 GB, free: 58.94 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001206/1.573, allocations: 258.8 kB / 1.04 GB, free: 58.68 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003158/1.574, allocations: 99.36 kB / 1.04 GB, free: 58.59 MB / 0.5261 GB Notification: Performance of SimCode: time 9.61e-07/1.574, allocations: 0 / 1.04 GB, free: 58.59 MB / 0.5261 GB Notification: Performance of Templates: time 0.04462/1.618, allocations: 30.85 MB / 1.07 GB, free: 27.94 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/jenkins1/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