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.001481/0.001481, allocations: 177.6 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008278/0.0008278, allocations: 86.3 kB / 261.7 MB, free: 1.617 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.1964/0.1964, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.384e-05/1.386e-05, allocations: 0 / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1131, allocations: 58.85 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.095/6.208, allocations: 2.781 GB / 3.247 GB, free: 145.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/6.209, allocations: 94.95 kB / 3.247 GB, free: 145.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.494/7.702, allocations: 434.8 MB / 3.672 GB, free: 60.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.372e-06/7.702, allocations: 3.844 kB / 3.672 GB, free: 60.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.94e-05/7.702, allocations: 17.88 kB / 3.672 GB, free: 60.4 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.007472/7.71, allocations: 1.745 MB / 3.673 GB, free: 59.62 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.734e-05/7.71, allocations: 13.84 kB / 3.673 GB, free: 59.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002777/7.713, allocations: 332.1 kB / 3.674 GB, free: 59.58 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/7.714, allocations: 0.5747 MB / 3.674 GB, free: 59.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.905e-05/7.714, allocations: 17.28 kB / 3.674 GB, free: 59.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.988e-05/7.714, allocations: 37.22 kB / 3.674 GB, free: 59.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008618/7.715, allocations: 0.542 MB / 3.675 GB, free: 59.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008716/7.716, allocations: 0.6612 MB / 3.675 GB, free: 59.12 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/7.716, allocations: 3.781 kB / 3.675 GB, free: 59.12 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.823e-05/7.716, allocations: 0 / 3.675 GB, free: 59.12 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.365e-05/7.716, allocations: 27.12 kB / 3.676 GB, free: 59.11 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.01843/7.735, allocations: 12.01 MB / 3.687 GB, free: 51.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008062/7.735, allocations: 456.7 kB / 3.688 GB, free: 51.37 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/7.736, allocations: 222.3 kB / 3.688 GB, free: 51.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09415/7.83, allocations: 55.74 MB / 3.742 GB, free: 32.54 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.352e-05/7.83, allocations: 38.19 kB / 3.742 GB, free: 32.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 3.156e-06/7.83, allocations: 0 / 3.742 GB, free: 32.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=51): time 0.007004/7.837, allocations: 1.818 MB / 3.744 GB, free: 32.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/7.837, allocations: 112 kB / 3.744 GB, free: 31.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007507/7.838, allocations: 375.8 kB / 3.745 GB, free: 31.85 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.674e-05/7.838, allocations: 25.7 kB / 3.745 GB, free: 31.82 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000311/7.838, allocations: 331.3 kB / 3.745 GB, free: 31.64 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/7.839, allocations: 169 kB / 3.745 GB, free: 31.53 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/7.839, allocations: 4 kB / 3.745 GB, free: 31.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002269/7.839, allocations: 369.1 kB / 3.745 GB, free: 31.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/7.839, allocations: 188.1 kB / 3.746 GB, free: 31.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004322/7.84, allocations: 349.4 kB / 3.746 GB, free: 31.03 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/7.841, allocations: 325.9 kB / 3.746 GB, free: 31.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/7.841, allocations: 4 kB / 3.746 GB, free: 31.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002246/7.843, allocations: 0.8463 MB / 3.747 GB, free: 30.92 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007881/7.844, allocations: 1.74 MB / 3.749 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/7.844, allocations: 7.875 kB / 3.749 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/7.845, allocations: 287.9 kB / 3.749 GB, free: 29.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004628/7.846, allocations: 144.9 kB / 3.749 GB, free: 29.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/7.847, allocations: 0.9575 MB / 3.75 GB, free: 28.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007777/7.848, allocations: 83.64 kB / 3.75 GB, free: 28.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.653e-05/7.848, allocations: 33.81 kB / 3.75 GB, free: 28.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/7.848, allocations: 3.969 kB / 3.75 GB, free: 28.53 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001628/7.849, allocations: 0.6849 MB / 3.751 GB, free: 28.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/7.849, allocations: 7.906 kB / 3.751 GB, free: 28.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/7.851, allocations: 281.9 kB / 3.751 GB, free: 28.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004485/7.851, allocations: 144.1 kB / 3.751 GB, free: 28.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/7.852, allocations: 0.8609 MB / 3.752 GB, free: 27.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007236/7.853, allocations: 82.38 kB / 3.752 GB, free: 27.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.336e-05/7.853, allocations: 30.73 kB / 3.752 GB, free: 27.94 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.0002592/7.853, allocations: 120.9 kB / 3.752 GB, free: 27.83 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/7.853, allocations: 63.17 kB / 3.752 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003086/7.856, allocations: 2.626 MB / 3.755 GB, free: 27.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.187e-05/7.856, allocations: 40.67 kB / 3.755 GB, free: 27.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/7.856, allocations: 0 / 3.755 GB, free: 27.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/7.857, allocations: 3.797 kB / 3.755 GB, free: 27.48 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003625/7.86, allocations: 3.615 MB / 3.759 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/7.86, allocations: 0 / 3.759 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006555/7.861, allocations: 165.5 kB / 3.759 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001976/7.861, allocations: 71.2 kB / 3.759 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/7.861, allocations: 6.75 kB / 3.759 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006851/7.862, allocations: 1.209 MB / 3.76 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/7.862, allocations: 7.141 kB / 3.76 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002488/7.864, allocations: 2.252 MB / 3.762 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004141/7.865, allocations: 329.1 kB / 3.763 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.054e-05/7.865, allocations: 0 / 3.763 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004776/7.865, allocations: 58.03 kB / 3.763 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/7.865, allocations: 52.55 kB / 3.763 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-05/7.865, allocations: 30.69 kB / 3.763 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00044/7.866, allocations: 391.5 kB / 3.763 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.01e-07/7.866, allocations: 0 / 3.763 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006234/7.872, allocations: 1.346 MB / 3.764 GB, free: 25.18 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: 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.00909/7.881, allocations: 1.83 MB / 3.766 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002572/7.884, allocations: 1.202 MB / 3.767 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/7.884, allocations: 0 / 3.767 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/7.885, allocations: 0.7428 MB / 3.768 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/7.887, allocations: 283.1 kB / 3.768 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/7.89, allocations: 1.817 MB / 3.77 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006424/7.89, allocations: 1.149 MB / 3.771 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001162/7.892, allocations: 0.6885 MB / 3.772 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/7.892, allocations: 59.66 kB / 3.772 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of SimCode: time 8.81e-07/7.892, allocations: 0 / 3.772 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of Templates: time 0.05332/7.945, allocations: 38.88 MB / 3.81 GB, free: 13.77 MB / 0.5261 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