Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001916/0.001916, allocations: 106.2 kB / 19.8 MB, free: 2.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002291/0.002291, allocations: 215 kB / 23 MB, free: 5.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 230.2 MB / 256.2 MB, free: 8.523 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5036,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5036,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 63.88 kB / 376.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2549, allocations: 53.32 MB / 429.8 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.03538/0.2903, allocations: 28.4 MB / 458.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01405/0.3044, allocations: 7.63 MB / 465.8 MB, free: 3.395 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/0.3064, allocations: 47.75 kB / 465.9 MB, free: 3.348 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003732/0.3101, allocations: 1.026 MB / 466.9 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006082/0.3162, allocations: 1.643 MB / 468.5 MB, free: 0.668 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006157/0.3224, allocations: 2.165 MB / 470.7 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008053/0.3304, allocations: 5.044 MB / 475.7 MB, free: 9.457 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003543/0.334, allocations: 1.721 MB / 477.5 MB, free: 7.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003843/0.3378, allocations: 1.795 MB / 479.3 MB, free: 5.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003462/0.3413, allocations: 1.735 MB / 481 MB, free: 4.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00106/0.3423, allocations: 308 kB / 481.3 MB, free: 3.859 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003074/0.3454, allocations: 0.9832 MB / 482.3 MB, free: 2.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001485/0.3469, allocations: 0.8724 MB / 483.2 MB, free: 2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0028/0.3497, allocations: 1.392 MB / 484.5 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007715/0.3574, allocations: 4.295 MB / 488.8 MB, free: 12.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3574, allocations: 0 / 488.8 MB, free: 12.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3574, allocations: 0 / 488.8 MB, free: 12.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000133/0.3576, allocations: 0 / 488.8 MB, free: 12.3 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.008101/0.3657, allocations: 3.188 MB / 492 MB, free: 8.965 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3657, allocations: 12.03 kB / 492 MB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00187/0.3676, allocations: 343.1 kB / 492.4 MB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002854/0.3704, allocations: 1.493 MB / 493.9 MB, free: 7.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003113/0.3707, allocations: 303.9 kB / 494.2 MB, free: 6.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003848/0.3711, allocations: 224.1 kB / 494.4 MB, free: 6.531 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005068/0.3762, allocations: 2.746 MB / 497.1 MB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.921e-05/0.3762, allocations: 11.94 kB / 497.1 MB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002323/0.3765, allocations: 95.97 kB / 497.2 MB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001156/0.3766, allocations: 99.69 kB / 497.3 MB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004105/0.3807, allocations: 2.189 MB / 499.5 MB, free: 1.227 MB / 398.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.01655/0.3972, allocations: 11.21 MB / 0.4988 GB, free: 5.617 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003076/0.4003, allocations: 1.891 MB / 0.5006 GB, free: 3.578 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001655/0.402, allocations: 0.9735 MB / 0.5016 GB, free: 2.586 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008509/0.4105, allocations: 5.343 MB / 0.5068 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002462/0.4129, allocations: 1.508 MB / 0.5082 GB, free: 11.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=205): time 3.597e-06/0.4129, allocations: 0 / 0.5082 GB, free: 11.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=215): time 0.01684/0.4298, allocations: 8.713 MB / 0.5168 GB, free: 2.434 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004522/0.4302, allocations: 0.7672 MB / 0.5175 GB, free: 1.496 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002494/0.4327, allocations: 1.667 MB / 0.5191 GB, free: 15.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003585/0.4331, allocations: 129.7 kB / 0.5193 GB, free: 15.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008994/0.434, allocations: 0.9225 MB / 0.5202 GB, free: 14.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006942/0.4347, allocations: 0.6317 MB / 0.5208 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008917/0.4356, allocations: 0.5563 MB / 0.5213 GB, free: 13.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.4357, allocations: 301.1 kB / 0.5216 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001804/0.4375, allocations: 0.9579 MB / 0.5225 GB, free: 12.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002448/0.44, allocations: 1.674 MB / 0.5242 GB, free: 10.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00394/0.4439, allocations: 2.563 MB / 0.5267 GB, free: 7.469 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.972e-05/0.4439, allocations: 8 kB / 0.5267 GB, free: 7.461 MB / 446.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.005811/0.4497, allocations: 3.139 MB / 0.5297 GB, free: 4.289 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.4498, allocations: 113.1 kB / 0.5299 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.084e-05/0.4499, allocations: 20 kB / 0.5299 GB, free: 4.141 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001313/0.4512, allocations: 0.5723 MB / 0.5304 GB, free: 3.559 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001492/0.4527, allocations: 395.2 kB / 0.5308 GB, free: 3.172 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002472/0.4551, allocations: 2.266 MB / 0.533 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/0.4568, allocations: 128 kB / 0.5331 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002294/0.457, allocations: 120 kB / 0.5333 GB, free: 0.5859 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 186 ($PRE.tankController.normal.T1.enableFire,$PRE.tankController.normal.T3.enableFire,$PRE.tankController.normal.T2.enableFire,$PRE.tankController.normal.T4.enableFire,$PRE.tankController.T1.enableFire,$PRE.tankController.T2.enableFire,$PRE.tankController.T3.enableFire,$PRE.tankController.T4.enableFire,$PRE.tankController.T5.enableFire,$PRE.tankController.T6.enableFire,$PRE.start.pre_reset[1],$PRE.start.pre_reset[2],$PRE.stop.pre_reset[1],$PRE.stop.pre_reset[2],$PRE.shut.pre_reset[1],$PRE.shut.pre_reset[2],tankController.T6.t_start,$PRE.tankController.T6.t_start,tankController.T5.t_start,$PRE.tankController.T5.t_start,tankController.T4.t_start,$PRE.tankController.T4.t_start,tankController.T3.t_start,$PRE.tankController.T3.t_start,tankController.T2.t_start,$PRE.tankController.T2.t_start,tankController.T1.t_start,$PRE.tankController.T1.t_start,tankController.normal.T3.t_start,$PRE.tankController.normal.T3.t_start,tankController.normal.T1.t_start,$PRE.tankController.normal.T1.t_start,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition6,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition4,shut.pre_reset[2],shut.pre_reset[1],shut.table.combiTimeTable.nextTimeEventScaled,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEvent,shut.table.y,$PRE.shut.table.y,$PRE.shut.reset[2],$PRE.shut.reset[1],$whenCondition9,$whenCondition7,$whenCondition8,stop.pre_reset[2],stop.pre_reset[1],stop.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,stop.table.y,$PRE.stop.table.y,$PRE.stop.reset[2],$PRE.stop.reset[1],$whenCondition12,$whenCondition10,$whenCondition11,start.pre_reset[2],start.pre_reset[1],start.table.combiTimeTable.nextTimeEventScaled,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEvent,start.table.y,$PRE.start.table.y,$PRE.start.reset[2],$PRE.start.reset[1],$whenCondition15,$whenCondition13,$whenCondition14,tankController.stateGraphRoot.resume,tankController.stateGraphRoot.suspend,tankController.normal.T4.condition,tankController.normal.T2.condition,tank2.inFlow[2],tank2.inFlow[1],tank2.regularFlow[2],tank2.regularFlow[1],tank1.inFlow[2],tank1.inFlow[1],tank1.regularFlow[2],tank1.regularFlow[1],shut.on,$PRE.shut.on,shut.reset[2],shut.reset[1],stop.on,$PRE.stop.on,stop.reset[2],stop.reset[1],start.on,$PRE.start.on,start.reset[2],start.reset[1],tankController.stateGraphRoot.activeSteps,tankController.valve3,tankController.valve2,tankController.T6.enableFire,tankController.T6.localCondition,tankController.emptyTanks.oldActive,$PRE.tankController.emptyTanks.oldActive,tankController.emptyTanks.newActive,$PRE.tankController.emptyTanks.newActive,tankController.emptyTanks.localActive,$PRE.tankController.emptyTanks.localActive,tankController.emptyTanks.active,tankController.T5.enableFire,tankController.T4.enableFire,tankController.s2.oldActive,$PRE.tankController.s2.oldActive,tankController.s2.newActive,$PRE.tankController.s2.newActive,tankController.s2.outPort[2].available,tankController.s2.localActive,$PRE.tankController.s2.localActive,tankController.s2.active,tankController.T3.enableFire,tankController.T2.enableFire,tankController.T2.localCondition,tankController.T1.enableFire,tankController.normal.T4.t_start,$PRE.tankController.normal.T4.t_start,tankController.normal.T4.fire,tankController.normal.T4.enableFire,tankController.normal.wait2.oldActive,$PRE.tankController.normal.wait2.oldActive,tankController.normal.wait2.newActive,$PRE.tankController.normal.wait2.newActive,tankController.normal.wait2.localActive,$PRE.tankController.normal.wait2.localActive,tankController.normal.wait2.active,tankController.normal.T2.t_start,$PRE.tankController.normal.T2.t_start,tankController.normal.T2.fire,tankController.normal.T2.enableFire,tankController.normal.wait1.oldActive,$PRE.tankController.normal.wait1.oldActive,tankController.normal.wait1.newActive,$PRE.tankController.normal.wait1.newActive,tankController.normal.wait1.localActive,$PRE.tankController.normal.wait1.localActive,tankController.normal.wait1.active,tankController.normal.emptyTank2.oldActive,$PRE.tankController.normal.emptyTank2.oldActive,tankController.normal.emptyTank2.newActive,$PRE.tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.localActive,$PRE.tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.active,tankController.normal.T3.enableFire,tankController.normal.T3.localCondition,tankController.normal.fillTank2.oldActive,$PRE.tankController.normal.fillTank2.oldActive,tankController.normal.fillTank2.newActive,$PRE.tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.localActive,$PRE.tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.active,tankController.normal.T1.enableFire,tankController.normal.T1.localCondition,tankController.normal.fillTank1.oldActive,$PRE.tankController.normal.fillTank1.oldActive,tankController.normal.fillTank1.newActive,$PRE.tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.localActive,$PRE.tankController.normal.fillTank1.localActive,tankController.normal.fillTank1.active,tankController.normal.activeSteps,tankController.normal.newActive,$PRE.tankController.normal.newActive,tankController.normal.active,tankController.s1.oldActive,$PRE.tankController.s1.oldActive,tankController.s1.newActive,$PRE.tankController.s1.newActive,tankController.s1.inPort[2].occupied,tankController.s1.localActive,$PRE.tankController.s1.localActive,tankController.s1.active,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 317 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,3), (4,4), (2,3)} Notification: Performance of prepare postOptimizeDAE: time 0.1875/0.6445, allocations: 0.8043 MB / 0.534 GB, free: 105.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006363/0.6451, allocations: 220.5 kB / 0.5343 GB, free: 105.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005619/0.6508, allocations: 3.02 MB / 0.5372 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.069e-05/0.6508, allocations: 32.23 kB / 0.5372 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.6508, allocations: 3.75 kB / 0.5372 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.714e-05/0.6508, allocations: 12.06 kB / 0.5372 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007929/0.6587, allocations: 5.403 MB / 0.5425 GB, free: 102.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.6588, allocations: 3.938 kB / 0.5425 GB, free: 102.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.6598, allocations: 237.3 kB / 0.5428 GB, free: 102.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009467/0.6607, allocations: 0.5602 MB / 0.5433 GB, free: 102.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001738/0.6609, allocations: 67 kB / 0.5434 GB, free: 102.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/0.6624, allocations: 2.231 MB / 0.5455 GB, free: 100.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6625, allocations: 0 / 0.5455 GB, free: 100.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005602/0.6681, allocations: 4.19 MB / 0.5496 GB, free: 98.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008772/0.6689, allocations: 0.5255 MB / 0.5501 GB, free: 98.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003757/0.6693, allocations: 79.5 kB / 0.5502 GB, free: 98.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.6704, allocations: 95.42 kB / 0.5503 GB, free: 98.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004922/0.6709, allocations: 258.4 kB / 0.5506 GB, free: 98.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001769/0.6711, allocations: 91.33 kB / 0.5506 GB, free: 98.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001247/0.6723, allocations: 1.063 MB / 0.5517 GB, free: 97.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6723, allocations: 0 / 0.5517 GB, free: 97.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0019/0.6742, allocations: 0.6893 MB / 0.5524 GB, free: 96.75 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 113 (tankController.T3.enableFire,tankController.emptyTanks.localActive,tankController.s2.localActive,tankController.normal.T4.enableFire,tankController.normal.wait2.localActive,tankController.normal.T2.enableFire,tankController.normal.wait1.localActive,tankController.normal.emptyTank2.localActive,tankController.normal.fillTank2.localActive,tankController.normal.fillTank1.active,tankController.s1.localActive,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition14,$whenCondition13,$whenCondition15,tankController.s1.active,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.normal.active,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.localActive,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.localCondition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.active,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.localCondition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.active,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.active,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.active,tankController.normal.wait2.newActive,tankController.normal.wait2.oldActive,tankController.normal.T4.fire,tankController.normal.T4.t_start,tankController.T1.enableFire,tankController.T2.localCondition,tankController.T2.enableFire,tankController.s2.active,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.active,tankController.emptyTanks.newActive,tankController.emptyTanks.oldActive,tankController.T6.localCondition,tankController.T6.enableFire,tankController.valve2,tankController.valve3,tankController.stateGraphRoot.activeSteps,start.reset[1],start.reset[2],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],start.pre_reset[2],stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],stop.pre_reset[2],shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,shut.pre_reset[1],shut.pre_reset[2],tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2],tankController.normal.T1.t_start,tankController.normal.T3.t_start,tankController.T1.t_start,tankController.T2.t_start,tankController.T3.t_start,tankController.T4.t_start,tankController.T5.t_start,tankController.T6.t_start) * Number of discrete states: 50 (tankController.T6.t_start,tankController.T5.t_start,tankController.T4.t_start,tankController.T3.t_start,tankController.T2.t_start,tankController.T1.t_start,tankController.normal.T3.t_start,tankController.normal.T1.t_start,shut.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,tankController.s1.newActive,tankController.normal.fillTank1.newActive,tankController.normal.fillTank2.newActive,tankController.normal.emptyTank2.newActive,tankController.normal.wait1.newActive,tankController.normal.wait2.newActive,tankController.normal.newActive,tankController.s2.newActive,tankController.emptyTanks.newActive,shut.table.combiTimeTable.nextTimeEventScaled,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition12,stop.on,$whenCondition11,$whenCondition10,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition15,start.on,$whenCondition14,$whenCondition13,start.pre_reset[2],start.pre_reset[1],start.reset[1],start.reset[2],start.table.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 24 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,3), (4,4), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002262/0.6765, allocations: 0.8547 MB / 0.5532 GB, free: 96.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004422/0.6809, allocations: 2.642 MB / 0.5558 GB, free: 93.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/0.6809, allocations: 4 kB / 0.5558 GB, free: 93.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002523/0.6834, allocations: 1.522 MB / 0.5573 GB, free: 91.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003373/0.6868, allocations: 0.7724 MB / 0.558 GB, free: 91.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007159/0.694, allocations: 4.526 MB / 0.5624 GB, free: 86.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007793/0.6948, allocations: 1.587 MB / 0.564 GB, free: 85.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001643/0.6964, allocations: 0.5413 MB / 0.5645 GB, free: 84.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005171/0.6969, allocations: 215.4 kB / 0.5647 GB, free: 84.3 MB / 446.1 MB Notification: Performance of SimCode: time 1.904e-06/0.6969, allocations: 0 / 0.5647 GB, free: 84.3 MB / 446.1 MB Notification: Performance of Templates: time 0.05839/0.7553, allocations: 44.67 MB / 0.6083 GB, free: 39.89 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.531221612356603]