Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002183/0.002183, allocations: 182.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001199/0.001199, allocations: 94.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2846/0.2846, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004198/0.0004198, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1698, allocations: 58.86 MB / 490.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.095/6.265, allocations: 2.787 GB / 3.265 GB, free: 53.18 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/6.265, allocations: 90.89 kB / 3.266 GB, free: 53.14 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.294/7.559, allocations: 441 MB / 3.696 GB, free: 32.64 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.953e-06/7.559, allocations: 0 / 3.696 GB, free: 32.64 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.645e-05/7.56, allocations: 22.81 kB / 3.696 GB, free: 32.62 MB / 0.5105 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.006617/7.566, allocations: 1.838 MB / 3.698 GB, free: 30.75 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/7.566, allocations: 8.031 kB / 3.698 GB, free: 30.74 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002489/7.569, allocations: 349 kB / 3.698 GB, free: 30.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009126/7.57, allocations: 0.5753 MB / 3.699 GB, free: 29.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.431e-05/7.57, allocations: 49.31 kB / 3.699 GB, free: 29.75 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.362e-05/7.57, allocations: 56 kB / 3.699 GB, free: 29.69 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/7.572, allocations: 1.023 MB / 3.7 GB, free: 28.61 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/7.572, allocations: 7.938 kB / 3.7 GB, free: 28.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-05/7.572, allocations: 24 kB / 3.7 GB, free: 28.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-05/7.572, allocations: 21.31 kB / 3.7 GB, free: 28.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/7.574, allocations: 0.926 MB / 3.701 GB, free: 27.63 MB / 0.5105 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.004949/7.579, allocations: 4.928 MB / 3.706 GB, free: 22.29 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/7.581, allocations: 0.7731 MB / 3.707 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.297/7.878, allocations: 24.2 MB / 3.73 GB, free: 57.13 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/7.878, allocations: 40.66 kB / 3.73 GB, free: 57.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=46): time 3.136e-06/7.878, allocations: 0 / 3.73 GB, free: 57.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46): time 0.005881/7.884, allocations: 1.656 MB / 3.732 GB, free: 56.95 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/7.884, allocations: 107.5 kB / 3.732 GB, free: 56.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006281/7.885, allocations: 463.7 kB / 3.732 GB, free: 56.71 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.595e-05/7.885, allocations: 33.64 kB / 3.732 GB, free: 56.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/7.885, allocations: 340 kB / 3.733 GB, free: 56.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/7.885, allocations: 163.2 kB / 3.733 GB, free: 56.48 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/7.885, allocations: 10.38 kB / 3.733 GB, free: 56.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.498e-05/7.886, allocations: 375.1 kB / 3.733 GB, free: 56.17 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005389/7.886, allocations: 246.3 kB / 3.733 GB, free: 56.17 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006057/7.887, allocations: 420.3 kB / 3.734 GB, free: 55.96 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005882/7.887, allocations: 296.6 kB / 3.734 GB, free: 55.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/7.887, allocations: 2.25 kB / 3.734 GB, free: 55.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001747/7.889, allocations: 0.8335 MB / 3.735 GB, free: 55.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003343/7.889, allocations: 2.001 MB / 3.737 GB, free: 53.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/7.889, allocations: 7.031 kB / 3.737 GB, free: 53.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001503/7.891, allocations: 301.1 kB / 3.737 GB, free: 53.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004985/7.891, allocations: 136.8 kB / 3.737 GB, free: 53.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/7.893, allocations: 0.8023 MB / 3.738 GB, free: 53.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007564/7.893, allocations: 121.9 kB / 3.738 GB, free: 53.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.464e-05/7.894, allocations: 40.89 kB / 3.738 GB, free: 53.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/7.894, allocations: 3.906 kB / 3.738 GB, free: 53.25 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00171/7.895, allocations: 0.7653 MB / 3.739 GB, free: 53.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/7.895, allocations: 7.281 kB / 3.739 GB, free: 53.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/7.896, allocations: 213.9 kB / 3.739 GB, free: 53.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005109/7.897, allocations: 142.4 kB / 3.739 GB, free: 53.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007756/7.898, allocations: 0.7599 MB / 3.74 GB, free: 52.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005767/7.898, allocations: 110.5 kB / 3.74 GB, free: 52.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.648e-05/7.898, allocations: 30.38 kB / 3.74 GB, free: 52.69 MB / 0.5105 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.0003268/7.899, allocations: 279.5 kB / 3.741 GB, free: 52.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/7.899, allocations: 69.61 kB / 3.741 GB, free: 52.47 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003821/7.903, allocations: 3.058 MB / 3.744 GB, free: 52.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.8e-05/7.903, allocations: 43.16 kB / 3.744 GB, free: 52.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/7.903, allocations: 1.031 kB / 3.744 GB, free: 52.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/7.903, allocations: 8.328 kB / 3.744 GB, free: 52.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/7.904, allocations: 1.47 MB / 3.745 GB, free: 51.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/7.904, allocations: 4.406 kB / 3.745 GB, free: 51.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004111/7.905, allocations: 96.7 kB / 3.745 GB, free: 51.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002396/7.907, allocations: 1.005 MB / 3.746 GB, free: 51.94 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.292e-05/7.907, allocations: 14.19 kB / 3.746 GB, free: 51.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001569/7.909, allocations: 1.45 MB / 3.748 GB, free: 51.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/7.909, allocations: 3.766 kB / 3.748 GB, free: 51.38 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003183/7.912, allocations: 2.061 MB / 3.75 GB, free: 51.08 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006397/7.913, allocations: 337.8 kB / 3.75 GB, free: 50.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-05/7.913, allocations: 14.38 kB / 3.75 GB, free: 50.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005925/7.913, allocations: 89.11 kB / 3.75 GB, free: 50.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/7.914, allocations: 49.27 kB / 3.75 GB, free: 50.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.115e-05/7.914, allocations: 25.11 kB / 3.75 GB, free: 50.91 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000674/7.914, allocations: 466.6 kB / 3.751 GB, free: 50.81 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/7.914, allocations: 0 / 3.751 GB, free: 50.81 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006164/7.92, allocations: 1.429 MB / 3.752 GB, free: 50.8 MB / 0.5105 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.005659/7.926, allocations: 1.715 MB / 3.754 GB, free: 50.63 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003063/7.929, allocations: 1.368 MB / 3.755 GB, free: 50.61 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/7.929, allocations: 3.047 kB / 3.755 GB, free: 50.61 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/7.93, allocations: 0.8075 MB / 3.756 GB, free: 50.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/7.932, allocations: 312.1 kB / 3.756 GB, free: 50.59 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/7.935, allocations: 2.926 MB / 3.759 GB, free: 49.31 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/7.935, allocations: 1.164 MB / 3.76 GB, free: 48.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008624/7.936, allocations: 0.6567 MB / 3.761 GB, free: 48.59 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/7.936, allocations: 63.52 kB / 3.761 GB, free: 48.58 MB / 0.5105 GB Notification: Performance of SimCode: time 7.41e-07/7.936, allocations: 0 / 3.761 GB, free: 48.58 MB / 0.5105 GB Notification: Performance of Templates: time 0.0536/7.99, allocations: 43.01 MB / 3.803 GB, free: 47.1 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpNPSH/TestWaterPumpNPSH.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches