Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 168.1 kB / 8.738 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 221.5 MB / 230.7 MB, free: 7.523 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 103 kB / 281.6 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2557/0.2557, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.252e-05/1.253e-05, allocations: 224 / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1204, allocations: 61.92 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.598/7.719, allocations: 2.786 GB / 3.281 GB, free: 160.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/7.719, allocations: 86.78 kB / 3.281 GB, free: 160.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.641/9.36, allocations: 439.5 MB / 3.71 GB, free: 65.99 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.124e-06/9.36, allocations: 0 / 3.71 GB, free: 65.99 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.526e-05/9.36, allocations: 17.75 kB / 3.71 GB, free: 65.99 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.006852/9.367, allocations: 1.747 MB / 3.712 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/9.367, allocations: 14.02 kB / 3.712 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002427/9.37, allocations: 335.4 kB / 3.713 GB, free: 65.18 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/9.371, allocations: 0.5646 MB / 3.713 GB, free: 64.93 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.849e-05/9.371, allocations: 34.22 kB / 3.713 GB, free: 64.93 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-05/9.371, allocations: 33.34 kB / 3.713 GB, free: 64.93 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008942/9.372, allocations: 0.5357 MB / 3.714 GB, free: 64.93 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009437/9.373, allocations: 0.6611 MB / 3.714 GB, free: 64.73 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/9.373, allocations: 3.312 kB / 3.714 GB, free: 64.73 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.029e-05/9.373, allocations: 7.562 kB / 3.714 GB, free: 64.73 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.701e-05/9.373, allocations: 22.11 kB / 3.714 GB, free: 64.73 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.02069/9.394, allocations: 12.01 MB / 3.726 GB, free: 57.01 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008703/9.395, allocations: 470.1 kB / 3.726 GB, free: 56.98 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/9.395, allocations: 222.1 kB / 3.727 GB, free: 56.97 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09569/9.491, allocations: 55.75 MB / 3.781 GB, free: 22.17 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/9.491, allocations: 35.75 kB / 3.781 GB, free: 22.13 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 2.995e-06/9.491, allocations: 3.719 kB / 3.781 GB, free: 22.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=51): time 0.005912/9.497, allocations: 1.81 MB / 3.783 GB, free: 21.71 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/9.497, allocations: 110.8 kB / 3.783 GB, free: 21.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004046/9.497, allocations: 374.1 kB / 3.783 GB, free: 21.48 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/9.497, allocations: 25.7 kB / 3.783 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/9.497, allocations: 336.5 kB / 3.784 GB, free: 21.26 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/9.498, allocations: 168.7 kB / 3.784 GB, free: 21.15 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/9.498, allocations: 3.312 kB / 3.784 GB, free: 21.15 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.707e-05/9.498, allocations: 366.8 kB / 3.784 GB, free: 20.83 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/9.498, allocations: 195.1 kB / 3.784 GB, free: 20.83 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003211/9.498, allocations: 345.1 kB / 3.785 GB, free: 20.65 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/9.499, allocations: 324.4 kB / 3.785 GB, free: 20.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/9.499, allocations: 0 / 3.785 GB, free: 20.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002044/9.501, allocations: 0.8477 MB / 3.786 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003782/9.502, allocations: 1.746 MB / 3.788 GB, free: 18.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/9.502, allocations: 5.906 kB / 3.788 GB, free: 18.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/9.503, allocations: 297.5 kB / 3.788 GB, free: 18.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004632/9.503, allocations: 135.4 kB / 3.788 GB, free: 18.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/9.505, allocations: 0.9671 MB / 3.789 GB, free: 18.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006902/9.505, allocations: 76.73 kB / 3.789 GB, free: 18.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-05/9.505, allocations: 38.39 kB / 3.789 GB, free: 18.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/9.505, allocations: 3.969 kB / 3.789 GB, free: 18.16 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001638/9.507, allocations: 0.6817 MB / 3.79 GB, free: 18.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/9.507, allocations: 7.094 kB / 3.79 GB, free: 18.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/9.508, allocations: 280 kB / 3.79 GB, free: 18.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004371/9.509, allocations: 130 kB / 3.79 GB, free: 18.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009141/9.509, allocations: 0.8741 MB / 3.791 GB, free: 17.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005915/9.51, allocations: 82.89 kB / 3.791 GB, free: 17.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.098e-05/9.51, allocations: 26.05 kB / 3.791 GB, free: 17.57 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.0001953/9.51, allocations: 130.7 kB / 3.791 GB, free: 17.46 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/9.51, allocations: 57.78 kB / 3.791 GB, free: 17.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003031/9.513, allocations: 2.626 MB / 3.794 GB, free: 17.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.072e-05/9.514, allocations: 41.14 kB / 3.794 GB, free: 17.11 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/9.514, allocations: 7.609 kB / 3.794 GB, free: 17.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/9.514, allocations: 0 / 3.794 GB, free: 17.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003959/9.518, allocations: 3.608 MB / 3.797 GB, free: 16.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/9.518, allocations: 0 / 3.797 GB, free: 16.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007152/9.518, allocations: 167.7 kB / 3.798 GB, free: 16.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002201/9.519, allocations: 68.3 kB / 3.798 GB, free: 16.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/9.519, allocations: 10.75 kB / 3.798 GB, free: 16.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/9.52, allocations: 1.201 MB / 3.799 GB, free: 31.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/9.52, allocations: 3.953 kB / 3.799 GB, free: 31.56 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003074/9.523, allocations: 2.258 MB / 3.801 GB, free: 31.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005817/9.524, allocations: 325.5 kB / 3.801 GB, free: 31.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/9.524, allocations: 0 / 3.801 GB, free: 31.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005237/9.525, allocations: 63.39 kB / 3.801 GB, free: 31.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/9.525, allocations: 60.97 kB / 3.801 GB, free: 31.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-05/9.525, allocations: 23.08 kB / 3.802 GB, free: 31.09 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005384/9.525, allocations: 391.8 kB / 3.802 GB, free: 30.98 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/9.525, allocations: 0.5625 kB / 3.802 GB, free: 30.98 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006771/9.532, allocations: 1.347 MB / 3.803 GB, free: 30.79 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: 23 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse16.phase,$cse16.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 (65): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.008453/9.541, allocations: 1.826 MB / 3.805 GB, free: 30.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002663/9.543, allocations: 1.2 MB / 3.806 GB, free: 29.93 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/9.543, allocations: 0 / 3.806 GB, free: 29.93 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/9.544, allocations: 0.7469 MB / 3.807 GB, free: 29.58 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/9.546, allocations: 280.9 kB / 3.807 GB, free: 29.43 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/9.549, allocations: 1.827 MB / 3.809 GB, free: 28.12 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006661/9.549, allocations: 1.149 MB / 3.81 GB, free: 27.11 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001146/9.551, allocations: 0.6818 MB / 3.811 GB, free: 26.71 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/9.551, allocations: 53.52 kB / 3.811 GB, free: 26.67 MB / 0.5261 GB Notification: Performance of SimCode: time 1.152e-06/9.551, allocations: 0 / 3.811 GB, free: 26.67 MB / 0.5261 GB Notification: Performance of Templates: time 0.0595/9.61, allocations: 38.98 MB / 3.849 GB, free: 13.85 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpStorage/TestWaterPumpStorage.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches