Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.543/1.543, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 43.94 kB / 373.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1033, allocations: 53.33 MB / 426.8 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.2227/0.326, allocations: 28.15 MB / 454.9 MB, free: 9.617 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01329/0.3393, allocations: 7.585 MB / 462.5 MB, free: 4.258 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002014/0.3413, allocations: 70.97 kB / 462.6 MB, free: 4.219 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002844/0.3442, allocations: 1.027 MB / 463.6 MB, free: 3.711 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00444/0.3486, allocations: 1.645 MB / 465.3 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005588/0.3542, allocations: 2.137 MB / 467.4 MB, free: 1.125 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007537/0.3617, allocations: 5.033 MB / 472.4 MB, free: 14.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003027/0.3648, allocations: 1.799 MB / 474.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003427/0.3682, allocations: 1.814 MB / 476 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002966/0.3711, allocations: 1.735 MB / 477.8 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005222/0.3717, allocations: 309.9 kB / 478.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002387/0.3741, allocations: 0.9859 MB / 479.1 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008862/0.3749, allocations: 0.8603 MB / 479.9 MB, free: 9.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001671/0.3766, allocations: 1.398 MB / 481.3 MB, free: 8.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006124/0.3827, allocations: 4.276 MB / 485.6 MB, free: 5.539 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3827, allocations: 0 / 485.6 MB, free: 5.539 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3827, allocations: 0 / 485.6 MB, free: 5.539 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.383e-05/0.3828, allocations: 1.375 kB / 485.6 MB, free: 5.539 MB / 382.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.006652/0.3895, allocations: 3.196 MB / 488.8 MB, free: 2.277 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.3895, allocations: 12.03 kB / 488.8 MB, free: 2.266 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002125/0.3916, allocations: 364.2 kB / 489.2 MB, free: 1.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002596/0.3942, allocations: 1.485 MB / 490.7 MB, free: 380 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002883/0.3945, allocations: 315.4 kB / 491 MB, free: 36 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003902/0.3949, allocations: 216 kB / 491.2 MB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005009/0.3999, allocations: 2.746 MB / 493.9 MB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.878e-05/0.4, allocations: 7.938 kB / 493.9 MB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002523/0.4002, allocations: 91.97 kB / 494 MB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001194/0.4004, allocations: 99.69 kB / 494.1 MB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004241/0.4046, allocations: 2.201 MB / 496.3 MB, free: 10.52 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.01729/0.4219, allocations: 11.18 MB / 0.4956 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003423/0.4253, allocations: 1.89 MB / 0.4975 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00178/0.4271, allocations: 0.9734 MB / 0.4984 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009909/0.437, allocations: 5.336 MB / 0.5036 GB, free: 6.258 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00261/0.4396, allocations: 1.514 MB / 0.5051 GB, free: 4.656 MB / 414.1 MB Notification: Performance of pre-optimization done (n=205): time 3.947e-06/0.4396, allocations: 0 / 0.5051 GB, free: 4.656 MB / 414.1 MB Notification: Performance of matching and sorting (n=215): time 0.01808/0.4577, allocations: 8.694 MB / 0.5136 GB, free: 11.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005158/0.4582, allocations: 0.7633 MB / 0.5143 GB, free: 10.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002754/0.461, allocations: 1.671 MB / 0.516 GB, free: 9.176 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003999/0.4614, allocations: 129.7 kB / 0.5161 GB, free: 9.043 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001018/0.4624, allocations: 0.9225 MB / 0.517 GB, free: 8.109 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008786/0.4633, allocations: 0.6279 MB / 0.5176 GB, free: 7.477 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009546/0.4642, allocations: 0.5563 MB / 0.5181 GB, free: 6.914 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.4644, allocations: 301.1 kB / 0.5184 GB, free: 6.617 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001992/0.4664, allocations: 0.9579 MB / 0.5194 GB, free: 5.656 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002694/0.4691, allocations: 1.674 MB / 0.521 GB, free: 3.688 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004425/0.4735, allocations: 2.578 MB / 0.5235 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/0.4735, allocations: 4 kB / 0.5235 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.00656/0.4801, allocations: 3.136 MB / 0.5266 GB, free: 13.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000123/0.4802, allocations: 113.1 kB / 0.5267 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.07e-05/0.4802, allocations: 16 kB / 0.5267 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001437/0.4817, allocations: 0.5839 MB / 0.5273 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/0.4833, allocations: 387.2 kB / 0.5276 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002745/0.4861, allocations: 2.27 MB / 0.5299 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/0.488, allocations: 132 kB / 0.53 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003386/0.4884, allocations: 116 kB / 0.5301 GB, free: 9.945 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.001765/0.4901, allocations: 0.8096 MB / 0.5309 GB, free: 9.098 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007241/0.4909, allocations: 222.6 kB / 0.5311 GB, free: 8.879 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006742/0.4976, allocations: 3.02 MB / 0.534 GB, free: 5.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.9e-05/0.4976, allocations: 28 kB / 0.5341 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.509e-05/0.4977, allocations: 4 kB / 0.5341 GB, free: 5.789 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.67e-05/0.4977, allocations: 11.95 kB / 0.5341 GB, free: 5.777 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/0.509, allocations: 5.395 MB / 0.5394 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/0.509, allocations: 4 kB / 0.5394 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/0.5102, allocations: 243.9 kB / 0.5396 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001341/0.5115, allocations: 0.5529 MB / 0.5401 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002212/0.5117, allocations: 71.95 kB / 0.5402 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002583/0.5143, allocations: 2.231 MB / 0.5424 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.5143, allocations: 4.031 kB / 0.5424 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00811/0.5224, allocations: 4.192 MB / 0.5465 GB, free: 8.844 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/0.5237, allocations: 0.5267 MB / 0.547 GB, free: 8.297 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005891/0.5243, allocations: 87.92 kB / 0.5471 GB, free: 8.211 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/0.5257, allocations: 87.94 kB / 0.5472 GB, free: 8.125 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006297/0.5263, allocations: 253.6 kB / 0.5474 GB, free: 7.879 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002363/0.5266, allocations: 87.95 kB / 0.5475 GB, free: 7.793 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001925/0.5285, allocations: 1.063 MB / 0.5485 GB, free: 6.734 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5285, allocations: 4 kB / 0.5485 GB, free: 6.73 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002682/0.5312, allocations: 0.6869 MB / 0.5492 GB, free: 6.043 MB / 462.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.002742/0.5339, allocations: 0.8293 MB / 0.55 GB, free: 5.359 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006137/0.54, allocations: 2.647 MB / 0.5526 GB, free: 2.676 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.54, allocations: 3.859 kB / 0.5526 GB, free: 2.672 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003501/0.5436, allocations: 1.516 MB / 0.5541 GB, free: 1.125 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004256/0.5478, allocations: 0.7721 MB / 0.5548 GB, free: 376 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.5581, allocations: 4.52 MB / 0.5592 GB, free: 11.79 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00172/0.5598, allocations: 1.587 MB / 0.5608 GB, free: 10.17 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002154/0.5619, allocations: 0.5412 MB / 0.5613 GB, free: 9.625 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007592/0.5627, allocations: 223.3 kB / 0.5615 GB, free: 9.406 MB / 478.1 MB Notification: Performance of SimCode: time 8.92e-07/0.5627, allocations: 0 / 0.5615 GB, free: 9.406 MB / 478.1 MB Notification: Performance of Templates: time 0.08332/0.646, allocations: 43.89 MB / 0.6044 GB, free: 13.75 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.4148128926754]