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.002048/0.002052, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.996/1.996, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001105/0.001105, allocations: 86.66 kB / 267.5 MB, free: 14.04 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.299/0.299, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.082e-05/4.118e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1167, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.085/8.201, allocations: 2.787 GB / 3.259 GB, free: 57.31 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/8.202, allocations: 90.91 kB / 3.259 GB, free: 57.27 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.226/10.43, allocations: 439.8 MB / 3.689 GB, free: 38.22 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.903e-06/10.43, allocations: 0 / 3.689 GB, free: 38.22 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.303e-05/10.43, allocations: 23.05 kB / 3.689 GB, free: 38.2 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.007364/10.43, allocations: 1.765 MB / 3.691 GB, free: 36.39 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/10.44, allocations: 12.03 kB / 3.691 GB, free: 36.38 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003701/10.44, allocations: 346.8 kB / 3.691 GB, free: 36.04 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/10.44, allocations: 0.5755 MB / 3.692 GB, free: 35.43 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.62e-05/10.44, allocations: 52.59 kB / 3.692 GB, free: 35.39 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/10.44, allocations: 56 kB / 3.692 GB, free: 35.33 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002835/10.44, allocations: 0.9936 MB / 3.693 GB, free: 34.27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/10.44, allocations: 0 / 3.693 GB, free: 34.27 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/10.44, allocations: 24 kB / 3.693 GB, free: 34.25 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.006e-05/10.44, allocations: 21.31 kB / 3.693 GB, free: 34.23 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0026/10.45, allocations: 0.8247 MB / 3.694 GB, free: 33.4 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.007124/10.45, allocations: 4.921 MB / 3.698 GB, free: 28.07 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002654/10.46, allocations: 0.7068 MB / 3.699 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000493/10.46, allocations: 229.6 kB / 3.699 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4498/10.91, allocations: 24.28 MB / 3.723 GB, free: 65.03 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.001e-05/10.91, allocations: 36.55 kB / 3.723 GB, free: 64.99 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=46): time 3.056e-06/10.91, allocations: 2.375 kB / 3.723 GB, free: 64.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46): time 0.005432/10.91, allocations: 1.074 MB / 3.724 GB, free: 64.94 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/10.91, allocations: 109.3 kB / 3.724 GB, free: 64.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008522/10.91, allocations: 448.5 kB / 3.725 GB, free: 64.71 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000113/10.91, allocations: 39.2 kB / 3.725 GB, free: 64.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/10.91, allocations: 367.9 kB / 3.725 GB, free: 64.48 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/10.91, allocations: 158.9 kB / 3.725 GB, free: 64.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.151e-05/10.91, allocations: 15.48 kB / 3.725 GB, free: 64.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.898e-05/10.91, allocations: 335.9 kB / 3.725 GB, free: 64.09 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005158/10.91, allocations: 169.9 kB / 3.726 GB, free: 64.09 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000648/10.91, allocations: 356 kB / 3.726 GB, free: 63.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000666/10.92, allocations: 217.5 kB / 3.726 GB, free: 63.89 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.575e-06/10.92, allocations: 2.062 kB / 3.726 GB, free: 63.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001924/10.92, allocations: 0.6403 MB / 3.727 GB, free: 63.83 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004468/10.92, allocations: 2.007 MB / 3.729 GB, free: 61.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/10.92, allocations: 5.578 kB / 3.729 GB, free: 61.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00225/10.92, allocations: 265 kB / 3.729 GB, free: 61.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/10.92, allocations: 139.5 kB / 3.729 GB, free: 61.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/10.92, allocations: 0.7551 MB / 3.73 GB, free: 61.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/10.92, allocations: 122.8 kB / 3.73 GB, free: 61.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/10.92, allocations: 31.72 kB / 3.73 GB, free: 61.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/10.92, allocations: 6.062 kB / 3.73 GB, free: 61.2 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001976/10.93, allocations: 0.616 MB / 3.731 GB, free: 61.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/10.93, allocations: 9.969 kB / 3.731 GB, free: 61.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/10.93, allocations: 154.5 kB / 3.731 GB, free: 61.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/10.93, allocations: 141 kB / 3.731 GB, free: 61.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007828/10.93, allocations: 0.7033 MB / 3.732 GB, free: 60.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/10.93, allocations: 102.7 kB / 3.732 GB, free: 60.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.424e-05/10.93, allocations: 32.97 kB / 3.732 GB, free: 60.64 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 () * 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.0003002/10.93, allocations: 139.4 kB / 3.732 GB, free: 60.53 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002275/10.93, allocations: 64.33 kB / 3.732 GB, free: 60.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004886/10.94, allocations: 3.028 MB / 3.735 GB, free: 60.21 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.55e-05/10.94, allocations: 42.22 kB / 3.735 GB, free: 60.21 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/10.94, allocations: 3.375 kB / 3.735 GB, free: 60.21 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.885e-05/10.94, allocations: 4.188 kB / 3.735 GB, free: 60.21 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/10.94, allocations: 1.479 MB / 3.736 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/10.94, allocations: 1.25 kB / 3.736 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007511/10.94, allocations: 96.55 kB / 3.736 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003558/10.94, allocations: 1.165 MB / 3.738 GB, free: 59.93 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/10.94, allocations: 10.72 kB / 3.738 GB, free: 59.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/10.95, allocations: 1.491 MB / 3.739 GB, free: 59.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/10.95, allocations: 3.516 kB / 3.739 GB, free: 59.37 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003931/10.95, allocations: 1.998 MB / 3.741 GB, free: 59.06 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008099/10.95, allocations: 334.9 kB / 3.741 GB, free: 58.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/10.95, allocations: 15.31 kB / 3.741 GB, free: 58.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/10.95, allocations: 78.22 kB / 3.741 GB, free: 58.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/10.95, allocations: 53.69 kB / 3.741 GB, free: 58.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.783e-05/10.95, allocations: 26.23 kB / 3.741 GB, free: 58.89 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009402/10.95, allocations: 452.9 kB / 3.742 GB, free: 58.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.61e-07/10.95, allocations: 1.219 kB / 3.742 GB, free: 58.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007164/10.96, allocations: 1.432 MB / 3.743 GB, free: 58.77 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 () * 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.01133/10.97, allocations: 1.709 MB / 3.745 GB, free: 58.61 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00375/10.98, allocations: 1.159 MB / 3.746 GB, free: 58.58 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/10.98, allocations: 0 / 3.746 GB, free: 58.58 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001347/10.98, allocations: 0.7383 MB / 3.747 GB, free: 58.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002986/10.98, allocations: 321.2 kB / 3.747 GB, free: 58.56 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003903/10.98, allocations: 1.803 MB / 3.749 GB, free: 58.14 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008124/10.98, allocations: 1.161 MB / 3.75 GB, free: 57.43 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003585/10.98, allocations: 65.72 kB / 3.75 GB, free: 57.43 MB / 0.5105 GB Notification: Performance of SimCode: time 1.012e-06/10.98, allocations: 1.406 kB / 3.75 GB, free: 57.43 MB / 0.5105 GB Notification: Performance of Templates: time 0.07707/11.06, allocations: 38 MB / 3.787 GB, free: 55.34 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