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.001351/0.001351, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001477/0.001477, allocations: 209.5 kB / 24.48 MB, free: 3.938 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.46/1.46, allocations: 230.6 MB / 258.2 MB, free: 7.754 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.001611/0.001611, allocations: 43.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2487, allocations: 53.37 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.03051/0.2792, allocations: 25.57 MB / 457.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01306/0.2923, allocations: 7.166 MB / 465.1 MB, free: 5.852 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001784/0.2941, allocations: 67.44 kB / 465.1 MB, free: 5.785 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003031/0.2971, allocations: 1.018 MB / 466.1 MB, free: 4.762 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004809/0.3019, allocations: 1.66 MB / 467.8 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005936/0.3079, allocations: 2.203 MB / 470 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007624/0.3155, allocations: 5.094 MB / 475.1 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003086/0.3186, allocations: 1.694 MB / 476.8 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003338/0.3219, allocations: 1.818 MB / 478.6 MB, free: 8.234 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002812/0.3247, allocations: 1.626 MB / 480.2 MB, free: 6.602 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006116/0.3253, allocations: 312 kB / 480.5 MB, free: 6.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00213/0.3275, allocations: 0.8856 MB / 481.4 MB, free: 5.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009082/0.3284, allocations: 0.8802 MB / 482.3 MB, free: 4.527 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001463/0.3298, allocations: 1.132 MB / 483.4 MB, free: 3.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005386/0.3352, allocations: 4.269 MB / 487.7 MB, free: 15.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3352, allocations: 0 / 487.7 MB, free: 15.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3352, allocations: 4 kB / 487.7 MB, free: 15.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.634e-05/0.3353, allocations: 0 / 487.7 MB, free: 15.11 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.006308/0.3416, allocations: 3.113 MB / 490.8 MB, free: 11.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.3417, allocations: 8.031 kB / 490.8 MB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001556/0.3432, allocations: 375.1 kB / 491.2 MB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002775/0.346, allocations: 1.378 MB / 492.6 MB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003599/0.3464, allocations: 414.5 kB / 493 MB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003586/0.3467, allocations: 228 kB / 493.2 MB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00527/0.352, allocations: 3.276 MB / 496.5 MB, free: 5.836 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.145e-05/0.352, allocations: 7.938 kB / 496.5 MB, free: 5.828 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002256/0.3523, allocations: 91.98 kB / 496.6 MB, free: 5.738 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/0.3524, allocations: 99.69 kB / 496.7 MB, free: 5.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004196/0.3566, allocations: 2.291 MB / 499 MB, free: 3.328 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.01541/0.372, allocations: 9.439 MB / 0.4965 GB, free: 9.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003052/0.375, allocations: 1.77 MB / 0.4982 GB, free: 7.812 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00175/0.3768, allocations: 1.072 MB / 0.4993 GB, free: 6.703 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00801/0.3848, allocations: 3.732 MB / 0.5029 GB, free: 2.938 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00273/0.3875, allocations: 1.916 MB / 0.5048 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of pre-optimization done (n=205): time 4.499e-06/0.3875, allocations: 0 / 0.5048 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of matching and sorting (n=215): time 0.01656/0.4041, allocations: 8.633 MB / 0.5132 GB, free: 8.078 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004246/0.4045, allocations: 0.6841 MB / 0.5139 GB, free: 7.238 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002084/0.4066, allocations: 1.436 MB / 0.5153 GB, free: 5.781 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000331/0.4069, allocations: 125.7 kB / 0.5154 GB, free: 5.652 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008937/0.4078, allocations: 0.9445 MB / 0.5163 GB, free: 4.699 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00073/0.4085, allocations: 0.6317 MB / 0.5169 GB, free: 4.062 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000856/0.4094, allocations: 0.5563 MB / 0.5175 GB, free: 3.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.4095, allocations: 305.1 kB / 0.5178 GB, free: 3.199 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001869/0.4114, allocations: 1.049 MB / 0.5188 GB, free: 2.129 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00267/0.4141, allocations: 1.984 MB / 0.5207 GB, free: 15.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004187/0.4183, allocations: 2.594 MB / 0.5233 GB, free: 12.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-05/0.4183, allocations: 8 kB / 0.5233 GB, free: 12.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.006687/0.425, allocations: 3.231 MB / 0.5264 GB, free: 9.609 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.4251, allocations: 113.1 kB / 0.5265 GB, free: 9.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.554e-05/0.4251, allocations: 20.09 kB / 0.5266 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/0.4264, allocations: 0.5801 MB / 0.5271 GB, free: 8.871 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/0.428, allocations: 383.2 kB / 0.5275 GB, free: 8.496 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00246/0.4304, allocations: 2.274 MB / 0.5297 GB, free: 6.145 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/0.4322, allocations: 127.9 kB / 0.5298 GB, free: 6.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003044/0.4325, allocations: 120 kB / 0.53 GB, free: 5.902 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.001534/0.434, allocations: 0.8051 MB / 0.5307 GB, free: 5.059 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005292/0.4346, allocations: 202.8 kB / 0.5309 GB, free: 4.859 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006081/0.4406, allocations: 3.155 MB / 0.534 GB, free: 1.648 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-05/0.4407, allocations: 24 kB / 0.534 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.4407, allocations: 7.938 kB / 0.534 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.832e-05/0.4407, allocations: 11.95 kB / 0.5341 GB, free: 1.605 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2358/0.6766, allocations: 4.949 MB / 0.5389 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.6766, allocations: 3.062 kB / 0.5389 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.6776, allocations: 251.8 kB / 0.5391 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001166/0.6788, allocations: 0.5494 MB / 0.5397 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001956/0.679, allocations: 68.66 kB / 0.5397 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/0.6809, allocations: 2.235 MB / 0.5419 GB, free: 103.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.6809, allocations: 6.781 kB / 0.5419 GB, free: 103.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006475/0.6874, allocations: 4.448 MB / 0.5463 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/0.6885, allocations: 438.6 kB / 0.5467 GB, free: 101.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003963/0.6889, allocations: 80.14 kB / 0.5468 GB, free: 101.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.69, allocations: 93.39 kB / 0.5468 GB, free: 101.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004928/0.6905, allocations: 256 kB / 0.5471 GB, free: 101.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001716/0.6907, allocations: 92.92 kB / 0.5472 GB, free: 101.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001131/0.6918, allocations: 0.8816 MB / 0.548 GB, free: 100.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6918, allocations: 6.094 kB / 0.548 GB, free: 100.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001973/0.6938, allocations: 0.6803 MB / 0.5487 GB, free: 100.8 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 (215): * Single equations (assignments): 179 * 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.00247/0.6962, allocations: 0.8694 MB / 0.5496 GB, free: 100.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00454/0.7008, allocations: 2.853 MB / 0.5523 GB, free: 97.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/0.7008, allocations: 4.828 kB / 0.5524 GB, free: 97.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002468/0.7033, allocations: 1.561 MB / 0.5539 GB, free: 96.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003061/0.7063, allocations: 0.6962 MB / 0.5546 GB, free: 95.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007664/0.714, allocations: 4.682 MB / 0.5591 GB, free: 91.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008096/0.7148, allocations: 1.013 MB / 0.5601 GB, free: 90.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008219/0.7156, allocations: 223.3 kB / 0.5603 GB, free: 89.81 MB / 446.1 MB Notification: Performance of SimCode: time 1.483e-06/0.7156, allocations: 0 / 0.5603 GB, free: 89.81 MB / 446.1 MB Notification: Performance of Templates: time 0.06109/0.7767, allocations: 67.49 MB / 0.6262 GB, free: 22.39 MB / 446.1 MB " [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: 13.66206876700744]