Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 99.47 kB / 16.94 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001974/0.001974, allocations: 181.7 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.4 MB / 224 MB, free: 13.18 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005047/0.0005047, allocations: 12 kB / 280.8 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09304/0.09355, allocations: 47.59 MB / 328.3 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2): time 0.01774/0.1113, allocations: 18.8 MB / 347.1 MB, free: 1.215 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01218/0.1236, allocations: 8.828 MB / 356 MB, free: 8.375 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.1247, allocations: 35.69 kB / 356 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.1258, allocations: 342.2 kB / 356.3 MB, free: 8.004 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002997/0.1288, allocations: 1.153 MB / 357.5 MB, free: 6.848 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005169/0.134, allocations: 2.042 MB / 359.5 MB, free: 4.801 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002167/0.1362, allocations: 1.421 MB / 361 MB, free: 3.379 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007424/0.1369, allocations: 0.544 MB / 361.5 MB, free: 2.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.1381, allocations: 0.779 MB / 362.3 MB, free: 2.039 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008566/0.139, allocations: 0.6268 MB / 362.9 MB, free: 1.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.1391, allocations: 51.94 kB / 363 MB, free: 1.359 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002873/0.142, allocations: 1.568 MB / 364.5 MB, free: 15.79 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002928/0.1423, allocations: 287.2 kB / 364.8 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002439/0.1425, allocations: 213.2 kB / 365 MB, free: 15.29 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002952/0.1455, allocations: 1.746 MB / 366.8 MB, free: 13.54 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1455, allocations: 0 / 366.8 MB, free: 13.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1455, allocations: 0 / 366.8 MB, free: 13.54 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.1456, allocations: 0 / 366.8 MB, free: 13.54 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.002826/0.1484, allocations: 1.332 MB / 368.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.1484, allocations: 8.031 kB / 368.1 MB, free: 12.15 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003489/0.1488, allocations: 106.8 kB / 368.2 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.1498, allocations: 0.6596 MB / 368.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5e-05/0.1499, allocations: 49.3 kB / 368.9 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.15, allocations: 63.89 kB / 369 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.1515, allocations: 1.056 MB / 370 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.1515, allocations: 0 / 370 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-05/0.1516, allocations: 27.98 kB / 370.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.73e-05/0.1517, allocations: 69.27 kB / 370.1 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.1532, allocations: 1.028 MB / 371.2 MB, free: 9 MB / 318.1 MB 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.006094/0.1593, allocations: 4.524 MB / 375.7 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008779/0.1602, allocations: 0.5708 MB / 376.2 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002377/0.1626, allocations: 2.008 MB / 378.3 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.1626, allocations: 38.89 kB / 378.3 MB, free: 1.355 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 1.864e-06/0.1627, allocations: 0 / 378.3 MB, free: 1.355 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.1509/0.3136, allocations: 1.947 MB / 380.2 MB, free: 54.11 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.3137, allocations: 160.5 kB / 380.4 MB, free: 53.92 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.315, allocations: 0.9185 MB / 381.3 MB, free: 53.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.213e-05/0.3151, allocations: 38.06 kB / 381.4 MB, free: 53.74 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004267/0.3155, allocations: 489.2 kB / 381.8 MB, free: 53.53 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.3157, allocations: 163.1 kB / 382 MB, free: 53.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-05/0.3157, allocations: 16.62 kB / 382 MB, free: 53.43 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.968e-05/0.3158, allocations: 341 kB / 382.3 MB, free: 53.12 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006728/0.3165, allocations: 323.7 kB / 382.7 MB, free: 53.12 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006141/0.3171, allocations: 0.6132 MB / 383.3 MB, free: 52.74 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005944/0.3177, allocations: 401.6 kB / 383.7 MB, free: 52.59 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.3177, allocations: 2.75 kB / 383.7 MB, free: 52.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001823/0.3196, allocations: 1.093 MB / 384.8 MB, free: 52.14 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006238/0.3202, allocations: 3.483 MB / 388.2 MB, free: 48.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.3202, allocations: 9 kB / 388.2 MB, free: 48.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002482/0.3227, allocations: 381.4 kB / 388.6 MB, free: 48.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006728/0.3234, allocations: 182.3 kB / 388.8 MB, free: 48.4 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009035/0.3243, allocations: 1.338 MB / 390.1 MB, free: 47.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007945/0.3251, allocations: 59.48 kB / 390.2 MB, free: 47.22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.91e-05/0.3252, allocations: 44.77 kB / 390.2 MB, free: 47.21 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.3252, allocations: 3.219 kB / 390.2 MB, free: 47.21 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001612/0.3269, allocations: 0.9726 MB / 391.2 MB, free: 46.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.3269, allocations: 8.531 kB / 391.2 MB, free: 46.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002181/0.3291, allocations: 361.1 kB / 391.6 MB, free: 46.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006109/0.3297, allocations: 180.8 kB / 391.8 MB, free: 46.76 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007706/0.3305, allocations: 1.308 MB / 393.1 MB, free: 45.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000651/0.3311, allocations: 55.03 kB / 393.1 MB, free: 45.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-05/0.3312, allocations: 43.2 kB / 393.2 MB, free: 45.59 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.tank1.aboveLevel[1],tank1.aboveLevel[1],$PRE.tank1.aboveLevel[2],tank1.aboveLevel[2],tank1.ports_m_flow_out[2],tank1.ports_m_flow_out[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 102 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004674/0.3317, allocations: 368.4 kB / 393.5 MB, free: 45.3 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.3318, allocations: 94.7 kB / 393.6 MB, free: 45.26 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001572/0.3334, allocations: 0.7838 MB / 394.4 MB, free: 44.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.3334, allocations: 9.594 kB / 394.4 MB, free: 44.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.3334, allocations: 0.6562 kB / 394.4 MB, free: 44.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.3335, allocations: 6.344 kB / 394.4 MB, free: 44.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002417/0.3359, allocations: 1.6 MB / 396 MB, free: 44.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.3359, allocations: 5.234 kB / 396 MB, free: 44.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003528/0.3363, allocations: 77.73 kB / 396.1 MB, free: 44.13 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001387/0.3377, allocations: 312.2 kB / 396.4 MB, free: 44.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.666e-05/0.3377, allocations: 16.97 kB / 396.4 MB, free: 44.06 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006915/0.3384, allocations: 1.297 MB / 397.7 MB, free: 42.91 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3384, allocations: 4.062 kB / 397.7 MB, free: 42.91 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.3398, allocations: 1.099 MB / 398.8 MB, free: 42.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002491/0.3401, allocations: 193.5 kB / 399 MB, free: 42.17 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.3402, allocations: 23.69 kB / 399 MB, free: 42.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005059/0.3407, allocations: 40.52 kB / 399.1 MB, free: 42.14 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.3409, allocations: 46.09 kB / 399.1 MB, free: 42.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.821e-05/0.3409, allocations: 22.17 kB / 399.1 MB, free: 42.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007404/0.3417, allocations: 0.6493 MB / 399.8 MB, free: 41.85 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3417, allocations: 0 / 399.8 MB, free: 41.85 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00187/0.3435, allocations: 0.7468 MB / 400.5 MB, free: 41.79 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (tank1.level,tank1.medium.T) * Number of discrete variables: 2 (tank1.aboveLevel[1],tank1.aboveLevel[2]) * Number of discrete states: 2 (tank1.aboveLevel[1],tank1.aboveLevel[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 41 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001094/0.3446, allocations: 0.5993 MB / 401.1 MB, free: 41.64 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001835/0.3465, allocations: 1.228 MB / 402.4 MB, free: 41.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3465, allocations: 0.7656 kB / 402.4 MB, free: 41.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004817/0.347, allocations: 317 kB / 402.7 MB, free: 41.04 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.3485, allocations: 376.8 kB / 403 MB, free: 40.86 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.3506, allocations: 1.994 MB / 405 MB, free: 39.54 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.351, allocations: 1.054 MB / 406.1 MB, free: 38.66 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009661/0.352, allocations: 362.2 kB / 406.4 MB, free: 38.5 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.3522, allocations: 80.27 kB / 406.5 MB, free: 38.45 MB / 318.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3522, allocations: 7.938 kB / 406.5 MB, free: 38.44 MB / 318.1 MB Notification: Performance of Templates: time 0.02772/0.3799, allocations: 23.48 MB / 430 MB, free: 14.95 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/AST_BatchPlant/Test/TankWithEmptyingPipe2/TankWithEmptyingPipe2.csv","../files/Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches