Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 221.4 MB / 236 MB, free: 2.938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000909/0.0009091, allocations: 88.02 kB / 287 MB, free: 224 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1851/0.1851, allocations: 44.14 MB / 382 MB, free: 14.71 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.21e-05/3.231e-05, allocations: 8.219 kB / 451.8 MB, free: 9.461 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1347, allocations: 61.91 MB / 0.5017 GB, free: 11.49 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.598/6.733, allocations: 2.792 GB / 3.294 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/6.733, allocations: 82.64 kB / 3.294 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.456/8.189, allocations: 444.4 MB / 3.728 GB, free: 60.73 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.432e-06/8.189, allocations: 0 / 3.728 GB, free: 60.73 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.739e-05/8.189, allocations: 19.66 kB / 3.728 GB, free: 60.73 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.006019/8.195, allocations: 1.763 MB / 3.73 GB, free: 59.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/8.195, allocations: 11.56 kB / 3.73 GB, free: 59.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002501/8.198, allocations: 351.8 kB / 3.73 GB, free: 59.74 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/8.199, allocations: 0.5751 MB / 3.731 GB, free: 59.38 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.825e-05/8.199, allocations: 48.69 kB / 3.731 GB, free: 59.35 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.787e-05/8.199, allocations: 54.41 kB / 3.731 GB, free: 59.33 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/8.201, allocations: 0.9836 MB / 3.732 GB, free: 58.89 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/8.201, allocations: 4.219 kB / 3.732 GB, free: 58.89 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.117e-05/8.201, allocations: 27.88 kB / 3.732 GB, free: 58.87 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.103e-05/8.201, allocations: 21.25 kB / 3.732 GB, free: 58.87 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/8.203, allocations: 0.823 MB / 3.732 GB, free: 58.62 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.004529/8.207, allocations: 4.928 MB / 3.737 GB, free: 54.57 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/8.209, allocations: 0.7035 MB / 3.738 GB, free: 54.35 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/8.209, allocations: 231.8 kB / 3.738 GB, free: 54.25 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04089/8.25, allocations: 24.29 MB / 3.762 GB, free: 38.87 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/8.25, allocations: 37.41 kB / 3.762 GB, free: 38.82 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=46): time 2.364e-06/8.25, allocations: 0 / 3.762 GB, free: 38.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46): time 0.00337/8.254, allocations: 1.07 MB / 3.763 GB, free: 38.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/8.254, allocations: 112.8 kB / 3.763 GB, free: 38.37 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006022/8.254, allocations: 450 kB / 3.764 GB, free: 38.16 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.305e-05/8.254, allocations: 37.58 kB / 3.764 GB, free: 38.12 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/8.254, allocations: 336.5 kB / 3.764 GB, free: 37.85 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/8.255, allocations: 159.1 kB / 3.764 GB, free: 37.73 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/8.255, allocations: 8 kB / 3.764 GB, free: 37.72 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.158e-05/8.255, allocations: 373.8 kB / 3.764 GB, free: 37.38 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/8.255, allocations: 174.2 kB / 3.765 GB, free: 37.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003253/8.255, allocations: 350.9 kB / 3.765 GB, free: 37.03 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003086/8.256, allocations: 218.7 kB / 3.765 GB, free: 36.94 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/8.256, allocations: 0 / 3.765 GB, free: 36.94 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001045/8.257, allocations: 0.6859 MB / 3.766 GB, free: 36.64 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004004/8.257, allocations: 2.004 MB / 3.768 GB, free: 34.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/8.257, allocations: 5.875 kB / 3.768 GB, free: 34.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/8.258, allocations: 263.2 kB / 3.768 GB, free: 34.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004894/8.259, allocations: 144.5 kB / 3.768 GB, free: 34.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008884/8.26, allocations: 0.7431 MB / 3.769 GB, free: 33.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007708/8.261, allocations: 129.5 kB / 3.769 GB, free: 33.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.789e-05/8.261, allocations: 35.16 kB / 3.769 GB, free: 33.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/8.261, allocations: 7.578 kB / 3.769 GB, free: 33.77 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001056/8.262, allocations: 0.6065 MB / 3.77 GB, free: 33.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/8.262, allocations: 8.312 kB / 3.77 GB, free: 33.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007881/8.263, allocations: 186.9 kB / 3.77 GB, free: 33.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004535/8.263, allocations: 144.1 kB / 3.77 GB, free: 33.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000492/8.264, allocations: 0.7018 MB / 3.771 GB, free: 32.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006709/8.264, allocations: 115.3 kB / 3.771 GB, free: 32.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.016e-05/8.264, allocations: 30.58 kB / 3.771 GB, free: 32.83 MB / 0.5261 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 () * 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.0001738/8.264, allocations: 138.4 kB / 3.771 GB, free: 32.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/8.265, allocations: 65.31 kB / 3.771 GB, free: 32.67 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002753/8.267, allocations: 3.027 MB / 3.774 GB, free: 31.18 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.325e-05/8.267, allocations: 44.11 kB / 3.774 GB, free: 31.17 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/8.267, allocations: 3.953 kB / 3.774 GB, free: 31.17 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/8.267, allocations: 7.734 kB / 3.774 GB, free: 31.17 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/8.269, allocations: 1.472 MB / 3.775 GB, free: 30.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/8.269, allocations: 3.938 kB / 3.775 GB, free: 30.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003463/8.269, allocations: 95.7 kB / 3.776 GB, free: 30.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001839/8.271, allocations: 1.163 MB / 3.777 GB, free: 30.16 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.999e-05/8.271, allocations: 14.94 kB / 3.777 GB, free: 30.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/8.272, allocations: 1.484 MB / 3.778 GB, free: 29.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/8.272, allocations: 0 / 3.778 GB, free: 29.19 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/8.274, allocations: 2.003 MB / 3.78 GB, free: 28.17 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004006/8.274, allocations: 335.5 kB / 3.78 GB, free: 27.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.815e-05/8.275, allocations: 11.84 kB / 3.78 GB, free: 27.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005273/8.275, allocations: 90.47 kB / 3.78 GB, free: 27.89 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/8.275, allocations: 59.19 kB / 3.781 GB, free: 27.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.152e-05/8.275, allocations: 20.41 kB / 3.781 GB, free: 27.87 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005018/8.276, allocations: 452.5 kB / 3.781 GB, free: 27.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.2e-07/8.276, allocations: 0 / 3.781 GB, free: 27.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005653/8.281, allocations: 1.433 MB / 3.782 GB, free: 27.35 MB / 0.5261 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 () * 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.007779/8.289, allocations: 1.726 MB / 3.784 GB, free: 26.89 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002322/8.292, allocations: 1.177 MB / 3.785 GB, free: 26.45 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/8.292, allocations: 4 kB / 3.785 GB, free: 26.45 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007711/8.292, allocations: 0.7415 MB / 3.786 GB, free: 26.09 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/8.294, allocations: 318.4 kB / 3.786 GB, free: 26.01 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/8.296, allocations: 1.766 MB / 3.788 GB, free: 25.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/8.297, allocations: 1.163 MB / 3.789 GB, free: 24.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001096/8.298, allocations: 0.6923 MB / 3.79 GB, free: 24.44 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/8.298, allocations: 55.78 kB / 3.79 GB, free: 24.43 MB / 0.5261 GB Notification: Performance of SimCode: time 1.052e-06/8.298, allocations: 3.938 kB / 3.79 GB, free: 24.43 MB / 0.5261 GB Notification: Performance of Templates: time 0.05559/8.354, allocations: 45.54 MB / 3.834 GB, free: 10.09 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches