Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.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.TestWaterPumpDefault,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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|valveOpening.y|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Valve.minLimiter.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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|valveOpening.y|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Valve.minLimiter.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 176.5 kB / 17.06 MB, free: 5.098 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.456/1.456, allocations: 223.2 MB / 241 MB, free: 11.89 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.0008672/0.0008671, allocations: 100.7 kB / 292.2 MB, free: 10.93 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.3901/0.3901, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004012, allocations: 8 kB / 459.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4269/0.4274, allocations: 61.9 MB / 0.5096 GB, free: 38.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.624/8.052, allocations: 2.787 GB / 3.297 GB, free: 110 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/8.052, allocations: 89.06 kB / 3.297 GB, free: 110 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.625/9.677, allocations: 444.7 MB / 3.731 GB, free: 58.59 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.174e-06/9.677, allocations: 3.219 kB / 3.731 GB, free: 58.59 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001072/9.677, allocations: 16.72 kB / 3.731 GB, free: 58.59 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.00706/9.684, allocations: 1.833 MB / 3.733 GB, free: 57.81 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/9.684, allocations: 7.781 kB / 3.733 GB, free: 57.81 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002759/9.687, allocations: 333.2 kB / 3.733 GB, free: 57.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/9.688, allocations: 0.5629 MB / 3.734 GB, free: 57.55 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.349e-05/9.688, allocations: 50.67 kB / 3.734 GB, free: 57.54 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/9.689, allocations: 53.06 kB / 3.734 GB, free: 57.54 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002487/9.691, allocations: 0.9984 MB / 3.735 GB, free: 57.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/9.691, allocations: 1.031 kB / 3.735 GB, free: 57.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.128e-05/9.691, allocations: 31.16 kB / 3.735 GB, free: 57.34 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-05/9.691, allocations: 24.69 kB / 3.735 GB, free: 57.34 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002467/9.694, allocations: 0.9059 MB / 3.736 GB, free: 57.33 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005304/9.699, allocations: 4.804 MB / 3.74 GB, free: 54.01 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/9.701, allocations: 0.6996 MB / 3.741 GB, free: 53.99 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.042/9.743, allocations: 24.07 MB / 3.765 GB, free: 39.34 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/9.743, allocations: 36.94 kB / 3.765 GB, free: 39.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=43): time 2.385e-06/9.743, allocations: 2.469 kB / 3.765 GB, free: 39.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43): time 0.006162/9.749, allocations: 1.642 MB / 3.766 GB, free: 39.13 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/9.75, allocations: 117.9 kB / 3.766 GB, free: 39 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007529/9.75, allocations: 465.5 kB / 3.767 GB, free: 38.88 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.315e-05/9.75, allocations: 29.02 kB / 3.767 GB, free: 38.85 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/9.751, allocations: 337.7 kB / 3.767 GB, free: 38.68 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/9.751, allocations: 153.5 kB / 3.767 GB, free: 38.58 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/9.751, allocations: 10.78 kB / 3.767 GB, free: 38.58 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001006/9.751, allocations: 369.1 kB / 3.768 GB, free: 38.27 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005614/9.752, allocations: 241.4 kB / 3.768 GB, free: 38.27 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000627/9.752, allocations: 417.5 kB / 3.768 GB, free: 38.06 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005931/9.753, allocations: 268.9 kB / 3.769 GB, free: 38.06 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/9.753, allocations: 0 / 3.769 GB, free: 38.06 MB / 0.5261 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001801/9.755, allocations: 0.8213 MB / 3.769 GB, free: 37.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000435/9.755, allocations: 2 MB / 3.771 GB, free: 35.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/9.755, allocations: 3.75 kB / 3.771 GB, free: 35.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001539/9.757, allocations: 295.6 kB / 3.772 GB, free: 35.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004905/9.757, allocations: 133.3 kB / 3.772 GB, free: 35.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009155/9.758, allocations: 0.7959 MB / 3.772 GB, free: 35.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00088/9.759, allocations: 123.6 kB / 3.773 GB, free: 35.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.308e-05/9.759, allocations: 31.31 kB / 3.773 GB, free: 35.33 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/9.759, allocations: 7.781 kB / 3.773 GB, free: 35.33 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002096/9.761, allocations: 0.761 MB / 3.773 GB, free: 35.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/9.761, allocations: 6.719 kB / 3.773 GB, free: 35.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/9.762, allocations: 212.8 kB / 3.774 GB, free: 35.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004516/9.763, allocations: 137.6 kB / 3.774 GB, free: 35.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007601/9.763, allocations: 0.761 MB / 3.774 GB, free: 34.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000745/9.764, allocations: 101 kB / 3.775 GB, free: 34.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.185e-05/9.764, allocations: 39.28 kB / 3.775 GB, free: 34.76 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: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004202/9.765, allocations: 284 kB / 3.775 GB, free: 34.56 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/9.765, allocations: 61.19 kB / 3.775 GB, free: 34.53 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003427/9.768, allocations: 3.014 MB / 3.778 GB, free: 34.23 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-05/9.768, allocations: 38.05 kB / 3.778 GB, free: 34.23 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/9.768, allocations: 3.062 kB / 3.778 GB, free: 34.23 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/9.768, allocations: 14.27 kB / 3.778 GB, free: 34.22 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/9.77, allocations: 1.45 MB / 3.779 GB, free: 33.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/9.77, allocations: 3.656 kB / 3.779 GB, free: 33.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003255/9.77, allocations: 93.25 kB / 3.779 GB, free: 33.94 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001991/9.772, allocations: 1.06 MB / 3.78 GB, free: 33.89 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.58e-05/9.772, allocations: 15.34 kB / 3.78 GB, free: 33.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/9.774, allocations: 1.433 MB / 3.782 GB, free: 33.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/9.774, allocations: 0 / 3.782 GB, free: 33.35 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002459/9.776, allocations: 2.028 MB / 3.784 GB, free: 33.05 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004705/9.777, allocations: 330.9 kB / 3.784 GB, free: 32.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/9.777, allocations: 5 kB / 3.784 GB, free: 32.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006416/9.778, allocations: 92.12 kB / 3.784 GB, free: 32.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/9.778, allocations: 44.58 kB / 3.784 GB, free: 32.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.777e-05/9.778, allocations: 29.33 kB / 3.784 GB, free: 32.84 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005585/9.778, allocations: 465.2 kB / 3.785 GB, free: 32.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/9.778, allocations: 0 / 3.785 GB, free: 32.73 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005938/9.784, allocations: 1.419 MB / 3.786 GB, free: 32.52 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.008969/9.793, allocations: 1.711 MB / 3.788 GB, free: 32.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003218/9.796, allocations: 1.322 MB / 3.789 GB, free: 32.16 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/9.796, allocations: 6.859 kB / 3.789 GB, free: 32.16 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001161/9.798, allocations: 0.7858 MB / 3.79 GB, free: 32.15 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001903/9.8, allocations: 330.4 kB / 3.79 GB, free: 32.12 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003985/9.804, allocations: 2.876 MB / 3.793 GB, free: 30.82 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006432/9.804, allocations: 1.158 MB / 3.794 GB, free: 30.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001096/9.805, allocations: 0.6459 MB / 3.795 GB, free: 30.08 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/9.806, allocations: 49.84 kB / 3.795 GB, free: 30.07 MB / 0.5261 GB Notification: Performance of SimCode: time 7.61e-07/9.806, allocations: 0 / 3.795 GB, free: 30.07 MB / 0.5261 GB Notification: Performance of Templates: time 0.05803/9.864, allocations: 42.92 MB / 3.837 GB, free: 27.56 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefault/TestWaterPumpDefault.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches