Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.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.TankWithEmptyingPipe1,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.TankWithEmptyingPipe1") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1,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.TankWithEmptyingPipe1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 99.23 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.00109/0.001091, allocations: 177.2 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.564/1.564, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004635/0.0004637, allocations: 16 kB / 280.8 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09806/0.09854, allocations: 47.58 MB / 328.3 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1): time 0.01936/0.1179, allocations: 17.73 MB / 346.1 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008639/0.1266, allocations: 6.22 MB / 352.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008569/0.1275, allocations: 27.75 kB / 352.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009704/0.1285, allocations: 318.4 kB / 352.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002404/0.1309, allocations: 0.8957 MB / 353.5 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003613/0.1345, allocations: 1.427 MB / 354.9 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001947/0.1365, allocations: 1.207 MB / 356.1 MB, free: 8.191 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000745/0.1372, allocations: 494 kB / 356.6 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001071/0.1383, allocations: 0.6348 MB / 357.3 MB, free: 7.059 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006541/0.139, allocations: 0.5021 MB / 357.8 MB, free: 6.555 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.1391, allocations: 40 kB / 357.8 MB, free: 6.516 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/0.1412, allocations: 1.108 MB / 358.9 MB, free: 5.406 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002592/0.1415, allocations: 231.3 kB / 359.1 MB, free: 5.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000231/0.1417, allocations: 185.3 kB / 359.3 MB, free: 4.992 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002238/0.1439, allocations: 1.337 MB / 360.7 MB, free: 3.652 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.144, allocations: 0 / 360.7 MB, free: 3.652 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.144, allocations: 0 / 360.7 MB, free: 3.652 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.497e-06/0.144, allocations: 4 kB / 360.7 MB, free: 3.648 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002477/0.1465, allocations: 1.126 MB / 361.8 MB, free: 2.473 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1465, allocations: 8.031 kB / 361.8 MB, free: 2.465 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003273/0.1469, allocations: 98.92 kB / 361.9 MB, free: 2.367 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008881/0.1477, allocations: 0.574 MB / 362.5 MB, free: 1.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.436e-05/0.1478, allocations: 45.25 kB / 362.5 MB, free: 1.703 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.085e-05/0.1479, allocations: 59.98 kB / 362.6 MB, free: 1.645 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.1492, allocations: 0.8712 MB / 363.4 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.1492, allocations: 0 / 363.4 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.962e-05/0.1493, allocations: 28 kB / 363.5 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.692e-05/0.1494, allocations: 57.17 kB / 363.5 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.1506, allocations: 0.8053 MB / 364.3 MB, free: 15.84 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.005409/0.156, allocations: 3.846 MB / 368.2 MB, free: 11.74 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008739/0.1569, allocations: 0.5402 MB / 368.7 MB, free: 11.19 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004901/0.1574, allocations: 0.4991 MB / 369.2 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.1575, allocations: 46.94 kB / 369.3 MB, free: 10.53 MB / 318.1 MB Notification: Performance of pre-optimization done (n=47): time 2.776e-06/0.1575, allocations: 3.938 kB / 369.3 MB, free: 10.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=52): time 0.004605/0.1621, allocations: 2.117 MB / 371.4 MB, free: 8.312 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.003e-05/0.1622, allocations: 148.8 kB / 371.5 MB, free: 8.137 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.1632, allocations: 0.723 MB / 372.3 MB, free: 7.406 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.416e-05/0.1633, allocations: 37.7 kB / 372.3 MB, free: 7.363 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000518/0.1638, allocations: 383.9 kB / 372.7 MB, free: 6.984 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/0.164, allocations: 185.4 kB / 372.8 MB, free: 6.801 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.1641, allocations: 12 kB / 372.9 MB, free: 6.789 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000301/0.1644, allocations: 386.8 kB / 373.2 MB, free: 6.402 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004966/0.1649, allocations: 301.8 kB / 373.5 MB, free: 6.105 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006289/0.1655, allocations: 0.4992 MB / 374 MB, free: 5.516 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006009/0.1662, allocations: 354 kB / 374.4 MB, free: 5.172 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1662, allocations: 4 kB / 374.4 MB, free: 5.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001849/0.168, allocations: 0.9799 MB / 375.4 MB, free: 4.172 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001011/0.169, allocations: 2.262 MB / 377.6 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.1691, allocations: 11.98 kB / 377.6 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001734/0.1708, allocations: 301.3 kB / 377.9 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005701/0.1714, allocations: 147.8 kB / 378.1 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1454/0.3168, allocations: 1.303 MB / 379.4 MB, free: 53.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009526/0.3178, allocations: 50.61 kB / 379.4 MB, free: 53.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.989e-05/0.3179, allocations: 36.69 kB / 379.5 MB, free: 53.2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.318, allocations: 7.25 kB / 379.5 MB, free: 53.2 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001518/0.3195, allocations: 0.8387 MB / 380.3 MB, free: 53.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.3195, allocations: 9.375 kB / 380.3 MB, free: 53.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.3207, allocations: 183.4 kB / 380.5 MB, free: 53.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007028/0.3214, allocations: 172.5 kB / 380.7 MB, free: 53.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006494/0.322, allocations: 1.181 MB / 381.8 MB, free: 52.13 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005989/0.3226, allocations: 48.89 kB / 381.9 MB, free: 52.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.601e-05/0.3227, allocations: 36.53 kB / 381.9 MB, free: 52.13 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (85): * Single equations (assignments): 83 * 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 2,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005113/0.3233, allocations: 335.5 kB / 382.3 MB, free: 51.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.3234, allocations: 80.45 kB / 382.3 MB, free: 51.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001848/0.3253, allocations: 0.9691 MB / 383.3 MB, free: 51.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.3253, allocations: 13.55 kB / 383.3 MB, free: 51.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3253, allocations: 3.938 kB / 383.3 MB, free: 51.83 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.3253, allocations: 4.219 kB / 383.3 MB, free: 51.83 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002758/0.3281, allocations: 1.765 MB / 385.1 MB, free: 51.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.3281, allocations: 1.281 kB / 385.1 MB, free: 51.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004403/0.3286, allocations: 101.4 kB / 385.2 MB, free: 51.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00115/0.3297, allocations: 257 kB / 385.4 MB, free: 51.2 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.314e-05/0.3298, allocations: 17.14 kB / 385.5 MB, free: 51.19 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007692/0.3306, allocations: 1.271 MB / 386.7 MB, free: 50.06 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3306, allocations: 2.016 kB / 386.7 MB, free: 50.06 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002169/0.3328, allocations: 1.342 MB / 388.1 MB, free: 49.42 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003087/0.3331, allocations: 169.7 kB / 388.2 MB, free: 49.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/0.3333, allocations: 14.81 kB / 388.2 MB, free: 49.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000586/0.3339, allocations: 47.59 kB / 388.3 MB, free: 49.25 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.334, allocations: 53.19 kB / 388.3 MB, free: 49.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.898e-05/0.3341, allocations: 35.78 kB / 388.4 MB, free: 49.24 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008519/0.335, allocations: 0.5031 MB / 388.9 MB, free: 49.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.335, allocations: 0 / 388.9 MB, free: 49.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002127/0.3371, allocations: 0.5907 MB / 389.5 MB, free: 48.98 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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[2],tank1.aboveLevel[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 7,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001545/0.3387, allocations: 0.4922 MB / 390 MB, free: 48.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002631/0.3413, allocations: 1.198 MB / 391.2 MB, free: 48.47 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.3414, allocations: 2.406 kB / 391.2 MB, free: 48.47 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006989/0.3421, allocations: 391.5 kB / 391.5 MB, free: 48.35 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/0.344, allocations: 383.8 kB / 391.9 MB, free: 48.27 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.3467, allocations: 1.886 MB / 393.8 MB, free: 47.28 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.3472, allocations: 1.011 MB / 394.8 MB, free: 46.54 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.00113/0.3484, allocations: 327.9 kB / 395.1 MB, free: 46.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/0.3486, allocations: 77.83 kB / 395.2 MB, free: 46.45 MB / 318.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3486, allocations: 1.656 kB / 395.2 MB, free: 46.45 MB / 318.1 MB Notification: Performance of Templates: time 0.02799/0.3766, allocations: 21.16 MB / 416.4 MB, free: 27.9 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1_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/TankWithEmptyingPipe1/TankWithEmptyingPipe1.csv","../files/Modelica_3.2.3_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches