Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009551/0.0009552, allocations: 196 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008058/0.0008059, allocations: 98.94 kB / 286.7 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2035/0.2035, allocations: 45.15 MB / 383.8 MB, free: 236 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.455e-05/1.458e-05, allocations: 0 / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1409, allocations: 63.24 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.669/6.81, allocations: 2.793 GB / 3.297 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/6.81, allocations: 91.36 kB / 3.297 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.537/8.347, allocations: 440.2 MB / 3.727 GB, free: 60.07 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.523e-06/8.347, allocations: 0 / 3.727 GB, free: 60.07 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.855e-05/8.347, allocations: 24.94 kB / 3.727 GB, free: 60.06 MB / 0.5261 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.00678/8.354, allocations: 1.771 MB / 3.729 GB, free: 58.97 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/8.354, allocations: 11.91 kB / 3.729 GB, free: 58.97 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002677/8.357, allocations: 349.5 kB / 3.729 GB, free: 58.91 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/8.358, allocations: 0.5754 MB / 3.73 GB, free: 58.53 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.11e-05/8.358, allocations: 23.86 kB / 3.73 GB, free: 58.52 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/8.358, allocations: 33.69 kB / 3.73 GB, free: 58.52 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009043/8.359, allocations: 0.5464 MB / 3.73 GB, free: 58.33 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009696/8.36, allocations: 0.6824 MB / 3.731 GB, free: 57.95 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/8.36, allocations: 7.875 kB / 3.731 GB, free: 57.95 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.912e-05/8.36, allocations: 0 / 3.731 GB, free: 57.95 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.902e-05/8.36, allocations: 26 kB / 3.731 GB, free: 57.95 MB / 0.5261 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.073/8.433, allocations: 48.79 MB / 3.778 GB, free: 23.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006354/8.434, allocations: 363.4 kB / 3.779 GB, free: 23.62 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002698/8.434, allocations: 214 kB / 3.779 GB, free: 23.52 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04236/8.477, allocations: 26.84 MB / 3.805 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.582e-05/8.477, allocations: 50.44 kB / 3.805 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=42): time 3.046e-06/8.477, allocations: 0 / 3.805 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=42): time 0.003147/8.48, allocations: 0.8342 MB / 3.806 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/8.48, allocations: 114 kB / 3.806 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000679/8.481, allocations: 398.5 kB / 3.807 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.075e-05/8.481, allocations: 25.7 kB / 3.807 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/8.481, allocations: 355.1 kB / 3.807 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000138/8.481, allocations: 137.2 kB / 3.807 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/8.481, allocations: 4 kB / 3.807 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001531/8.482, allocations: 356.7 kB / 3.807 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/8.482, allocations: 176.2 kB / 3.808 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003186/8.482, allocations: 352.4 kB / 3.808 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/8.483, allocations: 306 kB / 3.808 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/8.483, allocations: 4 kB / 3.808 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00184/8.485, allocations: 0.7267 MB / 3.809 GB, free: 9.129 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008536/8.486, allocations: 2.011 MB / 3.811 GB, free: 6.961 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/8.486, allocations: 4 kB / 3.811 GB, free: 6.957 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007486/8.487, allocations: 181 kB / 3.811 GB, free: 6.793 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/8.487, allocations: 143.8 kB / 3.811 GB, free: 6.652 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/8.489, allocations: 0.8242 MB / 3.812 GB, free: 5.805 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008871/8.49, allocations: 127.3 kB / 3.812 GB, free: 5.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.898e-05/8.49, allocations: 35.98 kB / 3.812 GB, free: 5.645 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/8.49, allocations: 5.562 kB / 3.812 GB, free: 5.641 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001916/8.492, allocations: 0.6348 MB / 3.813 GB, free: 5.008 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/8.492, allocations: 4 kB / 3.813 GB, free: 5.004 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000741/8.492, allocations: 182.7 kB / 3.813 GB, free: 4.828 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004526/8.493, allocations: 143.8 kB / 3.813 GB, free: 4.688 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006652/8.493, allocations: 0.7162 MB / 3.814 GB, free: 3.945 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007497/8.494, allocations: 110.8 kB / 3.814 GB, free: 3.84 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.061e-05/8.494, allocations: 31.98 kB / 3.814 GB, free: 3.809 MB / 0.5417 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.0002055/8.494, allocations: 127.1 kB / 3.814 GB, free: 3.68 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/8.495, allocations: 55.34 kB / 3.814 GB, free: 3.625 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00336/8.498, allocations: 2.524 MB / 3.817 GB, free: 1.082 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.267e-05/8.498, allocations: 43.89 kB / 3.817 GB, free: 1.039 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/8.498, allocations: 0 / 3.817 GB, free: 1.039 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/8.498, allocations: 3.984 kB / 3.817 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006068/8.504, allocations: 3.397 MB / 3.82 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/8.504, allocations: 3.938 kB / 3.82 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003845/8.505, allocations: 71.89 kB / 3.82 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002123/8.507, allocations: 1.108 MB / 3.821 GB, free: 12.41 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.313e-05/8.507, allocations: 11.98 kB / 3.821 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002439/8.509, allocations: 1.629 MB / 3.823 GB, free: 10.74 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/8.509, allocations: 4.031 kB / 3.823 GB, free: 10.74 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003418/8.513, allocations: 1.822 MB / 3.824 GB, free: 8.895 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006756/8.513, allocations: 287.1 kB / 3.825 GB, free: 8.594 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/8.514, allocations: 0 / 3.825 GB, free: 8.594 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009146/8.515, allocations: 71.86 kB / 3.825 GB, free: 8.523 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/8.515, allocations: 44.5 kB / 3.825 GB, free: 8.48 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.083e-05/8.515, allocations: 19.98 kB / 3.825 GB, free: 8.461 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006297/8.515, allocations: 378.9 kB / 3.825 GB, free: 8.094 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.3e-07/8.515, allocations: 0 / 3.825 GB, free: 8.094 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006184/8.522, allocations: 1.404 MB / 3.827 GB, free: 6.691 MB / 0.5573 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.01003/8.532, allocations: 1.822 MB / 3.828 GB, free: 5.035 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00239/8.534, allocations: 1.055 MB / 3.829 GB, free: 3.977 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/8.534, allocations: 0 / 3.829 GB, free: 3.977 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008945/8.535, allocations: 0.6196 MB / 3.83 GB, free: 3.355 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/8.537, allocations: 263.3 kB / 3.83 GB, free: 3.102 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002928/8.54, allocations: 1.511 MB / 3.832 GB, free: 1.562 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008547/8.541, allocations: 1.103 MB / 3.833 GB, free: 440 kB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.3119/8.852, allocations: 0.7362 MB / 3.834 GB, free: 92.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/8.853, allocations: 51.22 kB / 3.834 GB, free: 92.5 MB / 0.5573 GB Notification: Performance of SimCode: time 6.72e-07/8.853, allocations: 0.9062 kB / 3.834 GB, free: 92.5 MB / 0.5573 GB Notification: Performance of Templates: time 0.0515/8.904, allocations: 37.81 MB / 3.871 GB, free: 91.6 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpNPSH/TestWaterPumpNPSH.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches