Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001458/0.001458, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.655/1.655, allocations: 226.5 MB / 245.4 MB, free: 6.52 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000877/0.0008771, allocations: 103.8 kB / 297.5 MB, free: 6.703 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.43/0.43, allocations: 44.83 MB / 394.3 MB, free: 35.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003319, allocations: 8 kB / 467.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.435/0.4353, allocations: 62.96 MB / 0.5184 GB, free: 37.58 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.995/8.43, allocations: 2.788 GB / 3.307 GB, free: 164 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/8.431, allocations: 92.69 kB / 3.307 GB, free: 164 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.678/10.11, allocations: 425.3 MB / 3.722 GB, free: 66.99 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.507e-06/10.11, allocations: 3.281 kB / 3.722 GB, free: 66.99 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.937e-05/10.11, allocations: 16.91 kB / 3.722 GB, free: 66.99 MB / 0.5417 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.007835/10.12, allocations: 1.837 MB / 3.724 GB, free: 66.32 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 8.317e-05/10.12, allocations: 13.69 kB / 3.724 GB, free: 66.32 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002738/10.12, allocations: 328 kB / 3.724 GB, free: 66.28 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/10.12, allocations: 0.5869 MB / 3.725 GB, free: 66.03 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.016e-05/10.12, allocations: 53.34 kB / 3.725 GB, free: 66.02 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/10.12, allocations: 52.59 kB / 3.725 GB, free: 66.02 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002937/10.12, allocations: 1.004 MB / 3.726 GB, free: 65.83 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.654e-05/10.12, allocations: 12.38 kB / 3.726 GB, free: 65.82 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/10.12, allocations: 25.31 kB / 3.726 GB, free: 65.82 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.121e-05/10.12, allocations: 23.5 kB / 3.726 GB, free: 65.82 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002419/10.13, allocations: 0.9025 MB / 3.727 GB, free: 65.82 MB / 0.5417 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.005092/10.13, allocations: 4.525 MB / 3.731 GB, free: 62.59 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002391/10.13, allocations: 0.8074 MB / 3.732 GB, free: 62.57 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006719/10.14, allocations: 301.8 kB / 3.733 GB, free: 62.56 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1077/10.24, allocations: 61.81 MB / 3.793 GB, free: 38.01 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.835e-05/10.24, allocations: 44.56 kB / 3.793 GB, free: 37.97 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=48): time 3.115e-06/10.24, allocations: 0 / 3.793 GB, free: 37.97 MB / 0.5573 GB Notification: Performance of matching and sorting (n=52): time 0.007513/10.25, allocations: 2.248 MB / 3.795 GB, free: 37.56 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.603e-05/10.25, allocations: 113.8 kB / 3.795 GB, free: 37.43 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008191/10.25, allocations: 0.4988 MB / 3.796 GB, free: 37.31 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.245e-05/10.25, allocations: 36.77 kB / 3.796 GB, free: 37.28 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/10.25, allocations: 327.3 kB / 3.796 GB, free: 37.13 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/10.25, allocations: 174.8 kB / 3.796 GB, free: 37.04 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/10.25, allocations: 11.72 kB / 3.796 GB, free: 37.04 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001905/10.25, allocations: 376.2 kB / 3.797 GB, free: 36.73 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006268/10.25, allocations: 270.3 kB / 3.797 GB, free: 36.71 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006779/10.25, allocations: 436.8 kB / 3.797 GB, free: 36.53 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/10.26, allocations: 0.6766 MB / 3.798 GB, free: 36.35 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.676e-06/10.26, allocations: 0 / 3.798 GB, free: 36.35 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002259/10.26, allocations: 0.9633 MB / 3.799 GB, free: 36.25 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001547/10.26, allocations: 227.5 kB / 3.799 GB, free: 36 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/10.26, allocations: 3.969 kB / 3.799 GB, free: 36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002233/10.26, allocations: 473.4 kB / 3.8 GB, free: 35.97 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004697/10.26, allocations: 137.1 kB / 3.8 GB, free: 35.97 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/10.26, allocations: 0.9249 MB / 3.801 GB, free: 35.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008376/10.26, allocations: 87.19 kB / 3.801 GB, free: 35.43 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.075e-05/10.26, allocations: 37.27 kB / 3.801 GB, free: 35.43 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/10.26, allocations: 2.781 kB / 3.801 GB, free: 35.43 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002477/10.27, allocations: 0.9231 MB / 3.802 GB, free: 35.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/10.27, allocations: 8.312 kB / 3.802 GB, free: 35.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00151/10.27, allocations: 345.2 kB / 3.802 GB, free: 35.36 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006553/10.27, allocations: 134.7 kB / 3.802 GB, free: 35.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/10.27, allocations: 0.8844 MB / 3.803 GB, free: 34.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008569/10.27, allocations: 97.56 kB / 3.803 GB, free: 34.82 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-05/10.27, allocations: 34.45 kB / 3.803 GB, free: 34.82 MB / 0.5573 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.0005648/10.27, allocations: 283.9 kB / 3.803 GB, free: 34.62 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/10.27, allocations: 63.53 kB / 3.803 GB, free: 34.59 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003502/10.27, allocations: 2.905 MB / 3.806 GB, free: 34.26 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.489e-05/10.27, allocations: 50.11 kB / 3.806 GB, free: 34.26 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/10.27, allocations: 0 / 3.806 GB, free: 34.26 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/10.27, allocations: 5.812 kB / 3.806 GB, free: 34.26 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004759/10.28, allocations: 4.073 MB / 3.81 GB, free: 33.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/10.28, allocations: 0 / 3.81 GB, free: 33.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006759/10.28, allocations: 172.6 kB / 3.81 GB, free: 33.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003534/10.28, allocations: 69.66 kB / 3.811 GB, free: 33.79 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.934e-05/10.28, allocations: 20.45 kB / 3.811 GB, free: 33.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000754/10.28, allocations: 1.176 MB / 3.812 GB, free: 32.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/10.28, allocations: 0 / 3.812 GB, free: 32.68 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003327/10.28, allocations: 2.572 MB / 3.814 GB, free: 32.39 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005578/10.28, allocations: 333.4 kB / 3.814 GB, free: 32.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/10.28, allocations: 15.59 kB / 3.815 GB, free: 32.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006455/10.29, allocations: 75.69 kB / 3.815 GB, free: 32.18 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/10.29, allocations: 57.64 kB / 3.815 GB, free: 32.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.766e-05/10.29, allocations: 28.47 kB / 3.815 GB, free: 32.18 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006203/10.29, allocations: 462.8 kB / 3.815 GB, free: 32.08 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.71e-07/10.29, allocations: 3.906 kB / 3.815 GB, free: 32.08 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006082/10.29, allocations: 1.408 MB / 3.816 GB, free: 31.88 MB / 0.5573 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.009498/10.3, allocations: 1.736 MB / 3.818 GB, free: 31.48 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003686/10.31, allocations: 1.48 MB / 3.82 GB, free: 31.44 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/10.31, allocations: 3.938 kB / 3.82 GB, free: 31.44 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00132/10.31, allocations: 0.8551 MB / 3.82 GB, free: 31.43 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/10.31, allocations: 340.5 kB / 3.821 GB, free: 31.41 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004812/10.31, allocations: 3.115 MB / 3.824 GB, free: 30.01 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009082/10.31, allocations: 1.142 MB / 3.825 GB, free: 29.29 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00141/10.32, allocations: 0.6568 MB / 3.826 GB, free: 29.26 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/10.32, allocations: 64.55 kB / 3.826 GB, free: 29.25 MB / 0.5573 GB Notification: Performance of SimCode: time 1.192e-06/10.32, allocations: 0 / 3.826 GB, free: 29.25 MB / 0.5573 GB Notification: Performance of Templates: time 0.06617/10.38, allocations: 46.23 MB / 3.871 GB, free: 26.69 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpStorage/TestWaterPumpStorage.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches