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.002031/0.002031, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002221/0.002221, allocations: 211.3 kB / 23.73 MB, free: 4.523 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.002165/0.002165, allocations: 43.92 kB / 378.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2869, allocations: 53.36 MB / 431.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.03188/0.3188, allocations: 25.58 MB / 457.1 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01304/0.3318, allocations: 7.169 MB / 464.3 MB, free: 5.844 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00175/0.3336, allocations: 67.44 kB / 464.4 MB, free: 5.777 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002817/0.3364, allocations: 1.013 MB / 465.4 MB, free: 4.762 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004768/0.3412, allocations: 1.671 MB / 467.1 MB, free: 3.082 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005741/0.3469, allocations: 2.22 MB / 469.3 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007392/0.3543, allocations: 5.106 MB / 474.4 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00323/0.3575, allocations: 1.718 MB / 476.1 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003715/0.3613, allocations: 1.818 MB / 477.9 MB, free: 8.172 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003056/0.3643, allocations: 1.736 MB / 479.7 MB, free: 6.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006354/0.365, allocations: 312 kB / 480 MB, free: 6.125 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002192/0.3671, allocations: 0.9052 MB / 480.9 MB, free: 5.219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001003/0.3681, allocations: 0.8841 MB / 481.8 MB, free: 4.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001595/0.3697, allocations: 1.136 MB / 482.9 MB, free: 3.191 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005613/0.3754, allocations: 4.272 MB / 487.2 MB, free: 14.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3754, allocations: 0 / 487.2 MB, free: 14.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3754, allocations: 0 / 487.2 MB, free: 14.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.001e-05/0.3754, allocations: 0 / 487.2 MB, free: 14.91 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.00668/0.3821, allocations: 3.105 MB / 490.3 MB, free: 11.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3822, allocations: 8.031 kB / 490.3 MB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/0.3839, allocations: 363.1 kB / 490.6 MB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002935/0.3868, allocations: 1.382 MB / 492 MB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003747/0.3872, allocations: 418.5 kB / 492.4 MB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003811/0.3876, allocations: 220 kB / 492.6 MB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005354/0.3929, allocations: 3.28 MB / 495.9 MB, free: 5.652 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.247e-05/0.393, allocations: 7.938 kB / 495.9 MB, free: 5.645 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002473/0.3932, allocations: 95.97 kB / 496 MB, free: 5.551 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001189/0.3933, allocations: 99.69 kB / 496.1 MB, free: 5.453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004319/0.3976, allocations: 2.291 MB / 498.4 MB, free: 3.141 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.01558/0.4132, allocations: 9.439 MB / 0.4959 GB, free: 9.492 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003106/0.4163, allocations: 1.774 MB / 0.4977 GB, free: 7.617 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001792/0.4181, allocations: 1.065 MB / 0.4987 GB, free: 6.516 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008097/0.4262, allocations: 3.74 MB / 0.5024 GB, free: 2.742 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002835/0.4291, allocations: 1.919 MB / 0.5042 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of pre-optimization done (n=205): time 5.36e-06/0.4291, allocations: 0 / 0.5042 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of matching and sorting (n=215): time 0.01768/0.4467, allocations: 8.629 MB / 0.5127 GB, free: 7.883 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000422/0.4472, allocations: 0.688 MB / 0.5133 GB, free: 7.039 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002153/0.4493, allocations: 1.433 MB / 0.5147 GB, free: 5.586 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003324/0.4496, allocations: 129.7 kB / 0.5149 GB, free: 5.453 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009279/0.4506, allocations: 0.9407 MB / 0.5158 GB, free: 4.504 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007222/0.4513, allocations: 0.6319 MB / 0.5164 GB, free: 3.867 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009213/0.4522, allocations: 0.5602 MB / 0.5169 GB, free: 3.301 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.4523, allocations: 305.1 kB / 0.5172 GB, free: 3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001934/0.4543, allocations: 1.053 MB / 0.5183 GB, free: 1.926 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002749/0.457, allocations: 1.98 MB / 0.5202 GB, free: 15.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004125/0.4612, allocations: 2.59 MB / 0.5227 GB, free: 12.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-05/0.4612, allocations: 8 kB / 0.5227 GB, free: 12.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.006171/0.4673, allocations: 3.23 MB / 0.5259 GB, free: 9.418 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.4675, allocations: 109.1 kB / 0.526 GB, free: 9.293 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-05/0.4675, allocations: 20 kB / 0.526 GB, free: 9.273 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/0.4689, allocations: 0.5806 MB / 0.5266 GB, free: 8.684 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/0.4705, allocations: 395.2 kB / 0.527 GB, free: 8.297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002646/0.4732, allocations: 2.258 MB / 0.5292 GB, free: 5.961 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.4749, allocations: 131.8 kB / 0.5293 GB, free: 5.832 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002526/0.4752, allocations: 120 kB / 0.5294 GB, free: 5.715 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.001519/0.4767, allocations: 0.8091 MB / 0.5302 GB, free: 4.867 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004544/0.4771, allocations: 198.8 kB / 0.5304 GB, free: 4.672 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006294/0.4834, allocations: 3.16 MB / 0.5335 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-05/0.4835, allocations: 24 kB / 0.5335 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/0.4835, allocations: 0 / 0.5335 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.997e-05/0.4835, allocations: 15.95 kB / 0.5335 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2141/0.6977, allocations: 4.941 MB / 0.5383 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/0.6977, allocations: 3.844 kB / 0.5383 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/0.6988, allocations: 246.3 kB / 0.5386 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001159/0.7, allocations: 0.5644 MB / 0.5391 GB, free: 105.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002017/0.7002, allocations: 63.48 kB / 0.5392 GB, free: 105.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001859/0.7021, allocations: 2.232 MB / 0.5414 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.7021, allocations: 10.12 kB / 0.5414 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006215/0.7083, allocations: 4.449 MB / 0.5457 GB, free: 101.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009975/0.7093, allocations: 439.3 kB / 0.5461 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003617/0.7096, allocations: 76.25 kB / 0.5462 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.7108, allocations: 100.4 kB / 0.5463 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000494/0.7113, allocations: 256.8 kB / 0.5465 GB, free: 101.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/0.7114, allocations: 90.83 kB / 0.5466 GB, free: 101.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001028/0.7125, allocations: 0.8841 MB / 0.5475 GB, free: 100.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7125, allocations: 0 / 0.5475 GB, free: 100.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001776/0.7142, allocations: 0.6942 MB / 0.5482 GB, free: 100.7 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.00235/0.7166, allocations: 0.8501 MB / 0.549 GB, free: 100.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004495/0.7211, allocations: 2.867 MB / 0.5518 GB, free: 97.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/0.7211, allocations: 3.047 kB / 0.5518 GB, free: 97.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002625/0.7237, allocations: 1.633 MB / 0.5534 GB, free: 96.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002937/0.7267, allocations: 0.707 MB / 0.5541 GB, free: 95.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007319/0.734, allocations: 4.608 MB / 0.5586 GB, free: 91.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007635/0.7347, allocations: 1.027 MB / 0.5596 GB, free: 89.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001581/0.7363, allocations: 0.5202 MB / 0.5601 GB, free: 89.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005161/0.7368, allocations: 211.3 kB / 0.5603 GB, free: 89.22 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/0.7368, allocations: 0 / 0.5603 GB, free: 89.22 MB / 446.1 MB Notification: Performance of Templates: time 0.05526/0.7921, allocations: 45.29 MB / 0.6045 GB, free: 44.54 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins/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.680028272792697]