Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.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.TestWaterPumpStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001459/0.001459, allocations: 185.8 kB / 16.41 MB, free: 5.723 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.928/1.928, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001196/0.001196, allocations: 95.22 kB / 270.9 MB, free: 8.387 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.5074/0.5074, allocations: 43.55 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004688/0.0004688, allocations: 16 kB / 431.4 MB, free: 6.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1248, allocations: 58.86 MB / 490.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.409/8.534, allocations: 2.782 GB / 3.26 GB, free: 29.12 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/8.534, allocations: 87.45 kB / 3.261 GB, free: 29.08 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 2.511/11.05, allocations: 440.4 MB / 3.691 GB, free: 56.55 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.184e-06/11.05, allocations: 0 / 3.691 GB, free: 56.55 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.786e-05/11.05, allocations: 20.16 kB / 3.691 GB, free: 56.55 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.00866/11.05, allocations: 1.832 MB / 3.692 GB, free: 55.91 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/11.05, allocations: 8.875 kB / 3.692 GB, free: 55.91 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003937/11.06, allocations: 332.4 kB / 3.693 GB, free: 55.88 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/11.06, allocations: 0.5744 MB / 3.693 GB, free: 55.64 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.627e-05/11.06, allocations: 49.44 kB / 3.693 GB, free: 55.64 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/11.06, allocations: 54.66 kB / 3.693 GB, free: 55.64 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003897/11.06, allocations: 1.008 MB / 3.694 GB, free: 55.44 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.532e-05/11.06, allocations: 3.125 kB / 3.694 GB, free: 55.44 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/11.06, allocations: 29.55 kB / 3.694 GB, free: 55.44 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.723e-05/11.06, allocations: 24.55 kB / 3.694 GB, free: 55.44 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00414/11.07, allocations: 0.9037 MB / 3.695 GB, free: 55.44 MB / 0.5105 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.007086/11.08, allocations: 4.522 MB / 3.7 GB, free: 52.21 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00386/11.08, allocations: 0.8001 MB / 3.7 GB, free: 52.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1742/11.25, allocations: 55.55 MB / 3.755 GB, free: 34.25 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.812e-05/11.25, allocations: 40.36 kB / 3.755 GB, free: 34.21 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 2.625e-06/11.25, allocations: 1.031 kB / 3.755 GB, free: 34.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52): time 0.01103/11.26, allocations: 2.253 MB / 3.757 GB, free: 33.79 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.444e-05/11.27, allocations: 108.8 kB / 3.757 GB, free: 33.67 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009572/11.27, allocations: 453.2 kB / 3.757 GB, free: 33.55 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001343/11.27, allocations: 36.83 kB / 3.758 GB, free: 33.52 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000264/11.27, allocations: 364.5 kB / 3.758 GB, free: 33.31 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000207/11.27, allocations: 179.7 kB / 3.758 GB, free: 33.21 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.45e-05/11.27, allocations: 15.28 kB / 3.758 GB, free: 33.21 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001551/11.27, allocations: 335.2 kB / 3.758 GB, free: 32.89 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/11.27, allocations: 266.5 kB / 3.759 GB, free: 32.89 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/11.27, allocations: 435.2 kB / 3.759 GB, free: 32.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/11.27, allocations: 303.2 kB / 3.759 GB, free: 32.69 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/11.27, allocations: 1.438 kB / 3.759 GB, free: 32.69 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.004056/11.27, allocations: 0.9339 MB / 3.76 GB, free: 32.61 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007161/11.28, allocations: 1.747 MB / 3.762 GB, free: 30.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/11.28, allocations: 9.188 kB / 3.762 GB, free: 30.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003481/11.28, allocations: 430.8 kB / 3.762 GB, free: 30.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009981/11.28, allocations: 128.5 kB / 3.762 GB, free: 30.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00243/11.28, allocations: 0.9212 MB / 3.763 GB, free: 30.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/11.28, allocations: 97.92 kB / 3.763 GB, free: 30.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.826e-05/11.28, allocations: 34.88 kB / 3.764 GB, free: 30.21 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/11.28, allocations: 3.875 kB / 3.764 GB, free: 30.21 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004846/11.29, allocations: 0.9232 MB / 3.764 GB, free: 30.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/11.29, allocations: 8.766 kB / 3.764 GB, free: 30.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002623/11.29, allocations: 314.2 kB / 3.765 GB, free: 30.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/11.29, allocations: 140.5 kB / 3.765 GB, free: 30.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002351/11.3, allocations: 0.8786 MB / 3.766 GB, free: 29.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/11.3, allocations: 91.02 kB / 3.766 GB, free: 29.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.855e-05/11.3, allocations: 36.67 kB / 3.766 GB, free: 29.61 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (55): * Single equations (assignments): 54 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0006668/11.3, allocations: 281.3 kB / 3.766 GB, free: 29.41 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002397/11.3, allocations: 68.38 kB / 3.766 GB, free: 29.38 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005732/11.3, allocations: 2.9 MB / 3.769 GB, free: 29.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.46e-05/11.3, allocations: 50.91 kB / 3.769 GB, free: 29.04 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/11.3, allocations: 0 / 3.769 GB, free: 29.04 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/11.3, allocations: 3.141 kB / 3.769 GB, free: 29.04 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007694/11.31, allocations: 4.07 MB / 3.773 GB, free: 28.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/11.31, allocations: 7.516 kB / 3.773 GB, free: 28.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/11.31, allocations: 169.9 kB / 3.773 GB, free: 28.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005692/11.31, allocations: 79.33 kB / 3.773 GB, free: 28.57 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-05/11.31, allocations: 16.47 kB / 3.773 GB, free: 28.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008908/11.31, allocations: 1.18 MB / 3.774 GB, free: 27.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/11.31, allocations: 3.875 kB / 3.774 GB, free: 27.46 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005337/11.32, allocations: 2.569 MB / 3.777 GB, free: 27.17 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000782/11.32, allocations: 336.1 kB / 3.777 GB, free: 26.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/11.32, allocations: 8.562 kB / 3.777 GB, free: 26.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009549/11.32, allocations: 79.92 kB / 3.777 GB, free: 26.96 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/11.32, allocations: 56.19 kB / 3.777 GB, free: 26.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.578e-05/11.32, allocations: 18 kB / 3.777 GB, free: 26.96 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008448/11.32, allocations: 469.1 kB / 3.778 GB, free: 26.86 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.273e-06/11.32, allocations: 3.609 kB / 3.778 GB, free: 26.86 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00693/11.33, allocations: 1.403 MB / 3.779 GB, free: 26.67 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse17.phase,$cse17.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 (67): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01095/11.34, allocations: 1.72 MB / 3.781 GB, free: 26.28 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005679/11.35, allocations: 1.479 MB / 3.782 GB, free: 26.23 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/11.35, allocations: 0 / 3.782 GB, free: 26.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002/11.35, allocations: 0.8553 MB / 3.783 GB, free: 26.23 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002945/11.35, allocations: 324.5 kB / 3.784 GB, free: 26.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005379/11.36, allocations: 3.163 MB / 3.787 GB, free: 24.78 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008058/11.36, allocations: 1.164 MB / 3.788 GB, free: 24.06 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000392/11.36, allocations: 70.48 kB / 3.788 GB, free: 24.05 MB / 0.5261 GB Notification: Performance of SimCode: time 1.223e-06/11.36, allocations: 0 / 3.788 GB, free: 24.05 MB / 0.5261 GB Notification: Performance of Templates: time 0.07743/11.44, allocations: 40.71 MB / 3.828 GB, free: 20.54 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpStorage/TestWaterPumpStorage.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches