Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.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.TestWaterPumpDefaultLV,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|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,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|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001473/0.001473, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.11/2.11, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001041/0.001041, allocations: 78.78 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2837/0.2837, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.111e-05/3.14e-05, allocations: 7.984 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1246, allocations: 58.86 MB / 484.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.125/8.25, allocations: 2.765 GB / 3.237 GB, free: 80.36 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/8.25, allocations: 86.86 kB / 3.238 GB, free: 80.32 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.088/10.34, allocations: 420.2 MB / 3.648 GB, free: 66.29 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.414e-06/10.34, allocations: 0 / 3.648 GB, free: 66.29 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.946e-05/10.34, allocations: 19.62 kB / 3.648 GB, free: 66.28 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.00734/10.35, allocations: 1.647 MB / 3.65 GB, free: 65.29 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/10.35, allocations: 7.781 kB / 3.65 GB, free: 65.29 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003363/10.35, allocations: 302.1 kB / 3.65 GB, free: 65.24 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/10.35, allocations: 0.5187 MB / 3.65 GB, free: 64.89 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.958e-05/10.35, allocations: 47.69 kB / 3.65 GB, free: 64.87 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/10.35, allocations: 55.7 kB / 3.65 GB, free: 64.85 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00303/10.35, allocations: 0.9536 MB / 3.651 GB, free: 64.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/10.35, allocations: 3.953 kB / 3.651 GB, free: 64.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/10.35, allocations: 27.52 kB / 3.651 GB, free: 64.38 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.21e-05/10.35, allocations: 24.06 kB / 3.651 GB, free: 64.38 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002767/10.36, allocations: 0.7791 MB / 3.652 GB, free: 64.15 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.007054/10.36, allocations: 4.655 MB / 3.657 GB, free: 60.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00275/10.37, allocations: 0.6809 MB / 3.657 GB, free: 60.09 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004958/10.37, allocations: 227.2 kB / 3.658 GB, free: 59.99 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07385/10.44, allocations: 24.16 MB / 3.681 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/10.44, allocations: 35.28 kB / 3.681 GB, free: 40.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=43): time 4.258e-06/10.44, allocations: 0 / 3.681 GB, free: 40.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43): time 0.004491/10.45, allocations: 1.002 MB / 3.682 GB, free: 39.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/10.45, allocations: 110.8 kB / 3.682 GB, free: 39.28 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006548/10.45, allocations: 409.7 kB / 3.683 GB, free: 38.91 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.15e-05/10.45, allocations: 29.7 kB / 3.683 GB, free: 38.87 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/10.45, allocations: 349.4 kB / 3.683 GB, free: 38.54 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/10.45, allocations: 151.2 kB / 3.683 GB, free: 38.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/10.45, allocations: 8 kB / 3.683 GB, free: 38.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.606e-05/10.45, allocations: 337.6 kB / 3.684 GB, free: 38.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003941/10.45, allocations: 156 kB / 3.684 GB, free: 37.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004942/10.45, allocations: 331.6 kB / 3.684 GB, free: 37.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004615/10.45, allocations: 202.6 kB / 3.684 GB, free: 37.36 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/10.45, allocations: 3.938 kB / 3.684 GB, free: 37.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001866/10.45, allocations: 0.6079 MB / 3.685 GB, free: 36.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003998/10.45, allocations: 1.92 MB / 3.687 GB, free: 34.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/10.45, allocations: 4 kB / 3.687 GB, free: 34.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/10.45, allocations: 184 kB / 3.687 GB, free: 34.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007891/10.45, allocations: 122.1 kB / 3.687 GB, free: 34.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009881/10.45, allocations: 0.7212 MB / 3.688 GB, free: 33.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/10.46, allocations: 101.6 kB / 3.688 GB, free: 33.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.158e-05/10.46, allocations: 35.38 kB / 3.688 GB, free: 33.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/10.46, allocations: 4 kB / 3.688 GB, free: 33.64 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001721/10.46, allocations: 0.5743 MB / 3.688 GB, free: 33.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/10.46, allocations: 7.953 kB / 3.688 GB, free: 33.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/10.46, allocations: 156.7 kB / 3.689 GB, free: 32.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007815/10.46, allocations: 125.2 kB / 3.689 GB, free: 32.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007497/10.46, allocations: 0.6873 MB / 3.689 GB, free: 32.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008419/10.46, allocations: 98.8 kB / 3.689 GB, free: 32.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-05/10.46, allocations: 31.8 kB / 3.689 GB, free: 32.08 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (53): * Single equations (assignments): 52 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002512/10.46, allocations: 136.8 kB / 3.69 GB, free: 31.94 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/10.46, allocations: 59.28 kB / 3.69 GB, free: 31.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004195/10.47, allocations: 2.886 MB / 3.692 GB, free: 29.27 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-05/10.47, allocations: 44.91 kB / 3.692 GB, free: 29.24 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/10.47, allocations: 0 / 3.692 GB, free: 29.24 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/10.47, allocations: 10.78 kB / 3.692 GB, free: 29.24 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/10.47, allocations: 1.436 MB / 3.694 GB, free: 27.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/10.47, allocations: 4 kB / 3.694 GB, free: 27.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006267/10.47, allocations: 86.86 kB / 3.694 GB, free: 27.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001613/10.47, allocations: 0.7518 MB / 3.695 GB, free: 27.17 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.744e-05/10.47, allocations: 11.98 kB / 3.695 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001371/10.47, allocations: 1.249 MB / 3.696 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/10.47, allocations: 3.984 kB / 3.696 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/10.47, allocations: 1.801 MB / 3.698 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005297/10.47, allocations: 318.7 kB / 3.698 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/10.47, allocations: 16.02 kB / 3.698 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008694/10.48, allocations: 79.84 kB / 3.698 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/10.48, allocations: 44.48 kB / 3.698 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.768e-05/10.48, allocations: 19.98 kB / 3.698 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00066/10.48, allocations: 419.2 kB / 3.699 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.61e-07/10.48, allocations: 3.938 kB / 3.699 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006436/10.48, allocations: 1.352 MB / 3.7 GB, free: 21.81 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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.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 (42): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.009742/10.49, allocations: 1.653 MB / 3.701 GB, free: 20.35 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002891/10.5, allocations: 1.109 MB / 3.703 GB, free: 19.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/10.5, allocations: 0 / 3.703 GB, free: 19.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001125/10.5, allocations: 0.7224 MB / 3.703 GB, free: 18.52 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002567/10.5, allocations: 291.6 kB / 3.704 GB, free: 18.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/10.5, allocations: 1.715 MB / 3.705 GB, free: 16.48 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005705/10.5, allocations: 1.142 MB / 3.706 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002547/10.5, allocations: 59.42 kB / 3.706 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of SimCode: time 1.253e-06/10.5, allocations: 4 kB / 3.706 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of Templates: time 0.4518/10.96, allocations: 36.33 MB / 3.742 GB, free: 60.71 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefaultLV/TestWaterPumpDefaultLV.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches