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.001419/0.001424, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.98/1.98, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001577/0.001577, allocations: 87.45 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2963/0.2963, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.166e-05/2.179e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4154, allocations: 58.85 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.03/8.445, allocations: 2.786 GB / 3.252 GB, free: 2.945 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/8.446, allocations: 86.39 kB / 3.252 GB, free: 2.902 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 2.509/10.95, allocations: 435.5 MB / 3.677 GB, free: 57.6 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.553e-06/10.95, allocations: 2.875 kB / 3.677 GB, free: 57.6 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 6.538e-05/10.95, allocations: 19.33 kB / 3.677 GB, free: 57.6 MB / 0.4952 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.007817/10.96, allocations: 1.769 MB / 3.679 GB, free: 56.89 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/10.96, allocations: 9.031 kB / 3.679 GB, free: 56.89 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003857/10.97, allocations: 359.3 kB / 3.679 GB, free: 56.86 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/10.97, allocations: 0.5736 MB / 3.68 GB, free: 56.62 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.075e-05/10.97, allocations: 23.25 kB / 3.68 GB, free: 56.62 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/10.97, allocations: 31.88 kB / 3.68 GB, free: 56.62 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001436/10.97, allocations: 0.5516 MB / 3.68 GB, free: 56.62 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/10.97, allocations: 0.6788 MB / 3.681 GB, free: 56.42 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/10.97, allocations: 2.906 kB / 3.681 GB, free: 56.42 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.415e-05/10.97, allocations: 3.812 kB / 3.681 GB, free: 56.42 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.333e-05/10.97, allocations: 20.34 kB / 3.681 GB, free: 56.42 MB / 0.4952 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.1315/11.1, allocations: 44.37 MB / 3.724 GB, free: 29.08 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/11.1, allocations: 370.7 kB / 3.725 GB, free: 29.05 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004072/11.1, allocations: 199.5 kB / 3.725 GB, free: 29.04 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07695/11.18, allocations: 24.29 MB / 3.749 GB, free: 29.47 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.727e-05/11.18, allocations: 49.69 kB / 3.749 GB, free: 29.43 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=42): time 2.966e-06/11.18, allocations: 3.938 kB / 3.749 GB, free: 29.43 MB / 0.5108 GB Notification: Performance of matching and sorting (n=42): time 0.004174/11.19, allocations: 0.8452 MB / 3.75 GB, free: 29.34 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/11.19, allocations: 109.6 kB / 3.75 GB, free: 29.21 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006659/11.19, allocations: 399.9 kB / 3.75 GB, free: 29.1 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 7.356e-05/11.19, allocations: 29.64 kB / 3.75 GB, free: 29.07 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002595/11.19, allocations: 389.2 kB / 3.751 GB, free: 28.81 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/11.19, allocations: 140.9 kB / 3.751 GB, free: 28.72 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/11.19, allocations: 0 / 3.751 GB, free: 28.72 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001457/11.19, allocations: 336.5 kB / 3.751 GB, free: 28.41 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004029/11.19, allocations: 168.2 kB / 3.751 GB, free: 28.41 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005111/11.19, allocations: 345.9 kB / 3.751 GB, free: 28.2 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/11.19, allocations: 314.3 kB / 3.752 GB, free: 28.19 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/11.19, allocations: 3.969 kB / 3.752 GB, free: 28.19 MB / 0.5108 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002833/11.19, allocations: 0.7024 MB / 3.752 GB, free: 28.12 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008683/11.19, allocations: 2.008 MB / 3.754 GB, free: 26.02 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/11.19, allocations: 11.45 kB / 3.754 GB, free: 26.01 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/11.2, allocations: 178.3 kB / 3.755 GB, free: 26 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/11.2, allocations: 144 kB / 3.755 GB, free: 26 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/11.2, allocations: 0.8254 MB / 3.756 GB, free: 25.47 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/11.2, allocations: 126.1 kB / 3.756 GB, free: 25.44 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.67e-05/11.2, allocations: 34.45 kB / 3.756 GB, free: 25.44 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/11.2, allocations: 5.562 kB / 3.756 GB, free: 25.44 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003372/11.2, allocations: 0.6307 MB / 3.756 GB, free: 25.41 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/11.2, allocations: 3.219 kB / 3.756 GB, free: 25.41 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/11.2, allocations: 156.6 kB / 3.756 GB, free: 25.39 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009514/11.21, allocations: 139.9 kB / 3.757 GB, free: 25.39 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009627/11.21, allocations: 0.7126 MB / 3.757 GB, free: 24.87 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/11.21, allocations: 101.8 kB / 3.757 GB, free: 24.84 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.33e-05/11.21, allocations: 35.59 kB / 3.757 GB, free: 24.84 MB / 0.5108 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 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.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.0002967/11.21, allocations: 122.3 kB / 3.758 GB, free: 24.73 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/11.21, allocations: 57.97 kB / 3.758 GB, free: 24.71 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00449/11.21, allocations: 2.531 MB / 3.76 GB, free: 24.43 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.735e-05/11.21, allocations: 37.81 kB / 3.76 GB, free: 24.43 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/11.21, allocations: 0 / 3.76 GB, free: 24.43 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/11.21, allocations: 7.891 kB / 3.76 GB, free: 24.42 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005904/11.22, allocations: 3.399 MB / 3.763 GB, free: 23.98 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/11.22, allocations: 0 / 3.763 GB, free: 23.98 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005144/11.22, allocations: 76.03 kB / 3.763 GB, free: 23.98 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002071/11.22, allocations: 1.109 MB / 3.765 GB, free: 23.93 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.489e-05/11.22, allocations: 5.812 kB / 3.765 GB, free: 23.93 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002385/11.22, allocations: 1.637 MB / 3.766 GB, free: 23.37 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/11.22, allocations: 0 / 3.766 GB, free: 23.37 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003418/11.23, allocations: 1.819 MB / 3.768 GB, free: 23.07 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006062/11.23, allocations: 291.3 kB / 3.768 GB, free: 22.89 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/11.23, allocations: 0 / 3.768 GB, free: 22.89 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009336/11.23, allocations: 72.17 kB / 3.768 GB, free: 22.88 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/11.23, allocations: 40.42 kB / 3.768 GB, free: 22.88 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.045e-05/11.23, allocations: 23.11 kB / 3.768 GB, free: 22.88 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0006304/11.23, allocations: 373.6 kB / 3.769 GB, free: 22.79 MB / 0.5108 GB Notification: Performance of sort global known variables: time 4.21e-07/11.23, allocations: 1.031 kB / 3.769 GB, free: 22.79 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.006652/11.24, allocations: 1.395 MB / 3.77 GB, free: 22.57 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.01104/11.25, allocations: 1.807 MB / 3.772 GB, free: 22.17 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.002951/11.25, allocations: 1.03 MB / 3.773 GB, free: 22.14 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/11.25, allocations: 2.812 kB / 3.773 GB, free: 22.14 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/11.25, allocations: 0.6255 MB / 3.773 GB, free: 22.13 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002477/11.25, allocations: 262.7 kB / 3.774 GB, free: 22.11 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003286/11.26, allocations: 1.538 MB / 3.775 GB, free: 21.7 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007458/11.26, allocations: 1.108 MB / 3.776 GB, free: 20.98 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003095/11.26, allocations: 62.64 kB / 3.776 GB, free: 20.97 MB / 0.5108 GB Notification: Performance of SimCode: time 9.22e-07/11.26, allocations: 0 / 3.776 GB, free: 20.97 MB / 0.5108 GB Notification: Performance of Templates: time 0.07455/11.33, allocations: 37.21 MB / 3.813 GB, free: 9.555 MB / 0.5108 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