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.001648/0.001648, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002017/0.002017, allocations: 213.3 kB / 24.48 MB, free: 3.941 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.455/1.455, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.001569/0.001569, allocations: 47.94 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2179, allocations: 53.36 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.02964/0.2475, allocations: 25.57 MB / 457.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01201/0.2596, allocations: 7.166 MB / 465.1 MB, free: 5.891 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.2607, allocations: 67.44 kB / 465.1 MB, free: 5.824 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002331/0.263, allocations: 1.014 MB / 466.1 MB, free: 4.805 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003516/0.2665, allocations: 1.67 MB / 467.8 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004848/0.2714, allocations: 2.214 MB / 470 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00639/0.2777, allocations: 5.121 MB / 475.1 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002881/0.2806, allocations: 1.714 MB / 476.9 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003281/0.2839, allocations: 1.822 MB / 478.7 MB, free: 8.207 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002768/0.2867, allocations: 1.735 MB / 480.4 MB, free: 6.465 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005506/0.2872, allocations: 312 kB / 480.7 MB, free: 6.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002068/0.2893, allocations: 0.8974 MB / 481.6 MB, free: 5.262 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00101/0.2903, allocations: 0.8763 MB / 482.5 MB, free: 4.383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001436/0.2917, allocations: 1.136 MB / 483.6 MB, free: 3.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00547/0.2972, allocations: 4.281 MB / 487.9 MB, free: 14.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2972, allocations: 0 / 487.9 MB, free: 14.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2972, allocations: 0 / 487.9 MB, free: 14.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.389e-05/0.2973, allocations: 0 / 487.9 MB, free: 14.95 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.0065/0.3038, allocations: 3.105 MB / 491 MB, free: 11.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.3038, allocations: 8.031 kB / 491 MB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/0.3055, allocations: 371.1 kB / 491.4 MB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002732/0.3082, allocations: 1.382 MB / 492.8 MB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004842/0.3087, allocations: 414.5 kB / 493.2 MB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004458/0.3091, allocations: 228 kB / 493.4 MB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005525/0.3147, allocations: 3.276 MB / 496.7 MB, free: 5.688 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.082e-05/0.3147, allocations: 7.938 kB / 496.7 MB, free: 5.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002339/0.3149, allocations: 87.98 kB / 496.8 MB, free: 5.594 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001202/0.3151, allocations: 99.69 kB / 496.9 MB, free: 5.496 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004399/0.3195, allocations: 2.295 MB / 499.2 MB, free: 3.18 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.01538/0.3348, allocations: 9.435 MB / 0.4967 GB, free: 9.535 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003025/0.3379, allocations: 1.77 MB / 0.4984 GB, free: 7.664 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001764/0.3396, allocations: 1.076 MB / 0.4995 GB, free: 6.551 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007598/0.3472, allocations: 3.736 MB / 0.5031 GB, free: 2.781 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002751/0.35, allocations: 1.919 MB / 0.505 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of pre-optimization done (n=205): time 4.619e-06/0.35, allocations: 0 / 0.505 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of matching and sorting (n=215): time 0.01667/0.3667, allocations: 8.629 MB / 0.5134 GB, free: 7.922 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004535/0.3671, allocations: 0.6958 MB / 0.5141 GB, free: 7.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/0.3691, allocations: 1.436 MB / 0.5155 GB, free: 5.613 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002456/0.3693, allocations: 125.7 kB / 0.5156 GB, free: 5.484 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008625/0.3702, allocations: 0.9445 MB / 0.5165 GB, free: 4.531 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006503/0.3709, allocations: 0.6278 MB / 0.5171 GB, free: 3.898 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008722/0.3717, allocations: 0.5563 MB / 0.5177 GB, free: 3.336 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3719, allocations: 305.1 kB / 0.518 GB, free: 3.035 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001871/0.3737, allocations: 1.049 MB / 0.519 GB, free: 1.965 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002927/0.3767, allocations: 1.984 MB / 0.5209 GB, free: 15.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004034/0.3807, allocations: 2.59 MB / 0.5235 GB, free: 12.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.449e-05/0.3807, allocations: 8 kB / 0.5235 GB, free: 12.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.005898/0.3866, allocations: 3.235 MB / 0.5266 GB, free: 9.445 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.831e-05/0.3867, allocations: 109.1 kB / 0.5267 GB, free: 9.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.651e-05/0.3867, allocations: 16 kB / 0.5268 GB, free: 9.305 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/0.3881, allocations: 0.5764 MB / 0.5273 GB, free: 8.719 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/0.3897, allocations: 395.2 kB / 0.5277 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002551/0.3923, allocations: 2.262 MB / 0.5299 GB, free: 5.992 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.3937, allocations: 127.8 kB / 0.53 GB, free: 5.867 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002341/0.3939, allocations: 120 kB / 0.5301 GB, free: 5.75 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.001301/0.3952, allocations: 0.813 MB / 0.5309 GB, free: 4.898 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004042/0.3956, allocations: 202.8 kB / 0.5311 GB, free: 4.699 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00628/0.4019, allocations: 3.151 MB / 0.5342 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.918e-05/0.4019, allocations: 24 kB / 0.5342 GB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.4019, allocations: 4 kB / 0.5342 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.346e-05/0.402, allocations: 11.95 kB / 0.5342 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1917/0.5936, allocations: 4.943 MB / 0.5391 GB, free: 71.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.5936, allocations: 6.359 kB / 0.5391 GB, free: 71.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/0.5947, allocations: 251.4 kB / 0.5393 GB, free: 71.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001063/0.5958, allocations: 0.5554 MB / 0.5399 GB, free: 71.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/0.596, allocations: 68.42 kB / 0.5399 GB, free: 71.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/0.5977, allocations: 2.23 MB / 0.5421 GB, free: 69.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.5977, allocations: 3.281 kB / 0.5421 GB, free: 69.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006042/0.6037, allocations: 4.455 MB / 0.5465 GB, free: 68.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/0.6047, allocations: 436 kB / 0.5469 GB, free: 68.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003524/0.6051, allocations: 82.52 kB / 0.5469 GB, free: 68.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.6062, allocations: 86.45 kB / 0.547 GB, free: 68.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004668/0.6067, allocations: 263.8 kB / 0.5473 GB, free: 68.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001752/0.6068, allocations: 92.59 kB / 0.5474 GB, free: 68.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001026/0.6079, allocations: 0.8834 MB / 0.5482 GB, free: 68.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6079, allocations: 2.438 kB / 0.5482 GB, free: 68.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001818/0.6097, allocations: 0.6861 MB / 0.5489 GB, free: 68.86 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.002289/0.612, allocations: 0.8563 MB / 0.5497 GB, free: 68.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004356/0.6163, allocations: 2.854 MB / 0.5525 GB, free: 68.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.6163, allocations: 5 kB / 0.5525 GB, free: 68.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002602/0.6189, allocations: 1.641 MB / 0.5541 GB, free: 67.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002691/0.6216, allocations: 0.7024 MB / 0.5548 GB, free: 67.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007154/0.6288, allocations: 4.614 MB / 0.5593 GB, free: 66.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008023/0.6296, allocations: 1.024 MB / 0.5603 GB, free: 65.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001362/0.6309, allocations: 0.5125 MB / 0.5608 GB, free: 65.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005115/0.6315, allocations: 213.5 kB / 0.561 GB, free: 65.67 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.6315, allocations: 0 / 0.561 GB, free: 65.67 MB / 446.1 MB Notification: Performance of Templates: time 0.05289/0.6844, allocations: 45.29 MB / 0.6053 GB, free: 22.91 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 -s gbode -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: 6.427249460000894]