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.001102/0.001102, allocations: 180.9 kB / 8.006 MB, free: 1.07 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.591/1.591, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008436/0.0008435, allocations: 82.64 kB / 261.7 MB, free: 1.676 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.2068/0.2068, allocations: 43.49 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.457e-05/2.46e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1267, allocations: 58.87 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.626/6.753, allocations: 2.786 GB / 3.252 GB, free: 85.67 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/6.753, allocations: 87.48 kB / 3.252 GB, free: 85.62 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.437/8.19, allocations: 435.5 MB / 3.677 GB, free: 40.51 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.332e-06/8.19, allocations: 0 / 3.677 GB, free: 40.51 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.971e-05/8.19, allocations: 21.72 kB / 3.677 GB, free: 40.49 MB / 0.4948 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.006459/8.197, allocations: 1.764 MB / 3.679 GB, free: 38.69 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/8.197, allocations: 8.031 kB / 3.679 GB, free: 38.68 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002787/8.2, allocations: 346.8 kB / 3.679 GB, free: 38.34 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/8.201, allocations: 0.5782 MB / 3.68 GB, free: 37.73 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.996e-05/8.201, allocations: 24 kB / 3.68 GB, free: 37.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/8.201, allocations: 39.94 kB / 3.68 GB, free: 37.67 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009531/8.202, allocations: 0.5499 MB / 3.681 GB, free: 37.12 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/8.203, allocations: 0.6822 MB / 3.681 GB, free: 36.37 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/8.203, allocations: 3.844 kB / 3.681 GB, free: 36.37 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.365e-05/8.203, allocations: 4 kB / 3.681 GB, free: 36.37 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.803e-05/8.203, allocations: 25.3 kB / 3.681 GB, free: 36.34 MB / 0.4948 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.07401/8.277, allocations: 44.36 MB / 3.725 GB, free: 2.898 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006534/8.278, allocations: 362.5 kB / 3.725 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002914/8.278, allocations: 197.5 kB / 3.725 GB, free: 2.34 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3331/8.611, allocations: 24.28 MB / 3.749 GB, free: 62.31 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/8.611, allocations: 40.31 kB / 3.749 GB, free: 62.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=42): time 2.335e-06/8.611, allocations: 0 / 3.749 GB, free: 62.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=42): time 0.002872/8.614, allocations: 0.8425 MB / 3.75 GB, free: 62.22 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/8.614, allocations: 106.7 kB / 3.75 GB, free: 62.09 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005154/8.615, allocations: 404.9 kB / 3.75 GB, free: 61.99 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/8.615, allocations: 26.52 kB / 3.75 GB, free: 61.96 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/8.615, allocations: 352 kB / 3.75 GB, free: 61.81 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/8.615, allocations: 147 kB / 3.751 GB, free: 61.74 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/8.615, allocations: 0 / 3.751 GB, free: 61.74 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.257e-05/8.615, allocations: 363.3 kB / 3.751 GB, free: 61.43 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/8.616, allocations: 169.5 kB / 3.751 GB, free: 61.43 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/8.616, allocations: 351.2 kB / 3.751 GB, free: 61.23 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/8.617, allocations: 304.5 kB / 3.752 GB, free: 61.23 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/8.617, allocations: 3.906 kB / 3.752 GB, free: 61.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001658/8.619, allocations: 0.7309 MB / 3.752 GB, free: 61.15 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003362/8.619, allocations: 2.01 MB / 3.754 GB, free: 59.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/8.619, allocations: 8.969 kB / 3.754 GB, free: 59.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006625/8.62, allocations: 183.2 kB / 3.755 GB, free: 59.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/8.62, allocations: 136.2 kB / 3.755 GB, free: 59.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/8.621, allocations: 0.8324 MB / 3.756 GB, free: 58.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007487/8.622, allocations: 122.2 kB / 3.756 GB, free: 58.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.419e-05/8.622, allocations: 35.75 kB / 3.756 GB, free: 58.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/8.622, allocations: 2.5 kB / 3.756 GB, free: 58.52 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001816/8.624, allocations: 0.6309 MB / 3.756 GB, free: 58.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/8.624, allocations: 7.594 kB / 3.756 GB, free: 58.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007144/8.625, allocations: 172 kB / 3.757 GB, free: 58.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004373/8.625, allocations: 138.7 kB / 3.757 GB, free: 58.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004797/8.626, allocations: 0.7268 MB / 3.757 GB, free: 57.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005592/8.626, allocations: 104.8 kB / 3.757 GB, free: 57.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-05/8.626, allocations: 36.53 kB / 3.757 GB, free: 57.96 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 (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.0001524/8.626, allocations: 127.5 kB / 3.758 GB, free: 57.85 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.314e-05/8.627, allocations: 57.59 kB / 3.758 GB, free: 57.82 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002536/8.629, allocations: 2.528 MB / 3.76 GB, free: 57.59 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-05/8.629, allocations: 38.75 kB / 3.76 GB, free: 57.59 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/8.629, allocations: 0 / 3.76 GB, free: 57.59 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/8.629, allocations: 3.562 kB / 3.76 GB, free: 57.59 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003075/8.632, allocations: 3.401 MB / 3.763 GB, free: 57.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/8.632, allocations: 0 / 3.763 GB, free: 57.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/8.633, allocations: 74.98 kB / 3.764 GB, free: 57.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001146/8.634, allocations: 1.117 MB / 3.765 GB, free: 57.13 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/8.634, allocations: 11.73 kB / 3.765 GB, free: 57.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001267/8.635, allocations: 1.635 MB / 3.766 GB, free: 56.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/8.635, allocations: 0 / 3.766 GB, free: 56.58 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/8.637, allocations: 1.817 MB / 3.768 GB, free: 56.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002897/8.637, allocations: 289.5 kB / 3.768 GB, free: 56.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.602e-05/8.637, allocations: 3.812 kB / 3.768 GB, free: 56.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004825/8.638, allocations: 67.11 kB / 3.768 GB, free: 56.13 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.319e-05/8.638, allocations: 43 kB / 3.768 GB, free: 56.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/8.638, allocations: 23.56 kB / 3.768 GB, free: 56.13 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003435/8.638, allocations: 370.8 kB / 3.769 GB, free: 56.04 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/8.638, allocations: 0 / 3.769 GB, free: 56.04 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005233/8.643, allocations: 1.392 MB / 3.77 GB, free: 56.02 MB / 0.5105 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.005678/8.649, allocations: 1.811 MB / 3.772 GB, free: 55.85 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001777/8.651, allocations: 1.05 MB / 3.773 GB, free: 55.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/8.651, allocations: 8.562 kB / 3.773 GB, free: 55.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006023/8.652, allocations: 0.6154 MB / 3.774 GB, free: 55.81 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/8.653, allocations: 256.3 kB / 3.774 GB, free: 55.81 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/8.655, allocations: 1.504 MB / 3.775 GB, free: 55.45 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/8.655, allocations: 1.112 MB / 3.776 GB, free: 54.75 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001069/8.657, allocations: 0.7538 MB / 3.777 GB, free: 54.73 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/8.657, allocations: 47.23 kB / 3.777 GB, free: 54.73 MB / 0.5105 GB Notification: Performance of SimCode: time 7.51e-07/8.657, allocations: 2.156 kB / 3.777 GB, free: 54.73 MB / 0.5105 GB Notification: Performance of Templates: time 0.04641/8.703, allocations: 37.67 MB / 3.814 GB, free: 52.62 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