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.001178/0.001178, allocations: 197.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.2 MB / 245 MB, free: 7.637 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009227/0.0009227, allocations: 97.7 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3558/0.3558, allocations: 45.23 MB / 394.7 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002857/0.0002858, allocations: 12.22 kB / 468.4 MB, free: 7.715 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3954, allocations: 63.24 MB / 0.5192 GB, free: 43.83 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.08/5.476, allocations: 2.793 GB / 3.312 GB, free: 156.9 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/5.476, allocations: 87.33 kB / 3.313 GB, free: 156.9 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.575/7.051, allocations: 445.8 MB / 3.748 GB, free: 65.03 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.853e-06/7.051, allocations: 0 / 3.748 GB, free: 65.03 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.469e-05/7.051, allocations: 19.22 kB / 3.748 GB, free: 65.03 MB / 0.5417 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.008122/7.059, allocations: 1.859 MB / 3.75 GB, free: 64.29 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/7.059, allocations: 10.19 kB / 3.75 GB, free: 64.29 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00301/7.062, allocations: 351.6 kB / 3.75 GB, free: 64.25 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/7.064, allocations: 0.5763 MB / 3.751 GB, free: 64.02 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.592e-05/7.064, allocations: 49.75 kB / 3.751 GB, free: 64.01 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/7.064, allocations: 54.75 kB / 3.751 GB, free: 64.01 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002771/7.067, allocations: 1.017 MB / 3.752 GB, free: 63.81 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/7.067, allocations: 3.953 kB / 3.752 GB, free: 63.81 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/7.067, allocations: 38.23 kB / 3.752 GB, free: 63.81 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.855e-05/7.067, allocations: 25.23 kB / 3.752 GB, free: 63.81 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002483/7.07, allocations: 0.9186 MB / 3.753 GB, free: 63.8 MB / 0.5417 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.005748/7.075, allocations: 4.917 MB / 3.757 GB, free: 60.44 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002248/7.078, allocations: 0.7762 MB / 3.758 GB, free: 60.42 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05025/7.128, allocations: 26.77 MB / 3.784 GB, free: 43.05 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.994e-05/7.128, allocations: 47.94 kB / 3.784 GB, free: 43.01 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=46): time 2.996e-06/7.128, allocations: 0 / 3.784 GB, free: 43.01 MB / 0.5417 GB Notification: Performance of matching and sorting (n=46): time 0.007496/7.136, allocations: 1.651 MB / 3.786 GB, free: 42.83 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/7.136, allocations: 108 kB / 3.786 GB, free: 42.71 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/7.137, allocations: 456 kB / 3.787 GB, free: 42.59 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/7.137, allocations: 34.77 kB / 3.787 GB, free: 42.56 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/7.137, allocations: 343.4 kB / 3.787 GB, free: 42.39 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/7.137, allocations: 153.4 kB / 3.787 GB, free: 42.29 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/7.137, allocations: 16.94 kB / 3.787 GB, free: 42.29 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001609/7.138, allocations: 365.7 kB / 3.787 GB, free: 41.98 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007294/7.138, allocations: 245.9 kB / 3.788 GB, free: 41.98 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008322/7.139, allocations: 428.5 kB / 3.788 GB, free: 41.78 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007935/7.14, allocations: 289.3 kB / 3.788 GB, free: 41.76 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/7.14, allocations: 2.094 kB / 3.788 GB, free: 41.76 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002318/7.142, allocations: 0.8315 MB / 3.789 GB, free: 41.69 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006354/7.143, allocations: 2.007 MB / 3.791 GB, free: 39.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.605e-05/7.143, allocations: 6.094 kB / 3.791 GB, free: 39.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001799/7.145, allocations: 294.2 kB / 3.791 GB, free: 39.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005932/7.145, allocations: 146.9 kB / 3.791 GB, free: 39.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/7.147, allocations: 0.7988 MB / 3.792 GB, free: 39.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/7.148, allocations: 125.1 kB / 3.792 GB, free: 39.04 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/7.148, allocations: 31.38 kB / 3.792 GB, free: 39.04 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/7.148, allocations: 6.375 kB / 3.792 GB, free: 39.04 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002296/7.151, allocations: 0.7709 MB / 3.793 GB, free: 39.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/7.151, allocations: 7.812 kB / 3.793 GB, free: 39.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/7.152, allocations: 210 kB / 3.793 GB, free: 39.01 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005771/7.152, allocations: 144.4 kB / 3.794 GB, free: 39.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000909/7.153, allocations: 0.7573 MB / 3.794 GB, free: 38.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009248/7.154, allocations: 114.2 kB / 3.794 GB, free: 38.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.731e-05/7.154, allocations: 31.77 kB / 3.794 GB, free: 38.46 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 (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.000653/7.155, allocations: 287.5 kB / 3.795 GB, free: 38.27 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002348/7.155, allocations: 64.36 kB / 3.795 GB, free: 38.23 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004423/7.16, allocations: 3.057 MB / 3.798 GB, free: 37.93 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.083e-05/7.16, allocations: 44.88 kB / 3.798 GB, free: 37.93 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/7.16, allocations: 0 / 3.798 GB, free: 37.93 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/7.16, allocations: 6.359 kB / 3.798 GB, free: 37.93 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002421/7.162, allocations: 1.474 MB / 3.799 GB, free: 37.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/7.162, allocations: 0 / 3.799 GB, free: 37.64 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003867/7.163, allocations: 99.7 kB / 3.799 GB, free: 37.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002277/7.165, allocations: 1.012 MB / 3.8 GB, free: 37.61 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.073e-05/7.165, allocations: 15.62 kB / 3.8 GB, free: 37.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/7.167, allocations: 1.449 MB / 3.802 GB, free: 37.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/7.167, allocations: 7.422 kB / 3.802 GB, free: 37.06 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003122/7.17, allocations: 2.051 MB / 3.804 GB, free: 36.76 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007295/7.17, allocations: 339.9 kB / 3.804 GB, free: 36.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/7.171, allocations: 16.97 kB / 3.804 GB, free: 36.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007585/7.171, allocations: 82.42 kB / 3.804 GB, free: 36.55 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/7.172, allocations: 45.06 kB / 3.804 GB, free: 36.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.376e-05/7.172, allocations: 31.28 kB / 3.804 GB, free: 36.55 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007078/7.172, allocations: 467.7 kB / 3.805 GB, free: 36.45 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.71e-07/7.172, allocations: 0 / 3.805 GB, free: 36.45 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007767/7.18, allocations: 1.453 MB / 3.806 GB, free: 36.23 MB / 0.5417 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.01089/7.191, allocations: 1.717 MB / 3.808 GB, free: 35.92 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004043/7.195, allocations: 1.372 MB / 3.809 GB, free: 35.89 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/7.195, allocations: 0 / 3.809 GB, free: 35.89 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00134/7.197, allocations: 0.8124 MB / 3.81 GB, free: 35.88 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002334/7.199, allocations: 318.1 kB / 3.81 GB, free: 35.88 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004624/7.204, allocations: 2.907 MB / 3.813 GB, free: 34.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008355/7.204, allocations: 1.17 MB / 3.814 GB, free: 33.88 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00133/7.206, allocations: 0.6574 MB / 3.815 GB, free: 33.85 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/7.206, allocations: 67.67 kB / 3.815 GB, free: 33.84 MB / 0.5417 GB Notification: Performance of SimCode: time 1.342e-06/7.206, allocations: 0 / 3.815 GB, free: 33.84 MB / 0.5417 GB Notification: Performance of Templates: time 0.06543/7.271, allocations: 43.15 MB / 3.857 GB, free: 31.32 MB / 0.5417 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