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.001352/0.001352, allocations: 115.1 kB / 18.45 MB, free: 4.605 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.001427/0.001427, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.506/1.506, allocations: 230.6 MB / 254.8 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.001686/0.001686, allocations: 47.92 kB / 374.1 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1117, allocations: 53.33 MB / 427.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.2531/0.3648, allocations: 28.15 MB / 455.6 MB, free: 9.637 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01485/0.3796, allocations: 7.588 MB / 463.2 MB, free: 4.273 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002902/0.3826, allocations: 71.78 kB / 463.3 MB, free: 4.234 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003997/0.3865, allocations: 1.023 MB / 464.3 MB, free: 3.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005864/0.3924, allocations: 1.643 MB / 465.9 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006607/0.399, allocations: 2.136 MB / 468.1 MB, free: 1.148 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008643/0.4077, allocations: 5.037 MB / 473.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003716/0.4114, allocations: 1.796 MB / 474.9 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004471/0.4158, allocations: 1.813 MB / 476.7 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003807/0.4197, allocations: 1.734 MB / 478.5 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001022/0.4207, allocations: 310.7 kB / 478.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003529/0.4242, allocations: 0.9849 MB / 479.8 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001431/0.4256, allocations: 0.8708 MB / 480.6 MB, free: 9.664 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002528/0.4282, allocations: 1.388 MB / 482 MB, free: 8.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007705/0.4359, allocations: 4.277 MB / 486.3 MB, free: 5.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4359, allocations: 0 / 486.3 MB, free: 5.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.278e-06/0.4359, allocations: 3.984 kB / 486.3 MB, free: 5.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001432/0.436, allocations: 1.438 kB / 486.3 MB, free: 5.559 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.008712/0.4447, allocations: 3.188 MB / 489.5 MB, free: 2.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.4448, allocations: 12.03 kB / 489.5 MB, free: 2.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001899/0.4467, allocations: 367.1 kB / 489.9 MB, free: 1.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002911/0.4496, allocations: 1.485 MB / 491.3 MB, free: 380 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003383/0.4499, allocations: 311.4 kB / 491.6 MB, free: 40 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004178/0.4503, allocations: 224 kB / 491.9 MB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005609/0.456, allocations: 2.751 MB / 494.6 MB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.86e-05/0.456, allocations: 7.938 kB / 494.6 MB, free: 12.9 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002569/0.4563, allocations: 91.97 kB / 494.7 MB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001244/0.4564, allocations: 99.69 kB / 494.8 MB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004246/0.4606, allocations: 2.189 MB / 497 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.01741/0.478, allocations: 11.19 MB / 0.4963 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003246/0.4813, allocations: 1.89 MB / 0.4981 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001802/0.4831, allocations: 0.9812 MB / 0.4991 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008718/0.4918, allocations: 5.328 MB / 0.5043 GB, free: 6.254 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00245/0.4943, allocations: 1.523 MB / 0.5058 GB, free: 4.648 MB / 414.1 MB Notification: Performance of pre-optimization done (n=205): time 3.377e-06/0.4943, allocations: 0 / 0.5058 GB, free: 4.648 MB / 414.1 MB Notification: Performance of matching and sorting (n=215): time 0.01679/0.5111, allocations: 8.69 MB / 0.5143 GB, free: 11.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004517/0.5115, allocations: 0.7633 MB / 0.515 GB, free: 10.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002438/0.5139, allocations: 1.679 MB / 0.5166 GB, free: 9.164 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003481/0.5143, allocations: 125.7 kB / 0.5168 GB, free: 9.035 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008687/0.5152, allocations: 0.9185 MB / 0.5177 GB, free: 8.105 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007045/0.5159, allocations: 0.6279 MB / 0.5183 GB, free: 7.473 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008795/0.5168, allocations: 0.5524 MB / 0.5188 GB, free: 6.914 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5169, allocations: 305.1 kB / 0.5191 GB, free: 6.613 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/0.5187, allocations: 0.9579 MB / 0.52 GB, free: 5.652 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00254/0.5212, allocations: 1.682 MB / 0.5217 GB, free: 3.676 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004268/0.5255, allocations: 2.574 MB / 0.5242 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.852e-05/0.5255, allocations: 4 kB / 0.5242 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.006629/0.5321, allocations: 3.143 MB / 0.5273 GB, free: 13.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.5322, allocations: 105.1 kB / 0.5274 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.45e-05/0.5323, allocations: 16 kB / 0.5274 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001353/0.5336, allocations: 0.5822 MB / 0.5279 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/0.5353, allocations: 387.2 kB / 0.5283 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002576/0.5379, allocations: 2.273 MB / 0.5305 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/0.54, allocations: 123.8 kB / 0.5307 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003431/0.5403, allocations: 120 kB / 0.5308 GB, free: 9.938 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.001669/0.542, allocations: 0.8073 MB / 0.5316 GB, free: 9.094 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006089/0.5426, allocations: 222.6 kB / 0.5318 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006026/0.5486, allocations: 3.012 MB / 0.5347 GB, free: 5.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.585e-05/0.5487, allocations: 24 kB / 0.5347 GB, free: 5.797 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.5487, allocations: 4 kB / 0.5347 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.55e-05/0.5487, allocations: 11.95 kB / 0.5348 GB, free: 5.781 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009848/0.5586, allocations: 5.395 MB / 0.54 GB, free: 304 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/0.5586, allocations: 8.266 kB / 0.54 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.5597, allocations: 243.6 kB / 0.5403 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001236/0.5609, allocations: 0.5567 MB / 0.5408 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002021/0.5611, allocations: 67.89 kB / 0.5409 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002383/0.5635, allocations: 2.235 MB / 0.5431 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5635, allocations: 0 / 0.5431 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0076/0.5711, allocations: 4.192 MB / 0.5471 GB, free: 8.844 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001369/0.5724, allocations: 0.5306 MB / 0.5477 GB, free: 8.293 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004336/0.5729, allocations: 83.92 kB / 0.5477 GB, free: 8.211 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.574, allocations: 87.92 kB / 0.5478 GB, free: 8.125 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005506/0.5746, allocations: 253.6 kB / 0.5481 GB, free: 7.879 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002045/0.5748, allocations: 95.95 kB / 0.5482 GB, free: 7.785 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001628/0.5764, allocations: 1.055 MB / 0.5492 GB, free: 6.734 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5764, allocations: 0 / 0.5492 GB, free: 6.734 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002592/0.579, allocations: 0.6869 MB / 0.5499 GB, free: 6.047 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.002585/0.5816, allocations: 0.8423 MB / 0.5507 GB, free: 5.352 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005681/0.5873, allocations: 2.638 MB / 0.5533 GB, free: 2.676 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/0.5873, allocations: 7.859 kB / 0.5533 GB, free: 2.668 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003111/0.5904, allocations: 1.44 MB / 0.5547 GB, free: 1.199 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003943/0.5943, allocations: 0.7746 MB / 0.5554 GB, free: 452 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009813/0.6042, allocations: 4.569 MB / 0.5599 GB, free: 11.81 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/0.6055, allocations: 1.583 MB / 0.5614 GB, free: 10.19 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009891/0.6065, allocations: 231.4 kB / 0.5617 GB, free: 9.965 MB / 478.1 MB Notification: Performance of SimCode: time 1.313e-06/0.6065, allocations: 0 / 0.5617 GB, free: 9.965 MB / 478.1 MB Notification: Performance of Templates: time 0.3227/0.9292, allocations: 68.05 MB / 0.6281 GB, free: 171.8 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins1/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: 14.555503195006168]