Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001032/0.001032, allocations: 183 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.259/1.259, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008376/0.0008377, allocations: 87.83 kB / 267.1 MB, free: 9.273 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.3208/0.3208, allocations: 43.48 MB / 358.6 MB, free: 52.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.277e-05/2.279e-05, allocations: 0 / 425.3 MB, free: 8.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09526/0.09529, allocations: 58.85 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.956/6.052, allocations: 2.782 GB / 3.254 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/6.052, allocations: 86.78 kB / 3.255 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.383/7.435, allocations: 439.1 MB / 3.683 GB, free: 40.51 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.823e-06/7.435, allocations: 0 / 3.683 GB, free: 40.51 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.811e-05/7.435, allocations: 17.69 kB / 3.683 GB, free: 40.51 MB / 0.4948 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.006829/7.442, allocations: 1.75 MB / 3.685 GB, free: 39.44 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/7.442, allocations: 7.875 kB / 3.685 GB, free: 39.44 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002549/7.444, allocations: 329.6 kB / 3.685 GB, free: 39.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/7.446, allocations: 0.565 MB / 3.686 GB, free: 39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.015e-05/7.446, allocations: 51.05 kB / 3.686 GB, free: 38.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.82e-05/7.446, allocations: 57.81 kB / 3.686 GB, free: 38.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/7.448, allocations: 0.976 MB / 3.687 GB, free: 38.51 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/7.448, allocations: 0 / 3.687 GB, free: 38.51 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.81e-05/7.448, allocations: 27.25 kB / 3.687 GB, free: 38.49 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.835e-05/7.448, allocations: 20.03 kB / 3.687 GB, free: 38.49 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/7.449, allocations: 0.809 MB / 3.688 GB, free: 38.25 MB / 0.4948 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.003963/7.453, allocations: 4.534 MB / 3.692 GB, free: 34.43 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/7.455, allocations: 0.7279 MB / 3.693 GB, free: 34.19 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002998/7.455, allocations: 232.8 kB / 3.693 GB, free: 34.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3914/7.847, allocations: 55.75 MB / 3.748 GB, free: 62.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.699e-05/7.847, allocations: 42.77 kB / 3.748 GB, free: 62.73 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 2.425e-06/7.847, allocations: 0 / 3.748 GB, free: 62.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.005207/7.852, allocations: 1.847 MB / 3.749 GB, free: 62.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.74e-05/7.852, allocations: 108.2 kB / 3.75 GB, free: 62.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000531/7.853, allocations: 441.7 kB / 3.75 GB, free: 62.16 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.452e-05/7.853, allocations: 36.52 kB / 3.75 GB, free: 62.13 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/7.853, allocations: 330.3 kB / 3.75 GB, free: 61.99 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/7.853, allocations: 175.2 kB / 3.751 GB, free: 61.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/7.853, allocations: 13.38 kB / 3.751 GB, free: 61.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001122/7.853, allocations: 375.4 kB / 3.751 GB, free: 61.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002859/7.854, allocations: 194.3 kB / 3.751 GB, free: 61.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000362/7.854, allocations: 362.5 kB / 3.751 GB, free: 61.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/7.854, allocations: 241.4 kB / 3.752 GB, free: 61.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/7.854, allocations: 0 / 3.752 GB, free: 61.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001418/7.856, allocations: 0.8047 MB / 3.752 GB, free: 61.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003335/7.856, allocations: 1.749 MB / 3.754 GB, free: 59.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/7.856, allocations: 3.188 kB / 3.754 GB, free: 59.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001698/7.858, allocations: 378.3 kB / 3.754 GB, free: 59.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004585/7.858, allocations: 135.3 kB / 3.755 GB, free: 59.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/7.859, allocations: 0.8693 MB / 3.755 GB, free: 58.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007424/7.86, allocations: 96.84 kB / 3.756 GB, free: 58.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.952e-05/7.86, allocations: 33.5 kB / 3.756 GB, free: 58.97 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/7.86, allocations: 2.719 kB / 3.756 GB, free: 58.97 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001804/7.862, allocations: 0.7651 MB / 3.756 GB, free: 58.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/7.862, allocations: 6.125 kB / 3.756 GB, free: 58.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/7.863, allocations: 295.6 kB / 3.757 GB, free: 58.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004746/7.864, allocations: 141 kB / 3.757 GB, free: 58.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009227/7.865, allocations: 0.8372 MB / 3.758 GB, free: 58.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006493/7.865, allocations: 88.92 kB / 3.758 GB, free: 58.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.113e-05/7.865, allocations: 35.14 kB / 3.758 GB, free: 58.4 MB / 0.5105 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 () * 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.000212/7.866, allocations: 147 kB / 3.758 GB, free: 58.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/7.866, allocations: 66.33 kB / 3.758 GB, free: 58.26 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002825/7.869, allocations: 2.844 MB / 3.761 GB, free: 57.98 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.783e-05/7.869, allocations: 44.97 kB / 3.761 GB, free: 57.98 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/7.869, allocations: 0 / 3.761 GB, free: 57.98 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/7.869, allocations: 5.75 kB / 3.761 GB, free: 57.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004091/7.873, allocations: 4.007 MB / 3.765 GB, free: 57.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/7.873, allocations: 0 / 3.765 GB, free: 57.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007073/7.874, allocations: 167.7 kB / 3.765 GB, free: 57.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002875/7.874, allocations: 74.66 kB / 3.765 GB, free: 57.56 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.762e-05/7.874, allocations: 16.84 kB / 3.765 GB, free: 57.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000524/7.874, allocations: 1.181 MB / 3.766 GB, free: 56.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/7.874, allocations: 0 / 3.766 GB, free: 56.46 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002619/7.877, allocations: 2.365 MB / 3.768 GB, free: 56.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00055/7.878, allocations: 334 kB / 3.769 GB, free: 56.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/7.878, allocations: 15.78 kB / 3.769 GB, free: 56.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005292/7.878, allocations: 77.48 kB / 3.769 GB, free: 56.01 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/7.878, allocations: 56.52 kB / 3.769 GB, free: 56.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-05/7.879, allocations: 26.67 kB / 3.769 GB, free: 56.01 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005766/7.879, allocations: 447.8 kB / 3.769 GB, free: 55.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/7.879, allocations: 0 / 3.769 GB, free: 55.91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007762/7.887, allocations: 1.401 MB / 3.771 GB, free: 55.91 MB / 0.5105 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 () * 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.009816/7.897, allocations: 1.735 MB / 3.772 GB, free: 55.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002552/7.899, allocations: 1.288 MB / 3.774 GB, free: 55.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/7.899, allocations: 0 / 3.774 GB, free: 55.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009841/7.9, allocations: 0.8043 MB / 3.774 GB, free: 55.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/7.902, allocations: 323.7 kB / 3.775 GB, free: 55.69 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/7.904, allocations: 1.944 MB / 3.777 GB, free: 55.28 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/7.905, allocations: 1.168 MB / 3.778 GB, free: 54.57 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001036/7.906, allocations: 0.6816 MB / 3.778 GB, free: 54.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/7.906, allocations: 58.64 kB / 3.778 GB, free: 54.56 MB / 0.5105 GB Notification: Performance of SimCode: time 1.042e-06/7.906, allocations: 0 / 3.778 GB, free: 54.56 MB / 0.5105 GB Notification: Performance of Templates: time 0.06196/7.968, allocations: 46.21 MB / 3.824 GB, free: 52.62 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat","/var/lib/jenkins/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_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches