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.001138/0.001141, allocations: 202 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.25/1.25, allocations: 227.2 MB / 245 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001017/0.001017, allocations: 100.5 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3502/0.3502, allocations: 45.23 MB / 394.7 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003398, allocations: 8 kB / 468.4 MB, free: 7.734 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.3984, allocations: 63.24 MB / 0.5192 GB, free: 43.63 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.178/6.576, allocations: 2.788 GB / 3.307 GB, free: 153.8 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/6.577, allocations: 89.86 kB / 3.307 GB, free: 153.8 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.527/8.103, allocations: 445.1 MB / 3.742 GB, free: 65.98 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.144e-06/8.103, allocations: 2.188 kB / 3.742 GB, free: 65.98 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.873e-05/8.104, allocations: 19.75 kB / 3.742 GB, free: 65.98 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.006516/8.11, allocations: 1.846 MB / 3.744 GB, free: 65.29 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/8.11, allocations: 7.438 kB / 3.744 GB, free: 65.29 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00258/8.113, allocations: 324.8 kB / 3.744 GB, free: 65.25 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/8.114, allocations: 0.571 MB / 3.745 GB, free: 65.02 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.719e-05/8.114, allocations: 48.97 kB / 3.745 GB, free: 65.02 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/8.114, allocations: 59.41 kB / 3.745 GB, free: 65.02 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/8.117, allocations: 0.997 MB / 3.746 GB, free: 64.82 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/8.117, allocations: 8.984 kB / 3.746 GB, free: 64.82 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.82e-05/8.117, allocations: 29.14 kB / 3.746 GB, free: 64.82 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.474e-05/8.117, allocations: 23.86 kB / 3.746 GB, free: 64.82 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002359/8.119, allocations: 0.9063 MB / 3.747 GB, free: 64.81 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.004501/8.124, allocations: 4.522 MB / 3.751 GB, free: 61.59 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002183/8.126, allocations: 0.7938 MB / 3.752 GB, free: 61.56 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1087/8.235, allocations: 61.82 MB / 3.812 GB, free: 36.92 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.181e-05/8.235, allocations: 38.66 kB / 3.812 GB, free: 36.88 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=48): time 2.555e-06/8.235, allocations: 1.219 kB / 3.812 GB, free: 36.88 MB / 0.5573 GB Notification: Performance of matching and sorting (n=52): time 0.006949/8.242, allocations: 2.263 MB / 3.815 GB, free: 36.45 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.597e-05/8.242, allocations: 107 kB / 3.815 GB, free: 36.33 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007318/8.243, allocations: 455 kB / 3.815 GB, free: 36.21 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.097e-05/8.243, allocations: 38.3 kB / 3.815 GB, free: 36.18 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/8.243, allocations: 323.7 kB / 3.816 GB, free: 36.03 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/8.243, allocations: 178.8 kB / 3.816 GB, free: 35.92 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/8.243, allocations: 8.656 kB / 3.816 GB, free: 35.92 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001858/8.243, allocations: 375.2 kB / 3.816 GB, free: 35.6 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006023/8.244, allocations: 269.2 kB / 3.816 GB, free: 35.59 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006591/8.245, allocations: 429.2 kB / 3.817 GB, free: 35.41 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006909/8.245, allocations: 308.1 kB / 3.817 GB, free: 35.4 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/8.245, allocations: 0 / 3.817 GB, free: 35.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002176/8.248, allocations: 0.9685 MB / 3.818 GB, free: 35.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008133/8.248, allocations: 1.751 MB / 3.82 GB, free: 33.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/8.249, allocations: 3.938 kB / 3.82 GB, free: 33.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002002/8.251, allocations: 426.1 kB / 3.82 GB, free: 33.44 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004598/8.251, allocations: 128.5 kB / 3.82 GB, free: 33.44 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/8.252, allocations: 0.9173 MB / 3.821 GB, free: 32.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008374/8.253, allocations: 96.44 kB / 3.821 GB, free: 32.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.822e-05/8.253, allocations: 39.77 kB / 3.821 GB, free: 32.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/8.253, allocations: 6.438 kB / 3.821 GB, free: 32.9 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002556/8.256, allocations: 0.9186 MB / 3.822 GB, free: 32.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/8.256, allocations: 10.73 kB / 3.822 GB, free: 32.86 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001621/8.258, allocations: 331.6 kB / 3.823 GB, free: 32.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004643/8.258, allocations: 137.8 kB / 3.823 GB, free: 32.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/8.259, allocations: 0.8883 MB / 3.824 GB, free: 32.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007653/8.26, allocations: 98.09 kB / 3.824 GB, free: 32.29 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.99e-05/8.26, allocations: 37.48 kB / 3.824 GB, free: 32.29 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.0005678/8.261, allocations: 285.3 kB / 3.824 GB, free: 32.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/8.261, allocations: 60.78 kB / 3.824 GB, free: 32.07 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003408/8.264, allocations: 2.906 MB / 3.827 GB, free: 31.73 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-05/8.264, allocations: 40.81 kB / 3.827 GB, free: 31.73 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/8.264, allocations: 7.953 kB / 3.827 GB, free: 31.72 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/8.264, allocations: 9.719 kB / 3.827 GB, free: 31.72 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004484/8.269, allocations: 4.066 MB / 3.831 GB, free: 31.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/8.269, allocations: 7.812 kB / 3.831 GB, free: 31.27 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007138/8.27, allocations: 172.8 kB / 3.831 GB, free: 31.26 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003399/8.27, allocations: 73.95 kB / 3.831 GB, free: 31.25 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.966e-05/8.27, allocations: 21.89 kB / 3.831 GB, free: 31.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007052/8.271, allocations: 1.173 MB / 3.832 GB, free: 30.15 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/8.271, allocations: 3.953 kB / 3.832 GB, free: 30.14 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003147/8.274, allocations: 2.565 MB / 3.835 GB, free: 29.86 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005125/8.275, allocations: 330 kB / 3.835 GB, free: 29.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/8.275, allocations: 16.19 kB / 3.835 GB, free: 29.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006204/8.275, allocations: 85.55 kB / 3.835 GB, free: 29.64 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/8.275, allocations: 57.17 kB / 3.835 GB, free: 29.64 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.148e-05/8.275, allocations: 24.48 kB / 3.835 GB, free: 29.64 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005879/8.276, allocations: 463.7 kB / 3.836 GB, free: 29.54 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2e-07/8.276, allocations: 0 / 3.836 GB, free: 29.54 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006456/8.283, allocations: 1.412 MB / 3.837 GB, free: 29.35 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.009184/8.292, allocations: 1.735 MB / 3.839 GB, free: 28.96 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003571/8.295, allocations: 1.47 MB / 3.84 GB, free: 28.92 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/8.295, allocations: 5.781 kB / 3.84 GB, free: 28.92 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001225/8.297, allocations: 0.8549 MB / 3.841 GB, free: 28.91 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/8.298, allocations: 330.5 kB / 3.841 GB, free: 28.89 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003866/8.302, allocations: 3.113 MB / 3.844 GB, free: 27.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007264/8.303, allocations: 1.166 MB / 3.846 GB, free: 26.77 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001043/8.304, allocations: 0.6529 MB / 3.846 GB, free: 26.75 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/8.304, allocations: 72.86 kB / 3.846 GB, free: 26.74 MB / 0.5573 GB Notification: Performance of SimCode: time 1.152e-06/8.304, allocations: 2.25 kB / 3.846 GB, free: 26.74 MB / 0.5573 GB Notification: Performance of Templates: time 0.05715/8.361, allocations: 43.78 MB / 3.889 GB, free: 23.03 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/jenkins/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