Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001053/0.001053, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.524/1.524, allocations: 205.4 MB / 223.6 MB, free: 9.043 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.0007968/0.0007967, allocations: 85.08 kB / 271.9 MB, free: 8.285 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.3551/0.3551, allocations: 43.56 MB / 363.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003639, allocations: 16 kB / 432.6 MB, free: 5.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1188, allocations: 58.86 MB / 491.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.007/5.126, allocations: 2.787 GB / 3.267 GB, free: 84.59 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/5.126, allocations: 85.25 kB / 3.267 GB, free: 84.54 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 1.208/6.334, allocations: 421.2 MB / 3.678 GB, free: 30.68 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.904e-06/6.334, allocations: 0 / 3.678 GB, free: 30.68 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 7.362e-05/6.334, allocations: 16 kB / 3.678 GB, free: 30.68 MB / 0.4949 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.006971/6.341, allocations: 1.848 MB / 3.68 GB, free: 29.54 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/6.341, allocations: 7.938 kB / 3.68 GB, free: 29.54 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002813/6.344, allocations: 356.2 kB / 3.681 GB, free: 29.47 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/6.346, allocations: 0.583 MB / 3.681 GB, free: 29.07 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.677e-05/6.346, allocations: 51.3 kB / 3.681 GB, free: 29.05 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/6.346, allocations: 61.03 kB / 3.681 GB, free: 29.04 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00242/6.348, allocations: 1.02 MB / 3.682 GB, free: 28.6 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/6.348, allocations: 0 / 3.682 GB, free: 28.6 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-05/6.348, allocations: 28.34 kB / 3.682 GB, free: 28.58 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.039e-05/6.348, allocations: 21.03 kB / 3.682 GB, free: 28.58 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/6.351, allocations: 0.9211 MB / 3.683 GB, free: 28.35 MB / 0.4949 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.004775/6.356, allocations: 4.928 MB / 3.688 GB, free: 24.29 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/6.358, allocations: 0.7806 MB / 3.689 GB, free: 24.08 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005528/6.358, allocations: 290.4 kB / 3.689 GB, free: 23.98 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04016/6.398, allocations: 24.2 MB / 3.713 GB, free: 6.258 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/6.398, allocations: 46.81 kB / 3.713 GB, free: 6.203 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=46): time 2.364e-06/6.399, allocations: 0 / 3.713 GB, free: 6.203 MB / 0.4949 GB Notification: Performance of matching and sorting (n=46): time 0.006602/6.405, allocations: 1.735 MB / 3.714 GB, free: 4.438 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/6.405, allocations: 110.8 kB / 3.715 GB, free: 4.305 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006623/6.406, allocations: 0.5183 MB / 3.715 GB, free: 3.777 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 7.521e-05/6.406, allocations: 29.7 kB / 3.715 GB, free: 3.742 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/6.406, allocations: 336 kB / 3.715 GB, free: 3.41 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/6.406, allocations: 149.8 kB / 3.716 GB, free: 3.266 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/6.406, allocations: 16 kB / 3.716 GB, free: 3.25 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 8.161e-05/6.406, allocations: 370.8 kB / 3.716 GB, free: 2.879 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005757/6.407, allocations: 245.2 kB / 3.716 GB, free: 2.641 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006185/6.408, allocations: 432.1 kB / 3.717 GB, free: 2.141 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/6.409, allocations: 0.6588 MB / 3.717 GB, free: 1.41 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/6.409, allocations: 0 / 3.717 GB, free: 1.41 MB / 0.4949 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001712/6.41, allocations: 0.8317 MB / 3.718 GB, free: 0.5664 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 8.927e-05/6.411, allocations: 246 kB / 3.718 GB, free: 260 kB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/6.411, allocations: 4 kB / 3.718 GB, free: 256 kB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001905/6.412, allocations: 352.5 kB / 3.719 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000542/6.413, allocations: 139.8 kB / 3.719 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/6.414, allocations: 0.7957 MB / 3.72 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008483/6.415, allocations: 123.3 kB / 3.72 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.223e-05/6.415, allocations: 31.98 kB / 3.72 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/6.415, allocations: 4 kB / 3.72 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002018/6.417, allocations: 0.7759 MB / 3.72 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/6.417, allocations: 8 kB / 3.72 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/6.419, allocations: 205 kB / 3.721 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005125/6.419, allocations: 147.8 kB / 3.721 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009703/6.42, allocations: 0.7475 MB / 3.722 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007263/6.421, allocations: 115.5 kB / 3.722 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.224e-05/6.421, allocations: 27.98 kB / 3.722 GB, free: 12.73 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 () * 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.0004303/6.421, allocations: 292.9 kB / 3.722 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/6.421, allocations: 63.25 kB / 3.722 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004211/6.426, allocations: 3.054 MB / 3.725 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.935e-05/6.426, allocations: 51.86 kB / 3.725 GB, free: 9.254 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/6.426, allocations: 0 / 3.725 GB, free: 9.254 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/6.426, allocations: 3.984 kB / 3.725 GB, free: 9.25 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/6.428, allocations: 1.476 MB / 3.726 GB, free: 7.734 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/6.428, allocations: 0 / 3.726 GB, free: 7.734 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003764/6.428, allocations: 103.9 kB / 3.727 GB, free: 7.633 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002184/6.43, allocations: 1.005 MB / 3.728 GB, free: 6.621 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.105e-05/6.43, allocations: 12 kB / 3.728 GB, free: 6.609 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001722/6.432, allocations: 1.455 MB / 3.729 GB, free: 5.129 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/6.432, allocations: 0 / 3.729 GB, free: 5.129 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003029/6.435, allocations: 2.059 MB / 3.731 GB, free: 3.047 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005108/6.436, allocations: 334.6 kB / 3.731 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/6.436, allocations: 12 kB / 3.731 GB, free: 2.688 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006327/6.436, allocations: 79.83 kB / 3.731 GB, free: 2.609 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/6.436, allocations: 56.47 kB / 3.731 GB, free: 2.551 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.024e-05/6.437, allocations: 20 kB / 3.731 GB, free: 2.531 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006688/6.437, allocations: 467 kB / 3.732 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/6.437, allocations: 4 kB / 3.732 GB, free: 2.074 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0057/6.443, allocations: 1.436 MB / 3.733 GB, free: 0.6406 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 () * 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.2495/6.692, allocations: 1.712 MB / 3.735 GB, free: 59.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003519/6.696, allocations: 1.368 MB / 3.736 GB, free: 59.33 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/6.696, allocations: 0 / 3.736 GB, free: 59.33 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001155/6.697, allocations: 0.8161 MB / 3.737 GB, free: 59.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/6.699, allocations: 321.7 kB / 3.737 GB, free: 59.32 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003582/6.703, allocations: 2.96 MB / 3.74 GB, free: 58.04 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006284/6.703, allocations: 1.135 MB / 3.741 GB, free: 57.33 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/6.703, allocations: 66.33 kB / 3.742 GB, free: 57.33 MB / 0.5105 GB Notification: Performance of SimCode: time 4.61e-07/6.703, allocations: 1.375 kB / 3.742 GB, free: 57.33 MB / 0.5105 GB Notification: Performance of Templates: time 0.04719/6.751, allocations: 35.64 MB / 3.776 GB, free: 56.25 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches