Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.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.TestWaterPumpDefaultCV,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.TestWaterPumpDefaultCV") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,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.TestWaterPumpDefaultCV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 183.4 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.406/1.406, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008793/0.0008794, allocations: 94.55 kB / 267.1 MB, free: 9.277 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.3474/0.3474, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.865e-05/2.866e-05, allocations: 4 kB / 425.3 MB, free: 8.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1246, allocations: 58.84 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.667/5.792, allocations: 2.782 GB / 3.255 GB, free: 46.63 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/5.792, allocations: 83.39 kB / 3.255 GB, free: 46.59 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.242/7.034, allocations: 439.9 MB / 3.684 GB, free: 29.71 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.784e-06/7.034, allocations: 0 / 3.684 GB, free: 29.71 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.342e-05/7.034, allocations: 19.61 kB / 3.685 GB, free: 29.69 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.005366/7.039, allocations: 1.779 MB / 3.686 GB, free: 27.87 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/7.039, allocations: 8.031 kB / 3.686 GB, free: 27.86 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002242/7.041, allocations: 335.9 kB / 3.687 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009449/7.042, allocations: 0.5744 MB / 3.687 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.469e-05/7.042, allocations: 53.31 kB / 3.687 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.886e-05/7.042, allocations: 56.69 kB / 3.687 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/7.044, allocations: 0.9891 MB / 3.688 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/7.044, allocations: 4 kB / 3.688 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.473e-05/7.044, allocations: 26.89 kB / 3.688 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/7.044, allocations: 33.25 kB / 3.688 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/7.046, allocations: 0.8248 MB / 3.689 GB, free: 24.89 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.004724/7.051, allocations: 4.84 MB / 3.694 GB, free: 19.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/7.053, allocations: 0.7601 MB / 3.695 GB, free: 18.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/7.053, allocations: 230.1 kB / 3.695 GB, free: 18.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2801/7.333, allocations: 24.16 MB / 3.718 GB, free: 50.17 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/7.333, allocations: 37.03 kB / 3.718 GB, free: 50.13 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 2.344e-06/7.333, allocations: 0 / 3.718 GB, free: 50.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47): time 0.003297/7.336, allocations: 1.075 MB / 3.719 GB, free: 50.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/7.336, allocations: 110.3 kB / 3.72 GB, free: 49.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005871/7.337, allocations: 469 kB / 3.72 GB, free: 49.86 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.548e-05/7.337, allocations: 39.16 kB / 3.72 GB, free: 49.83 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/7.337, allocations: 337.1 kB / 3.72 GB, free: 49.69 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/7.337, allocations: 164.1 kB / 3.72 GB, free: 49.61 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/7.337, allocations: 13.69 kB / 3.721 GB, free: 49.61 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.115e-05/7.337, allocations: 371.4 kB / 3.721 GB, free: 49.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002972/7.338, allocations: 189.2 kB / 3.721 GB, free: 49.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/7.338, allocations: 367.5 kB / 3.721 GB, free: 49.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/7.338, allocations: 229.3 kB / 3.722 GB, free: 49.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/7.338, allocations: 2.062 kB / 3.722 GB, free: 49.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001023/7.339, allocations: 0.7234 MB / 3.722 GB, free: 49.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003104/7.34, allocations: 2.004 MB / 3.724 GB, free: 46.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/7.34, allocations: 5.562 kB / 3.724 GB, free: 46.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002091/7.342, allocations: 447.5 kB / 3.725 GB, free: 46.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004799/7.342, allocations: 139.2 kB / 3.725 GB, free: 46.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008642/7.343, allocations: 0.808 MB / 3.726 GB, free: 46.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006958/7.344, allocations: 132.9 kB / 3.726 GB, free: 46.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.84e-05/7.344, allocations: 41.44 kB / 3.726 GB, free: 46.37 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.775e-06/7.344, allocations: 3.812 kB / 3.726 GB, free: 46.37 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001075/7.345, allocations: 0.6535 MB / 3.726 GB, free: 46.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/7.345, allocations: 6.312 kB / 3.726 GB, free: 46.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007634/7.346, allocations: 177.6 kB / 3.727 GB, free: 46.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005051/7.346, allocations: 155.9 kB / 3.727 GB, free: 46.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006606/7.347, allocations: 0.7209 MB / 3.727 GB, free: 45.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005662/7.348, allocations: 114 kB / 3.728 GB, free: 45.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/7.348, allocations: 39.02 kB / 3.728 GB, free: 45.81 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 (59): * Single equations (assignments): 58 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0001443/7.348, allocations: 149.3 kB / 3.728 GB, free: 45.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.876e-05/7.348, allocations: 64.61 kB / 3.728 GB, free: 45.67 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002869/7.351, allocations: 3.057 MB / 3.731 GB, free: 45.39 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.509e-05/7.351, allocations: 43.92 kB / 3.731 GB, free: 45.39 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/7.351, allocations: 3.094 kB / 3.731 GB, free: 45.39 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/7.351, allocations: 7.141 kB / 3.731 GB, free: 45.39 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/7.352, allocations: 1.472 MB / 3.732 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/7.352, allocations: 0 / 3.732 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000305/7.352, allocations: 93.73 kB / 3.732 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002591/7.355, allocations: 1.402 MB / 3.734 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.692e-05/7.355, allocations: 16.06 kB / 3.734 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/7.356, allocations: 1.536 MB / 3.735 GB, free: 44.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/7.356, allocations: 0 / 3.735 GB, free: 44.55 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/7.358, allocations: 2.018 MB / 3.737 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003832/7.358, allocations: 338.2 kB / 3.738 GB, free: 44.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.568e-05/7.359, allocations: 18.5 kB / 3.738 GB, free: 44.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005386/7.359, allocations: 76.22 kB / 3.738 GB, free: 44.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.906e-05/7.359, allocations: 51.95 kB / 3.738 GB, free: 44.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.941e-05/7.359, allocations: 25.14 kB / 3.738 GB, free: 44.07 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004534/7.36, allocations: 466.5 kB / 3.738 GB, free: 43.96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/7.36, allocations: 0 / 3.738 GB, free: 43.96 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004764/7.364, allocations: 1.441 MB / 3.74 GB, free: 43.95 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,$cse15.phase,$cse15.region,$cse16.phase,$cse16.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 (40): * Single equations (assignments): 30 * 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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.004855/7.369, allocations: 1.709 MB / 3.741 GB, free: 43.78 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002101/7.371, allocations: 1.221 MB / 3.742 GB, free: 43.76 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/7.371, allocations: 2.719 kB / 3.742 GB, free: 43.76 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006822/7.372, allocations: 0.7406 MB / 3.743 GB, free: 43.74 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/7.374, allocations: 321.8 kB / 3.743 GB, free: 43.74 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/7.376, allocations: 1.777 MB / 3.745 GB, free: 43.34 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/7.376, allocations: 1.169 MB / 3.746 GB, free: 42.64 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009175/7.377, allocations: 0.6807 MB / 3.747 GB, free: 42.63 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.702e-05/7.377, allocations: 52.7 kB / 3.747 GB, free: 42.62 MB / 0.5105 GB Notification: Performance of SimCode: time 3.2e-07/7.377, allocations: 0 / 3.747 GB, free: 42.62 MB / 0.5105 GB Notification: Performance of Templates: time 0.05271/7.43, allocations: 45.87 MB / 3.792 GB, free: 41.05 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefaultCV/TestWaterPumpDefaultCV.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches