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.001009/0.001009, allocations: 183.7 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.2 MB / 218.9 MB, free: 9.199 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007427/0.0007431, allocations: 89.55 kB / 267.1 MB, free: 9.262 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.3483/0.3483, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.965e-05/2.969e-05, allocations: 4 kB / 425.3 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1253, allocations: 58.84 MB / 484.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.669/5.795, allocations: 2.787 GB / 3.259 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/5.795, allocations: 83.39 kB / 3.26 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.266/7.061, allocations: 439.7 MB / 3.689 GB, free: 49.43 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.102e-06/7.061, allocations: 0 / 3.689 GB, free: 49.43 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.125e-05/7.061, allocations: 19.56 kB / 3.689 GB, free: 49.43 MB / 0.5105 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.005059/7.066, allocations: 1.775 MB / 3.691 GB, free: 48.34 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/7.066, allocations: 7.875 kB / 3.691 GB, free: 48.34 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002337/7.068, allocations: 349.5 kB / 3.691 GB, free: 48.28 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008383/7.069, allocations: 0.5697 MB / 3.692 GB, free: 47.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.242e-05/7.069, allocations: 51.03 kB / 3.692 GB, free: 47.88 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.082e-05/7.069, allocations: 59.59 kB / 3.692 GB, free: 47.86 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/7.071, allocations: 0.9907 MB / 3.693 GB, free: 47.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/7.071, allocations: 0 / 3.693 GB, free: 47.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.331e-05/7.071, allocations: 26.48 kB / 3.693 GB, free: 47.38 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/7.071, allocations: 20.97 kB / 3.693 GB, free: 47.38 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/7.073, allocations: 0.8312 MB / 3.694 GB, free: 47.14 MB / 0.5105 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.003933/7.077, allocations: 4.916 MB / 3.698 GB, free: 43.08 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/7.078, allocations: 0.7029 MB / 3.699 GB, free: 42.86 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/7.078, allocations: 227.6 kB / 3.699 GB, free: 42.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03599/7.114, allocations: 24.29 MB / 3.723 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/7.115, allocations: 34.94 kB / 3.723 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=46): time 3.456e-06/7.115, allocations: 3.938 kB / 3.723 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46): time 0.003301/7.118, allocations: 1.062 MB / 3.724 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/7.118, allocations: 108.4 kB / 3.724 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005321/7.118, allocations: 455.7 kB / 3.725 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/7.119, allocations: 40.95 kB / 3.725 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/7.119, allocations: 345.5 kB / 3.725 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/7.119, allocations: 146.9 kB / 3.725 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/7.119, allocations: 11.84 kB / 3.725 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.968e-05/7.119, allocations: 372.6 kB / 3.725 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/7.119, allocations: 172.3 kB / 3.726 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003026/7.12, allocations: 355.9 kB / 3.726 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/7.12, allocations: 210.9 kB / 3.726 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/7.12, allocations: 3.969 kB / 3.726 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008994/7.121, allocations: 0.6804 MB / 3.727 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002984/7.121, allocations: 1.997 MB / 3.729 GB, free: 22.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/7.121, allocations: 9.266 kB / 3.729 GB, free: 22.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/7.122, allocations: 268.5 kB / 3.729 GB, free: 22.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004456/7.123, allocations: 146 kB / 3.729 GB, free: 22.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008165/7.124, allocations: 0.7602 MB / 3.73 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006412/7.124, allocations: 114.5 kB / 3.73 GB, free: 21.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.397e-05/7.124, allocations: 40.48 kB / 3.73 GB, free: 21.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.142e-06/7.124, allocations: 3.75 kB / 3.73 GB, free: 21.84 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009697/7.125, allocations: 0.6063 MB / 3.731 GB, free: 21.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/7.125, allocations: 3.844 kB / 3.731 GB, free: 21.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007415/7.126, allocations: 182.7 kB / 3.731 GB, free: 21.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000439/7.126, allocations: 147.3 kB / 3.731 GB, free: 21.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004385/7.127, allocations: 0.7151 MB / 3.732 GB, free: 20.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000503/7.127, allocations: 107.1 kB / 3.732 GB, free: 20.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.485e-05/7.127, allocations: 31.06 kB / 3.732 GB, free: 20.91 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 (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.0001259/7.128, allocations: 149.2 kB / 3.732 GB, free: 20.77 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.524e-05/7.128, allocations: 61.06 kB / 3.732 GB, free: 20.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/7.13, allocations: 3.036 MB / 3.735 GB, free: 19.24 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.67e-05/7.13, allocations: 40.92 kB / 3.735 GB, free: 19.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/7.13, allocations: 3.938 kB / 3.735 GB, free: 19.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/7.13, allocations: 3.703 kB / 3.735 GB, free: 19.23 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/7.131, allocations: 1.472 MB / 3.736 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/7.131, allocations: 3.953 kB / 3.736 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/7.132, allocations: 98.25 kB / 3.737 GB, free: 18.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001605/7.133, allocations: 1.164 MB / 3.738 GB, free: 18.22 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/7.133, allocations: 14.69 kB / 3.738 GB, free: 18.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009283/7.134, allocations: 1.484 MB / 3.739 GB, free: 17.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/7.134, allocations: 0 / 3.739 GB, free: 17.24 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/7.136, allocations: 2 MB / 3.741 GB, free: 16.23 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002864/7.136, allocations: 334.5 kB / 3.741 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.9e-05/7.136, allocations: 11.78 kB / 3.741 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004782/7.137, allocations: 80.91 kB / 3.742 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.148e-05/7.137, allocations: 52.77 kB / 3.742 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/7.137, allocations: 23.97 kB / 3.742 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003914/7.137, allocations: 456.5 kB / 3.742 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.5e-07/7.137, allocations: 0 / 3.742 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00462/7.142, allocations: 1.431 MB / 3.743 GB, free: 15.42 MB / 0.5105 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.004526/7.146, allocations: 1.72 MB / 3.745 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001842/7.148, allocations: 1.18 MB / 3.746 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/7.148, allocations: 3.938 kB / 3.746 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006559/7.149, allocations: 0.7446 MB / 3.747 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/7.15, allocations: 310.9 kB / 3.747 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/7.152, allocations: 1.772 MB / 3.749 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/7.153, allocations: 1.162 MB / 3.75 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009024/7.154, allocations: 0.6878 MB / 3.751 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/7.154, allocations: 57.77 kB / 3.751 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of SimCode: time 2.31e-07/7.154, allocations: 0 / 3.751 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.295/7.449, allocations: 45.46 MB / 3.795 GB, free: 53.53 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