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.001954/0.001954, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.0023/0.0023, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.514/1.514, allocations: 230.5 MB / 258.1 MB, free: 8.145 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.002043/0.002043, allocations: 75.83 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2707, allocations: 53.31 MB / 432 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.03142/0.3021, allocations: 28.38 MB / 460.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01248/0.3146, allocations: 7.631 MB / 468.1 MB, free: 3.258 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001659/0.3162, allocations: 47.75 kB / 468.1 MB, free: 3.211 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002605/0.3188, allocations: 1.029 MB / 469.1 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004038/0.3229, allocations: 1.643 MB / 470.8 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005125/0.328, allocations: 2.163 MB / 472.9 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006422/0.3344, allocations: 5.056 MB / 478 MB, free: 9.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002738/0.3371, allocations: 1.713 MB / 479.7 MB, free: 7.547 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002809/0.34, allocations: 1.799 MB / 481.5 MB, free: 5.742 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002405/0.3424, allocations: 1.728 MB / 483.2 MB, free: 4.008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004934/0.3429, allocations: 312 kB / 483.5 MB, free: 3.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002176/0.345, allocations: 0.9793 MB / 484.5 MB, free: 2.723 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008781/0.3459, allocations: 0.8763 MB / 485.4 MB, free: 1.844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001549/0.3475, allocations: 1.392 MB / 486.8 MB, free: 456 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005077/0.3525, allocations: 4.296 MB / 491.1 MB, free: 12.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3525, allocations: 0 / 491.1 MB, free: 12.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3525, allocations: 0 / 491.1 MB, free: 12.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.407e-05/0.3526, allocations: 0 / 491.1 MB, free: 12.14 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.006625/0.3592, allocations: 3.2 MB / 494.3 MB, free: 8.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.3593, allocations: 12.03 kB / 494.3 MB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.3609, allocations: 363.1 kB / 494.7 MB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00282/0.3638, allocations: 1.489 MB / 496.1 MB, free: 6.883 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003216/0.3641, allocations: 311.4 kB / 496.4 MB, free: 6.555 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003737/0.3645, allocations: 216 kB / 496.7 MB, free: 6.344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006236/0.3707, allocations: 2.754 MB / 499.4 MB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.525e-05/0.3708, allocations: 3.938 kB / 499.4 MB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002935/0.371, allocations: 91.98 kB / 499.5 MB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000155/0.3712, allocations: 99.69 kB / 499.6 MB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005472/0.3767, allocations: 2.189 MB / 0.49 GB, free: 1.043 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.02107/0.3978, allocations: 11.22 MB / 0.501 GB, free: 5.422 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003546/0.4013, allocations: 1.891 MB / 0.5028 GB, free: 3.391 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002113/0.4034, allocations: 0.974 MB / 0.5038 GB, free: 2.398 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009786/0.4132, allocations: 5.335 MB / 0.509 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002694/0.4159, allocations: 1.512 MB / 0.5105 GB, free: 11.13 MB / 430.1 MB Notification: Performance of pre-optimization done (n=205): time 4.258e-06/0.4159, allocations: 0 / 0.5105 GB, free: 11.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=215): time 0.01837/0.4343, allocations: 8.709 MB / 0.519 GB, free: 2.258 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005128/0.4348, allocations: 0.7672 MB / 0.5197 GB, free: 1.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002918/0.4377, allocations: 1.675 MB / 0.5214 GB, free: 15.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005247/0.4382, allocations: 129.7 kB / 0.5215 GB, free: 15.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009775/0.4392, allocations: 0.9147 MB / 0.5224 GB, free: 14.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008077/0.44, allocations: 0.624 MB / 0.523 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009267/0.4409, allocations: 0.5563 MB / 0.5235 GB, free: 13.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4411, allocations: 305.1 kB / 0.5238 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001955/0.443, allocations: 0.9579 MB / 0.5248 GB, free: 12.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002551/0.4456, allocations: 1.67 MB / 0.5264 GB, free: 10.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004338/0.4499, allocations: 2.571 MB / 0.5289 GB, free: 7.289 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.122e-05/0.4499, allocations: 8 kB / 0.5289 GB, free: 7.281 MB / 446.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.006495/0.4564, allocations: 3.131 MB / 0.532 GB, free: 4.113 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001304/0.4566, allocations: 116.9 kB / 0.5321 GB, free: 3.984 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.879e-05/0.4566, allocations: 20 kB / 0.5321 GB, free: 3.965 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001402/0.458, allocations: 0.588 MB / 0.5327 GB, free: 3.367 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/0.4596, allocations: 391.2 kB / 0.533 GB, free: 2.984 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002682/0.4623, allocations: 2.266 MB / 0.5352 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/0.4641, allocations: 124 kB / 0.5354 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002807/0.4644, allocations: 128 kB / 0.5355 GB, free: 404 kB / 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.2131/0.6775, allocations: 0.795 MB / 0.5363 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000636/0.6781, allocations: 223.4 kB / 0.5365 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005928/0.6841, allocations: 3.018 MB / 0.5394 GB, free: 104.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.443e-05/0.6841, allocations: 28.83 kB / 0.5395 GB, free: 104.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.6841, allocations: 2.75 kB / 0.5395 GB, free: 104.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.973e-05/0.6841, allocations: 13.33 kB / 0.5395 GB, free: 104.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00855/0.6927, allocations: 5.396 MB / 0.5447 GB, free: 102.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/0.6927, allocations: 3.938 kB / 0.5447 GB, free: 102.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.6937, allocations: 244.7 kB / 0.545 GB, free: 102.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009584/0.6947, allocations: 0.5557 MB / 0.5455 GB, free: 102.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001539/0.6948, allocations: 67.38 kB / 0.5456 GB, free: 102.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/0.6964, allocations: 2.242 MB / 0.5478 GB, free: 100.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6964, allocations: 0 / 0.5478 GB, free: 100.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005628/0.7021, allocations: 4.186 MB / 0.5519 GB, free: 98.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009311/0.703, allocations: 0.5233 MB / 0.5524 GB, free: 98.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003709/0.7034, allocations: 77.64 kB / 0.5524 GB, free: 98.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.7045, allocations: 106 kB / 0.5525 GB, free: 98.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004382/0.7049, allocations: 247.6 kB / 0.5528 GB, free: 98.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001646/0.7051, allocations: 98.31 kB / 0.5529 GB, free: 98.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001222/0.7063, allocations: 1.059 MB / 0.5539 GB, free: 97.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7063, allocations: 2.953 kB / 0.5539 GB, free: 97.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001798/0.7081, allocations: 0.6919 MB / 0.5546 GB, free: 96.55 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 (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.00225/0.7104, allocations: 0.8578 MB / 0.5554 GB, free: 95.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004439/0.7148, allocations: 2.641 MB / 0.558 GB, free: 93.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.906e-06/0.7148, allocations: 3.047 kB / 0.558 GB, free: 93.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00267/0.7175, allocations: 1.52 MB / 0.5595 GB, free: 91.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00335/0.7208, allocations: 0.7746 MB / 0.5603 GB, free: 91.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008035/0.7289, allocations: 4.521 MB / 0.5647 GB, free: 86.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/0.7302, allocations: 1.587 MB / 0.5662 GB, free: 84.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002437/0.7326, allocations: 0.5452 MB / 0.5667 GB, free: 84.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005812/0.7332, allocations: 215.3 kB / 0.567 GB, free: 84.13 MB / 446.1 MB Notification: Performance of SimCode: time 1.753e-06/0.7332, allocations: 3.719 kB / 0.567 GB, free: 84.13 MB / 446.1 MB Notification: Performance of Templates: time 0.06026/0.7935, allocations: 44.7 MB / 0.6106 GB, free: 39.79 MB / 446.1 MB " [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 -s cvode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 6.659642539918423]