Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.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.TestWaterPumpNPSH,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.TestWaterPumpNPSH") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,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.TestWaterPumpNPSH") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 184.8 kB / 17.06 MB, free: 5.074 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.478/1.478, allocations: 223.2 MB / 241 MB, free: 11.88 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.0009252/0.0009249, allocations: 88.48 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.4303/0.4303, allocations: 44.22 MB / 387.5 MB, free: 39.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003528, allocations: 12 kB / 459.9 MB, free: 1.777 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4867/0.4871, allocations: 61.89 MB / 0.5096 GB, free: 38.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.738/7.225, allocations: 2.792 GB / 3.302 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/7.226, allocations: 97.36 kB / 3.302 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.333/8.559, allocations: 445.7 MB / 3.737 GB, free: 58.45 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.635e-06/8.559, allocations: 1 kB / 3.737 GB, free: 58.45 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.139e-05/8.559, allocations: 15.34 kB / 3.737 GB, free: 58.45 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.01049/8.57, allocations: 1.853 MB / 3.739 GB, free: 57.65 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/8.57, allocations: 9.062 kB / 3.739 GB, free: 57.65 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004504/8.574, allocations: 355.4 kB / 3.739 GB, free: 57.61 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/8.576, allocations: 0.5745 MB / 3.74 GB, free: 57.36 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.661e-05/8.576, allocations: 46.44 kB / 3.74 GB, free: 57.36 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/8.576, allocations: 56.09 kB / 3.74 GB, free: 57.36 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003831/8.58, allocations: 1.02 MB / 3.741 GB, free: 57.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/8.58, allocations: 0 / 3.741 GB, free: 57.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/8.581, allocations: 30.62 kB / 3.741 GB, free: 57.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-05/8.581, allocations: 21.19 kB / 3.741 GB, free: 57.16 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004294/8.585, allocations: 0.9282 MB / 3.742 GB, free: 57.14 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.00801/8.593, allocations: 4.919 MB / 3.747 GB, free: 53.76 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003929/8.597, allocations: 0.7784 MB / 3.747 GB, free: 53.73 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05927/8.656, allocations: 24.21 MB / 3.771 GB, free: 38.99 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/8.656, allocations: 40.95 kB / 3.771 GB, free: 38.95 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=46): time 2.504e-06/8.656, allocations: 0 / 3.771 GB, free: 38.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46): time 0.005936/8.662, allocations: 1.65 MB / 3.773 GB, free: 38.78 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/8.662, allocations: 106.6 kB / 3.773 GB, free: 38.65 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005729/8.663, allocations: 463.3 kB / 3.773 GB, free: 38.53 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.673e-05/8.663, allocations: 34.66 kB / 3.773 GB, free: 38.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/8.663, allocations: 339 kB / 3.774 GB, free: 38.33 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/8.663, allocations: 162.1 kB / 3.774 GB, free: 38.23 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/8.663, allocations: 9.25 kB / 3.774 GB, free: 38.23 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.814e-05/8.663, allocations: 364.1 kB / 3.774 GB, free: 37.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005314/8.664, allocations: 251 kB / 3.774 GB, free: 37.91 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005973/8.664, allocations: 429.1 kB / 3.775 GB, free: 37.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005598/8.665, allocations: 282.7 kB / 3.775 GB, free: 37.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/8.665, allocations: 3.594 kB / 3.775 GB, free: 37.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00162/8.667, allocations: 0.8333 MB / 3.776 GB, free: 37.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003374/8.667, allocations: 2.01 MB / 3.778 GB, free: 35.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/8.667, allocations: 6.375 kB / 3.778 GB, free: 35.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/8.668, allocations: 302.4 kB / 3.778 GB, free: 35.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004638/8.669, allocations: 137.6 kB / 3.778 GB, free: 35.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/8.67, allocations: 0.8026 MB / 3.779 GB, free: 35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007559/8.671, allocations: 119.4 kB / 3.779 GB, free: 34.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.978e-05/8.671, allocations: 34.61 kB / 3.779 GB, free: 34.97 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/8.671, allocations: 3.469 kB / 3.779 GB, free: 34.97 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001692/8.673, allocations: 0.7733 MB / 3.78 GB, free: 34.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/8.673, allocations: 3.938 kB / 3.78 GB, free: 34.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009869/8.674, allocations: 214.8 kB / 3.78 GB, free: 34.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004439/8.674, allocations: 145.2 kB / 3.78 GB, free: 34.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007067/8.675, allocations: 0.7549 MB / 3.781 GB, free: 34.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000637/8.676, allocations: 111.5 kB / 3.781 GB, free: 34.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/8.676, allocations: 32.23 kB / 3.781 GB, free: 34.4 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 (58): * Single equations (assignments): 57 * 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.0003508/8.676, allocations: 296.4 kB / 3.781 GB, free: 34.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/8.676, allocations: 63.23 kB / 3.782 GB, free: 34.17 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003336/8.679, allocations: 3.055 MB / 3.784 GB, free: 33.87 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-05/8.679, allocations: 41.77 kB / 3.785 GB, free: 33.87 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/8.679, allocations: 6.859 kB / 3.785 GB, free: 33.87 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/8.679, allocations: 3.422 kB / 3.785 GB, free: 33.87 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/8.681, allocations: 1.475 MB / 3.786 GB, free: 33.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/8.681, allocations: 0 / 3.786 GB, free: 33.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003281/8.681, allocations: 100.9 kB / 3.786 GB, free: 33.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001876/8.683, allocations: 1.002 MB / 3.787 GB, free: 33.55 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.006e-05/8.683, allocations: 15.56 kB / 3.787 GB, free: 33.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/8.684, allocations: 1.452 MB / 3.788 GB, free: 32.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/8.684, allocations: 3.719 kB / 3.788 GB, free: 32.99 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002391/8.687, allocations: 2.06 MB / 3.791 GB, free: 32.67 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004763/8.687, allocations: 333 kB / 3.791 GB, free: 32.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/8.687, allocations: 16.31 kB / 3.791 GB, free: 32.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006189/8.688, allocations: 86.33 kB / 3.791 GB, free: 32.46 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/8.688, allocations: 49.47 kB / 3.791 GB, free: 32.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.322e-05/8.688, allocations: 21.11 kB / 3.791 GB, free: 32.46 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005208/8.689, allocations: 479 kB / 3.791 GB, free: 32.35 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/8.689, allocations: 0 / 3.791 GB, free: 32.35 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006311/8.695, allocations: 1.435 MB / 3.793 GB, free: 32.13 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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.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 (45): * Single equations (assignments): 35 * 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.007848/8.703, allocations: 1.711 MB / 3.795 GB, free: 31.74 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003075/8.706, allocations: 1.369 MB / 3.796 GB, free: 31.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/8.706, allocations: 0 / 3.796 GB, free: 31.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009432/8.707, allocations: 0.8074 MB / 3.797 GB, free: 31.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/8.709, allocations: 320.2 kB / 3.797 GB, free: 31.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/8.712, allocations: 2.916 MB / 3.8 GB, free: 30.36 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/8.712, allocations: 1.164 MB / 3.801 GB, free: 29.63 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008961/8.713, allocations: 0.6599 MB / 3.802 GB, free: 29.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/8.713, allocations: 58.59 kB / 3.802 GB, free: 29.59 MB / 0.5261 GB Notification: Performance of SimCode: time 2.31e-07/8.713, allocations: 0 / 3.802 GB, free: 29.59 MB / 0.5261 GB Notification: Performance of Templates: time 0.05744/8.771, allocations: 43.1 MB / 3.844 GB, free: 26.37 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpNPSH/TestWaterPumpNPSH.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches