Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001173/0.001173, allocations: 198.4 kB / 16.78 MB, free: 5.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 226.5 MB / 244.1 MB, free: 8.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008627/0.0008628, allocations: 109.2 kB / 296.1 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5237/0.5237, allocations: 44.83 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003091/0.0003092, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4627/0.4631, allocations: 62.95 MB / 0.5165 GB, free: 36.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6543/1.117, allocations: 323.6 MB / 0.8325 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/1.118, allocations: 90.88 kB / 0.8326 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.5766/1.694, allocations: 167.7 MB / 0.9963 GB, free: 95.18 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.693e-06/1.694, allocations: 8 kB / 0.9963 GB, free: 95.17 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.255e-05/1.695, allocations: 19.94 kB / 0.9964 GB, free: 95.15 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.002603/1.697, allocations: 1.15 MB / 0.9975 GB, free: 93.95 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/1.697, allocations: 8.031 kB / 0.9975 GB, free: 93.95 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003258/1.698, allocations: 99.89 kB / 0.9976 GB, free: 93.85 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009305/1.698, allocations: 0.6339 MB / 0.9982 GB, free: 93.17 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/1.698, allocations: 41.31 kB / 0.9982 GB, free: 93.13 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-05/1.699, allocations: 55.94 kB / 0.9983 GB, free: 93.08 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/1.7, allocations: 0.8562 MB / 0.9991 GB, free: 92.17 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/1.7, allocations: 4 kB / 0.9991 GB, free: 92.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.413e-05/1.7, allocations: 27.92 kB / 0.9992 GB, free: 92.14 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/1.7, allocations: 28.98 kB / 0.9992 GB, free: 92.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/1.701, allocations: 0.7845 MB / 1 GB, free: 91.32 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003557/1.705, allocations: 3.254 MB / 1.003 GB, free: 87.91 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009719/1.706, allocations: 496.4 kB / 1.004 GB, free: 87.41 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005766/1.706, allocations: 318.2 kB / 1.004 GB, free: 87.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000284/1.707, allocations: 0.57 MB / 1.004 GB, free: 86.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/1.707, allocations: 42.55 kB / 1.005 GB, free: 86.35 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005798/1.707, allocations: 127.3 kB / 1.005 GB, free: 86.23 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 3.577e-06/1.707, allocations: 7.984 kB / 1.005 GB, free: 86.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71): time 0.04343/1.751, allocations: 8.063 MB / 1.013 GB, free: 78.01 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/1.751, allocations: 111.5 kB / 1.013 GB, free: 77.87 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007635/1.752, allocations: 0.6254 MB / 1.013 GB, free: 77.23 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001277/1.752, allocations: 41.7 kB / 1.013 GB, free: 77.19 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000169/1.752, allocations: 356.1 kB / 1.014 GB, free: 76.83 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/1.752, allocations: 244.4 kB / 1.014 GB, free: 76.59 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-05/1.752, allocations: 23.94 kB / 1.014 GB, free: 76.57 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.824e-05/1.752, allocations: 390.7 kB / 1.014 GB, free: 76.18 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/1.754, allocations: 0.5016 MB / 1.015 GB, free: 75.68 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/1.755, allocations: 0.6989 MB / 1.015 GB, free: 74.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002466/1.757, allocations: 1.215 MB / 1.017 GB, free: 73.61 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.757, allocations: 0 / 1.017 GB, free: 73.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003421/1.761, allocations: 1.56 MB / 1.018 GB, free: 72.04 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/1.761, allocations: 246.8 kB / 1.018 GB, free: 71.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/1.761, allocations: 12 kB / 1.018 GB, free: 71.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007705/1.769, allocations: 1.427 MB / 1.02 GB, free: 70.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/1.77, allocations: 239.6 kB / 1.02 GB, free: 70.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002732/1.772, allocations: 1.742 MB / 1.022 GB, free: 68.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/1.774, allocations: 111.9 kB / 1.022 GB, free: 68.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/1.774, allocations: 71.92 kB / 1.022 GB, free: 68.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/1.774, allocations: 4 kB / 1.022 GB, free: 68.07 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003678/1.778, allocations: 1.477 MB / 1.023 GB, free: 66.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/1.778, allocations: 7.984 kB / 1.023 GB, free: 66.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002888/1.781, allocations: 0.5561 MB / 1.024 GB, free: 66.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/1.782, allocations: 255.6 kB / 1.024 GB, free: 65.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003792/1.785, allocations: 2.809 MB / 1.027 GB, free: 62.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/1.787, allocations: 123.8 kB / 1.027 GB, free: 62.67 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/1.787, allocations: 67.94 kB / 1.027 GB, free: 62.61 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.0005243/1.787, allocations: 293.8 kB / 1.027 GB, free: 62.31 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/1.788, allocations: 86.97 kB / 1.027 GB, free: 62.22 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004839/1.792, allocations: 1.931 MB / 1.029 GB, free: 60.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/1.792, allocations: 20.09 kB / 1.029 GB, free: 60.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/1.792, allocations: 3.938 kB / 1.029 GB, free: 60.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/1.792, allocations: 3.984 kB / 1.029 GB, free: 60.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006828/1.799, allocations: 2.966 MB / 1.032 GB, free: 57.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/1.799, allocations: 0 / 1.032 GB, free: 57.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007414/1.8, allocations: 183.8 kB / 1.032 GB, free: 57.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006641/1.807, allocations: 1.386 MB / 1.034 GB, free: 55.64 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001726/1.807, allocations: 35.97 kB / 1.034 GB, free: 55.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/1.809, allocations: 1.621 MB / 1.035 GB, free: 53.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.809, allocations: 4.062 kB / 1.035 GB, free: 53.93 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005671/1.814, allocations: 2.349 MB / 1.038 GB, free: 51.56 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000577/1.815, allocations: 271.8 kB / 1.038 GB, free: 51.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/1.815, allocations: 20 kB / 1.038 GB, free: 51.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009311/1.816, allocations: 115.9 kB / 1.038 GB, free: 51.14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/1.816, allocations: 60.91 kB / 1.038 GB, free: 51.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.965e-05/1.816, allocations: 43.95 kB / 1.038 GB, free: 51.04 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005201/1.817, allocations: 451 kB / 1.039 GB, free: 50.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/1.817, allocations: 0 / 1.039 GB, free: 50.61 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002076/1.819, allocations: 0.7183 MB / 1.039 GB, free: 49.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.001352/1.82, allocations: 0.5943 MB / 1.04 GB, free: 49.29 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006366/1.827, allocations: 2.199 MB / 1.042 GB, free: 47.08 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/1.827, allocations: 4.562 kB / 1.042 GB, free: 47.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001488/1.828, allocations: 0.6803 MB / 1.043 GB, free: 46.39 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/1.83, allocations: 376.4 kB / 1.043 GB, free: 46.03 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003019/1.833, allocations: 2.087 MB / 1.045 GB, free: 43.91 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/1.833, allocations: 0.9736 MB / 1.046 GB, free: 42.91 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000412/1.834, allocations: 107.4 kB / 1.046 GB, free: 42.8 MB / 0.5261 GB Notification: Performance of SimCode: time 5.71e-07/1.834, allocations: 0 / 1.046 GB, free: 42.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.02799/1.862, allocations: 24.94 MB / 1.07 GB, free: 17.92 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches