Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.00238/0.002384, allocations: 184.6 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.992/1.992, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001152/0.001152, allocations: 88.42 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4981/0.4981, allocations: 43.56 MB / 362.7 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005405/0.0005406, allocations: 23.92 kB / 431.4 MB, free: 5.934 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1371, allocations: 58.84 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.285/8.422, allocations: 2.787 GB / 3.265 GB, free: 21.48 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/8.423, allocations: 84.58 kB / 3.266 GB, free: 21.44 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.466/10.89, allocations: 441 MB / 3.696 GB, free: 57.21 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.174e-06/10.89, allocations: 0 / 3.696 GB, free: 57.21 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.829e-05/10.89, allocations: 16.55 kB / 3.696 GB, free: 57.21 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.007724/10.9, allocations: 1.849 MB / 3.698 GB, free: 56.53 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/10.9, allocations: 9.969 kB / 3.698 GB, free: 56.53 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003805/10.9, allocations: 358.8 kB / 3.698 GB, free: 56.49 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/10.9, allocations: 0.5703 MB / 3.699 GB, free: 56.25 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.987e-05/10.9, allocations: 50.77 kB / 3.699 GB, free: 56.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/10.9, allocations: 54.94 kB / 3.699 GB, free: 56.25 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003824/10.91, allocations: 1.022 MB / 3.7 GB, free: 56.05 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.473e-05/10.91, allocations: 4.156 kB / 3.7 GB, free: 56.05 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/10.91, allocations: 26.41 kB / 3.7 GB, free: 56.05 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.781e-05/10.91, allocations: 21.91 kB / 3.7 GB, free: 56.05 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004174/10.91, allocations: 0.9224 MB / 3.701 GB, free: 56.05 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.007519/10.92, allocations: 4.92 MB / 3.706 GB, free: 52.67 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003805/10.92, allocations: 0.784 MB / 3.707 GB, free: 52.65 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07391/11, allocations: 24.2 MB / 3.73 GB, free: 37.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/11, allocations: 40.09 kB / 3.73 GB, free: 37.87 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=46): time 2.956e-06/11, allocations: 0 / 3.73 GB, free: 37.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46): time 0.01013/11.01, allocations: 1.66 MB / 3.732 GB, free: 37.69 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/11.01, allocations: 111.6 kB / 3.732 GB, free: 37.57 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008317/11.01, allocations: 459 kB / 3.732 GB, free: 37.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.72e-05/11.01, allocations: 36.2 kB / 3.732 GB, free: 37.42 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/11.01, allocations: 370.7 kB / 3.733 GB, free: 37.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/11.01, allocations: 163.2 kB / 3.733 GB, free: 37.12 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.913e-05/11.01, allocations: 8.875 kB / 3.733 GB, free: 37.12 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.041e-05/11.01, allocations: 336.9 kB / 3.733 GB, free: 36.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/11.01, allocations: 249 kB / 3.733 GB, free: 36.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/11.01, allocations: 425.6 kB / 3.734 GB, free: 36.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/11.01, allocations: 283.6 kB / 3.734 GB, free: 36.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/11.01, allocations: 0 / 3.734 GB, free: 36.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003076/11.01, allocations: 0.8072 MB / 3.735 GB, free: 36.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004093/11.02, allocations: 2.005 MB / 3.737 GB, free: 34.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/11.02, allocations: 9.062 kB / 3.737 GB, free: 34.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002532/11.02, allocations: 295.1 kB / 3.737 GB, free: 34.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/11.02, allocations: 146.9 kB / 3.737 GB, free: 34.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/11.02, allocations: 0.7936 MB / 3.738 GB, free: 33.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/11.02, allocations: 132.6 kB / 3.738 GB, free: 33.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.088e-05/11.02, allocations: 34.83 kB / 3.738 GB, free: 33.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/11.02, allocations: 3.875 kB / 3.738 GB, free: 33.88 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003336/11.03, allocations: 0.7702 MB / 3.739 GB, free: 33.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/11.03, allocations: 4.156 kB / 3.739 GB, free: 33.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001654/11.03, allocations: 189.9 kB / 3.739 GB, free: 33.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009511/11.03, allocations: 148.9 kB / 3.739 GB, free: 33.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/11.03, allocations: 0.7379 MB / 3.74 GB, free: 33.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009862/11.03, allocations: 109.5 kB / 3.74 GB, free: 33.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.071e-05/11.03, allocations: 32.77 kB / 3.74 GB, free: 33.31 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.0005526/11.03, allocations: 291.1 kB / 3.74 GB, free: 33.12 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/11.03, allocations: 63 kB / 3.741 GB, free: 33.09 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006181/11.04, allocations: 3.057 MB / 3.744 GB, free: 32.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-05/11.04, allocations: 44.28 kB / 3.744 GB, free: 32.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/11.04, allocations: 3.875 kB / 3.744 GB, free: 32.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/11.04, allocations: 3.516 kB / 3.744 GB, free: 32.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/11.04, allocations: 1.469 MB / 3.745 GB, free: 32.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.433e-06/11.04, allocations: 2.062 kB / 3.745 GB, free: 32.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007219/11.04, allocations: 102.8 kB / 3.745 GB, free: 32.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003354/11.04, allocations: 1.003 MB / 3.746 GB, free: 32.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.874e-05/11.04, allocations: 16.03 kB / 3.746 GB, free: 32.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002251/11.05, allocations: 1.454 MB / 3.748 GB, free: 31.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/11.05, allocations: 0 / 3.748 GB, free: 31.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004274/11.05, allocations: 2.061 MB / 3.75 GB, free: 31.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007726/11.05, allocations: 338.8 kB / 3.75 GB, free: 31.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/11.05, allocations: 10.59 kB / 3.75 GB, free: 31.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/11.05, allocations: 86.42 kB / 3.75 GB, free: 31.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/11.05, allocations: 49.81 kB / 3.75 GB, free: 31.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.396e-05/11.05, allocations: 24.59 kB / 3.75 GB, free: 31.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009097/11.05, allocations: 464.2 kB / 3.75 GB, free: 31.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.252e-06/11.05, allocations: 0 / 3.75 GB, free: 31.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007028/11.06, allocations: 1.433 MB / 3.752 GB, free: 31.09 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.011/11.07, allocations: 1.717 MB / 3.754 GB, free: 30.78 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00534/11.08, allocations: 1.364 MB / 3.755 GB, free: 30.75 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/11.08, allocations: 1.375 kB / 3.755 GB, free: 30.75 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001859/11.08, allocations: 0.8073 MB / 3.756 GB, free: 30.74 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002958/11.08, allocations: 317.5 kB / 3.756 GB, free: 30.73 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005301/11.09, allocations: 2.962 MB / 3.759 GB, free: 29.43 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006706/11.09, allocations: 1.163 MB / 3.76 GB, free: 28.72 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003435/11.09, allocations: 62.5 kB / 3.76 GB, free: 28.71 MB / 0.5105 GB Notification: Performance of SimCode: time 1.342e-06/11.09, allocations: 0 / 3.76 GB, free: 28.71 MB / 0.5105 GB Notification: Performance of Templates: time 0.07343/11.16, allocations: 38.25 MB / 3.797 GB, free: 25.47 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches