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.001566/0.001566, allocations: 205.3 kB / 18.11 MB, free: 3.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.64/1.64, allocations: 226.5 MB / 245.4 MB, free: 6.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001127/0.001127, allocations: 109.8 kB / 297.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4605/0.4605, allocations: 44.81 MB / 394.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003264, allocations: 12 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4926/0.493, allocations: 62.95 MB / 0.5184 GB, free: 37.55 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.354/7.847, allocations: 2.794 GB / 3.312 GB, free: 166.5 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/7.848, allocations: 91.12 kB / 3.312 GB, free: 166.5 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.394/9.241, allocations: 425.9 MB / 3.728 GB, free: 69.41 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.884e-06/9.241, allocations: 0 / 3.728 GB, free: 69.41 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.754e-05/9.241, allocations: 17.92 kB / 3.728 GB, free: 69.41 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.005515/9.247, allocations: 1.861 MB / 3.73 GB, free: 68.75 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/9.247, allocations: 8.5 kB / 3.73 GB, free: 68.75 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002424/9.249, allocations: 349.2 kB / 3.73 GB, free: 68.71 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009691/9.25, allocations: 0.5866 MB / 3.731 GB, free: 68.46 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.674e-05/9.251, allocations: 57.67 kB / 3.731 GB, free: 68.45 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.172e-05/9.251, allocations: 49.88 kB / 3.731 GB, free: 68.45 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/9.253, allocations: 1.022 MB / 3.732 GB, free: 68.25 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/9.253, allocations: 8.562 kB / 3.732 GB, free: 68.25 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.453e-05/9.253, allocations: 24.94 kB / 3.732 GB, free: 68.25 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.331e-05/9.253, allocations: 24.56 kB / 3.732 GB, free: 68.25 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002118/9.255, allocations: 0.9224 MB / 3.733 GB, free: 68.25 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.004416/9.259, allocations: 4.91 MB / 3.738 GB, free: 64.88 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002043/9.261, allocations: 0.786 MB / 3.738 GB, free: 64.86 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005203/9.262, allocations: 289.7 kB / 3.739 GB, free: 64.85 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04143/9.303, allocations: 26.76 MB / 3.765 GB, free: 47.48 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.169e-05/9.304, allocations: 51.36 kB / 3.765 GB, free: 47.44 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=46): time 3.026e-06/9.304, allocations: 0 / 3.765 GB, free: 47.44 MB / 0.5417 GB Notification: Performance of matching and sorting (n=46): time 0.007157/9.311, allocations: 1.726 MB / 3.766 GB, free: 47.27 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/9.311, allocations: 115.4 kB / 3.767 GB, free: 47.14 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009941/9.312, allocations: 0.5109 MB / 3.767 GB, free: 47.02 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.226e-05/9.312, allocations: 37.3 kB / 3.767 GB, free: 46.98 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/9.312, allocations: 336.6 kB / 3.767 GB, free: 46.84 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/9.312, allocations: 159 kB / 3.768 GB, free: 46.76 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/9.312, allocations: 12.34 kB / 3.768 GB, free: 46.76 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.00019/9.313, allocations: 367.7 kB / 3.768 GB, free: 46.45 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007388/9.313, allocations: 244.8 kB / 3.768 GB, free: 46.44 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007726/9.314, allocations: 432.2 kB / 3.769 GB, free: 46.24 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/9.316, allocations: 0.6575 MB / 3.769 GB, free: 46.05 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/9.316, allocations: 1.719 kB / 3.769 GB, free: 46.05 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002157/9.318, allocations: 0.8349 MB / 3.77 GB, free: 45.97 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000138/9.318, allocations: 246.5 kB / 3.77 GB, free: 45.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/9.318, allocations: 4.844 kB / 3.77 GB, free: 45.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001916/9.32, allocations: 347.9 kB / 3.771 GB, free: 45.69 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005385/9.321, allocations: 140.2 kB / 3.771 GB, free: 45.69 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/9.322, allocations: 0.7891 MB / 3.772 GB, free: 45.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000883/9.323, allocations: 124.2 kB / 3.772 GB, free: 45.15 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.136e-05/9.323, allocations: 41.22 kB / 3.772 GB, free: 45.15 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/9.323, allocations: 3.844 kB / 3.772 GB, free: 45.15 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001863/9.325, allocations: 0.7726 MB / 3.772 GB, free: 45.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/9.325, allocations: 5.594 kB / 3.772 GB, free: 45.13 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009254/9.326, allocations: 211.6 kB / 3.773 GB, free: 45.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004532/9.326, allocations: 145.5 kB / 3.773 GB, free: 45.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000781/9.327, allocations: 0.7492 MB / 3.774 GB, free: 44.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007262/9.328, allocations: 109.7 kB / 3.774 GB, free: 44.58 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.837e-05/9.328, allocations: 38.17 kB / 3.774 GB, free: 44.58 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.0003869/9.328, allocations: 287.4 kB / 3.774 GB, free: 44.39 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/9.328, allocations: 59.84 kB / 3.774 GB, free: 44.36 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004018/9.332, allocations: 3.059 MB / 3.777 GB, free: 44.05 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-05/9.332, allocations: 46.11 kB / 3.777 GB, free: 44.04 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/9.332, allocations: 4.188 kB / 3.777 GB, free: 44.04 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/9.332, allocations: 6.328 kB / 3.777 GB, free: 44.04 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/9.334, allocations: 1.471 MB / 3.778 GB, free: 43.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.892e-06/9.334, allocations: 0 / 3.778 GB, free: 43.76 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003739/9.334, allocations: 101.5 kB / 3.779 GB, free: 43.76 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002389/9.337, allocations: 1.012 MB / 3.78 GB, free: 43.74 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.267e-05/9.337, allocations: 12.78 kB / 3.78 GB, free: 43.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/9.338, allocations: 1.46 MB / 3.781 GB, free: 43.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/9.338, allocations: 0 / 3.781 GB, free: 43.18 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002587/9.341, allocations: 2.061 MB / 3.783 GB, free: 42.88 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005265/9.342, allocations: 334.2 kB / 3.783 GB, free: 42.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/9.342, allocations: 11.78 kB / 3.783 GB, free: 42.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006194/9.342, allocations: 85.22 kB / 3.783 GB, free: 42.67 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/9.342, allocations: 55.7 kB / 3.783 GB, free: 42.67 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-05/9.342, allocations: 21.98 kB / 3.783 GB, free: 42.67 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000591/9.343, allocations: 467.9 kB / 3.784 GB, free: 42.57 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.12e-07/9.343, allocations: 0 / 3.784 GB, free: 42.57 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006357/9.349, allocations: 1.444 MB / 3.785 GB, free: 42.35 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.009175/9.359, allocations: 1.724 MB / 3.787 GB, free: 42.03 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003427/9.362, allocations: 1.372 MB / 3.788 GB, free: 42.01 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/9.362, allocations: 0 / 3.788 GB, free: 42.01 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001218/9.363, allocations: 0.8103 MB / 3.789 GB, free: 42 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/9.365, allocations: 321.4 kB / 3.789 GB, free: 41.99 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003942/9.369, allocations: 2.917 MB / 3.792 GB, free: 40.72 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005657/9.37, allocations: 1.137 MB / 3.793 GB, free: 40.02 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001182/9.371, allocations: 0.662 MB / 3.794 GB, free: 40 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/9.371, allocations: 62.5 kB / 3.794 GB, free: 40 MB / 0.5417 GB Notification: Performance of SimCode: time 9.52e-07/9.371, allocations: 0 / 3.794 GB, free: 40 MB / 0.5417 GB Notification: Performance of Templates: time 0.05824/9.43, allocations: 45.54 MB / 3.839 GB, free: 37.64 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/jenkins1/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