Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001639/0.001639, allocations: 116.3 kB / 19.17 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002129/0.002129, allocations: 205 kB / 22.12 MB, free: 0.9062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.419/1.419, allocations: 230.5 MB / 255.4 MB, free: 14.93 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5036,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 71.83 kB / 374.8 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1072, allocations: 53.34 MB / 428.1 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.2208/0.328, allocations: 28.13 MB / 456.3 MB, free: 9.629 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0137/0.3417, allocations: 7.585 MB / 463.8 MB, free: 4.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002365/0.3441, allocations: 72.28 kB / 463.9 MB, free: 4.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00326/0.3473, allocations: 1.034 MB / 465 MB, free: 3.719 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005732/0.3531, allocations: 1.628 MB / 466.6 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006319/0.3594, allocations: 2.141 MB / 468.7 MB, free: 1.125 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007876/0.3673, allocations: 5.034 MB / 473.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00332/0.3706, allocations: 1.801 MB / 475.6 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003819/0.3744, allocations: 1.813 MB / 477.4 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003296/0.3777, allocations: 1.739 MB / 479.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008365/0.3785, allocations: 310.3 kB / 479.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002914/0.3814, allocations: 0.9854 MB / 480.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001102/0.3825, allocations: 0.863 MB / 481.3 MB, free: 9.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002026/0.3846, allocations: 1.391 MB / 482.6 MB, free: 8.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006416/0.391, allocations: 4.279 MB / 486.9 MB, free: 5.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.391, allocations: 0.9062 kB / 486.9 MB, free: 5.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.391, allocations: 0 / 486.9 MB, free: 5.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001092/0.3911, allocations: 0.9062 kB / 486.9 MB, free: 5.543 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.007625/0.3987, allocations: 3.202 MB / 490.1 MB, free: 2.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.3988, allocations: 11.97 kB / 490.1 MB, free: 2.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/0.4005, allocations: 367.1 kB / 490.5 MB, free: 1.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003034/0.4036, allocations: 1.477 MB / 492 MB, free: 388 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003288/0.4039, allocations: 319.4 kB / 492.3 MB, free: 40 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004697/0.4044, allocations: 220 kB / 492.5 MB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00525/0.4096, allocations: 2.746 MB / 495.3 MB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.682e-05/0.4097, allocations: 7.938 kB / 495.3 MB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002453/0.4099, allocations: 95.97 kB / 495.4 MB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001294/0.41, allocations: 103.7 kB / 495.5 MB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004396/0.4144, allocations: 2.185 MB / 497.6 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.01768/0.4321, allocations: 11.19 MB / 0.4969 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003318/0.4354, allocations: 1.883 MB / 0.4987 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001826/0.4373, allocations: 0.9813 MB / 0.4997 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00914/0.4464, allocations: 5.33 MB / 0.5049 GB, free: 6.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002503/0.4489, allocations: 1.523 MB / 0.5064 GB, free: 4.656 MB / 414.1 MB Notification: Performance of pre-optimization done (n=205): time 4.609e-06/0.4489, allocations: 0 / 0.5064 GB, free: 4.656 MB / 414.1 MB Notification: Performance of matching and sorting (n=215): time 0.01733/0.4662, allocations: 8.689 MB / 0.5149 GB, free: 11.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000482/0.4667, allocations: 0.7633 MB / 0.5156 GB, free: 10.87 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002433/0.4692, allocations: 1.675 MB / 0.5173 GB, free: 9.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000355/0.4695, allocations: 129.7 kB / 0.5174 GB, free: 9.047 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008655/0.4704, allocations: 0.9186 MB / 0.5183 GB, free: 8.117 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000761/0.4711, allocations: 0.6279 MB / 0.5189 GB, free: 7.484 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001024/0.4722, allocations: 0.5563 MB / 0.5194 GB, free: 6.922 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4723, allocations: 305.1 kB / 0.5197 GB, free: 6.621 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001932/0.4742, allocations: 0.951 MB / 0.5207 GB, free: 5.668 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002622/0.4769, allocations: 1.685 MB / 0.5223 GB, free: 3.688 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004229/0.4811, allocations: 2.571 MB / 0.5248 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-05/0.4811, allocations: 4 kB / 0.5248 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.006234/0.4873, allocations: 3.143 MB / 0.5279 GB, free: 13.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.4874, allocations: 109.1 kB / 0.528 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.669e-05/0.4875, allocations: 20 kB / 0.528 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/0.4888, allocations: 0.5836 MB / 0.5286 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/0.4904, allocations: 395.2 kB / 0.529 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002457/0.4929, allocations: 2.262 MB / 0.5312 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/0.4948, allocations: 127.8 kB / 0.5313 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000385/0.4951, allocations: 116 kB / 0.5314 GB, free: 9.949 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.001665/0.4968, allocations: 0.8112 MB / 0.5322 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000667/0.4975, allocations: 226.6 kB / 0.5324 GB, free: 8.879 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006382/0.5039, allocations: 3.008 MB / 0.5353 GB, free: 5.832 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-05/0.5039, allocations: 27.98 kB / 0.5354 GB, free: 5.805 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/0.5039, allocations: 4 kB / 0.5354 GB, free: 5.801 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-05/0.5039, allocations: 11.97 kB / 0.5354 GB, free: 5.789 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/0.5145, allocations: 5.395 MB / 0.5407 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.51e-05/0.5145, allocations: 3.984 kB / 0.5407 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.5156, allocations: 243.6 kB / 0.5409 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001229/0.5168, allocations: 0.5568 MB / 0.5414 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002632/0.5171, allocations: 67.95 kB / 0.5415 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002355/0.5194, allocations: 2.231 MB / 0.5437 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.5195, allocations: 0 / 0.5437 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008055/0.5275, allocations: 4.204 MB / 0.5478 GB, free: 8.844 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/0.5288, allocations: 0.5229 MB / 0.5483 GB, free: 8.301 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006185/0.5294, allocations: 83.92 kB / 0.5484 GB, free: 8.219 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/0.5309, allocations: 91.92 kB / 0.5485 GB, free: 8.129 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006034/0.5315, allocations: 257.6 kB / 0.5487 GB, free: 7.879 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002665/0.5317, allocations: 87.95 kB / 0.5488 GB, free: 7.793 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001834/0.5336, allocations: 1.055 MB / 0.5498 GB, free: 6.742 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5336, allocations: 0 / 0.5498 GB, free: 6.742 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002741/0.5363, allocations: 0.6947 MB / 0.5505 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.002609/0.5389, allocations: 0.8257 MB / 0.5513 GB, free: 5.367 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00574/0.5446, allocations: 2.638 MB / 0.5539 GB, free: 2.691 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.779e-06/0.5447, allocations: 8.047 kB / 0.5539 GB, free: 2.684 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003246/0.5479, allocations: 1.448 MB / 0.5553 GB, free: 1.207 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004108/0.552, allocations: 0.7713 MB / 0.5561 GB, free: 464 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009839/0.5618, allocations: 4.571 MB / 0.5605 GB, free: 11.81 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001582/0.5634, allocations: 1.575 MB / 0.5621 GB, free: 10.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/0.5645, allocations: 243.3 kB / 0.5623 GB, free: 9.965 MB / 478.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5645, allocations: 0 / 0.5623 GB, free: 9.965 MB / 478.1 MB Notification: Performance of Templates: time 0.2871/0.8516, allocations: 68.06 MB / 0.6288 GB, free: 172 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.516309008002281]