Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0019/0.0019, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002359/0.002359, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 230.3 MB / 258 MB, free: 8.238 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 67.88 kB / 378.7 MB, free: 2.793 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.275, allocations: 53.37 MB / 432.1 MB, free: 7.086 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.03814/0.3132, allocations: 28.4 MB / 460.5 MB, free: 10.59 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01444/0.3276, allocations: 7.631 MB / 468.1 MB, free: 2.938 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001891/0.3295, allocations: 71.38 kB / 468.2 MB, free: 2.867 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003161/0.3326, allocations: 1.037 MB / 469.2 MB, free: 1.828 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.005005/0.3376, allocations: 1.66 MB / 470.9 MB, free: 164 kB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.005881/0.3435, allocations: 2.216 MB / 473.1 MB, free: 13.96 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.007375/0.3509, allocations: 5.11 MB / 478.2 MB, free: 8.836 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.003394/0.3543, allocations: 1.714 MB / 479.9 MB, free: 7.074 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.003529/0.3578, allocations: 1.83 MB / 481.8 MB, free: 5.238 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002975/0.3608, allocations: 1.732 MB / 483.5 MB, free: 3.5 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0007172/0.3615, allocations: 308 kB / 483.8 MB, free: 3.199 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002537/0.3641, allocations: 1.014 MB / 484.8 MB, free: 2.184 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001083/0.3651, allocations: 0.8724 MB / 485.7 MB, free: 1.309 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001955/0.3671, allocations: 1.4 MB / 487.1 MB, free: 15.9 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.006108/0.3732, allocations: 4.283 MB / 491.4 MB, free: 11.61 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3732, allocations: 0 / 491.4 MB, free: 11.61 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.363e-06/0.3732, allocations: 0 / 491.4 MB, free: 11.61 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.727e-05/0.3733, allocations: 0 / 491.4 MB, free: 11.61 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.006811/0.3801, allocations: 3.117 MB / 494.5 MB, free: 8.371 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.3801, allocations: 12.03 kB / 494.5 MB, free: 8.359 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/0.3817, allocations: 347.1 kB / 494.8 MB, free: 8.02 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002864/0.3845, allocations: 1.401 MB / 496.2 MB, free: 6.574 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003171/0.3848, allocations: 304 kB / 496.5 MB, free: 6.25 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003783/0.3852, allocations: 224.1 kB / 496.8 MB, free: 6.031 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.005162/0.3904, allocations: 2.758 MB / 499.5 MB, free: 3.109 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.968e-05/0.3904, allocations: 3.938 kB / 499.5 MB, free: 3.105 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002414/0.3907, allocations: 88 kB / 499.6 MB, free: 3.02 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001218/0.3908, allocations: 103.7 kB / 499.7 MB, free: 2.918 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004261/0.3951, allocations: 2.196 MB / 0.4901 GB, free: 0.7188 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.01727/0.4123, allocations: 10.94 MB / 0.5008 GB, free: 5.41 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.003198/0.4155, allocations: 1.665 MB / 0.5025 GB, free: 3.656 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002019/0.4175, allocations: 0.9818 MB / 0.5034 GB, free: 2.656 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.008716/0.4263, allocations: 4.118 MB / 0.5074 GB, free: 14.51 MB / 430.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002734/0.429, allocations: 1.508 MB / 0.5089 GB, free: 12.91 MB / 430.1 MB
Notification: Performance of pre-optimization done (n=205): time 3.978e-06/0.429, allocations: 0 / 0.5089 GB, free: 12.91 MB / 430.1 MB
Notification: Performance of matching and sorting (n=215): time 0.01856/0.4476, allocations: 8.4 MB / 0.5171 GB, free: 4.418 MB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005262/0.4481, allocations: 0.7672 MB / 0.5179 GB, free: 3.48 MB / 430.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002741/0.4508, allocations: 1.671 MB / 0.5195 GB, free: 1.797 MB / 430.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0004207/0.4512, allocations: 129.7 kB / 0.5196 GB, free: 1.664 MB / 430.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0009283/0.4522, allocations: 0.9185 MB / 0.5205 GB, free: 0.7344 MB / 430.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0008035/0.453, allocations: 0.6317 MB / 0.5211 GB, free: 100 kB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001055/0.454, allocations: 0.5603 MB / 0.5217 GB, free: 15.53 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001791/0.4542, allocations: 309.1 kB / 0.522 GB, free: 15.22 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001966/0.4562, allocations: 0.954 MB / 0.5229 GB, free: 14.27 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002792/0.459, allocations: 1.674 MB / 0.5245 GB, free: 12.29 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.004446/0.4634, allocations: 2.574 MB / 0.5271 GB, free: 9.43 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-05/0.4634, allocations: 4 kB / 0.5271 GB, free: 9.426 MB / 446.1 MB
Notification: Performance of matching and sorting (n=350) (initialization): time 0.006542/0.47, allocations: 3.147 MB / 0.5301 GB, free: 6.246 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 0.0001795/0.4701, allocations: 105.1 kB / 0.5302 GB, free: 6.125 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.538e-05/0.4702, allocations: 20 kB / 0.5303 GB, free: 6.105 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001479/0.4717, allocations: 0.5804 MB / 0.5308 GB, free: 5.516 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/0.4733, allocations: 387.2 kB / 0.5312 GB, free: 5.137 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002647/0.4759, allocations: 2.266 MB / 0.5334 GB, free: 2.793 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/0.4778, allocations: 127.8 kB / 0.5335 GB, free: 2.668 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002636/0.4781, allocations: 120 kB / 0.5336 GB, free: 2.551 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.00145/0.4795, allocations: 0.7975 MB / 0.5344 GB, free: 1.719 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005003/0.48, allocations: 222.7 kB / 0.5346 GB, free: 1.5 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1919/0.6719, allocations: 3.034 MB / 0.5376 GB, free: 105.5 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.099e-05/0.672, allocations: 24.83 kB / 0.5376 GB, free: 105.5 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/0.672, allocations: 3.266 kB / 0.5376 GB, free: 105.5 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.622e-05/0.672, allocations: 13.86 kB / 0.5376 GB, free: 105.5 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008493/0.6805, allocations: 5.378 MB / 0.5429 GB, free: 103.4 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.6805, allocations: 1.375 kB / 0.5429 GB, free: 103.4 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009974/0.6815, allocations: 250.2 kB / 0.5431 GB, free: 103.4 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0009587/0.6825, allocations: 0.5536 MB / 0.5437 GB, free: 103.3 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/0.6826, allocations: 68.55 kB / 0.5437 GB, free: 103.3 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001534/0.6842, allocations: 2.225 MB / 0.5459 GB, free: 101.5 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.6842, allocations: 3.906 kB / 0.5459 GB, free: 101.5 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005579/0.6897, allocations: 4.209 MB / 0.55 GB, free: 99.75 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0009723/0.6907, allocations: 467.5 kB / 0.5505 GB, free: 99.63 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003693/0.6911, allocations: 80.06 kB / 0.5505 GB, free: 99.59 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.6922, allocations: 97.16 kB / 0.5506 GB, free: 99.56 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000441/0.6926, allocations: 252.6 kB / 0.5509 GB, free: 99.46 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000164/0.6928, allocations: 88.45 kB / 0.551 GB, free: 99.43 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.00116/0.6939, allocations: 1.058 MB / 0.552 GB, free: 98.87 MB / 446.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.694, allocations: 1.344 kB / 0.552 GB, free: 98.87 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.001658/0.6956, allocations: 0.6922 MB / 0.5527 GB, free: 98.69 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.002125/0.6977, allocations: 0.8226 MB / 0.5535 GB, free: 98.13 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.004539/0.7023, allocations: 2.649 MB / 0.5561 GB, free: 95.47 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.7023, allocations: 2.953 kB / 0.5561 GB, free: 95.47 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.002713/0.705, allocations: 1.53 MB / 0.5576 GB, free: 93.91 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003426/0.7084, allocations: 0.7857 MB / 0.5583 GB, free: 93.17 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007391/0.7158, allocations: 4.52 MB / 0.5627 GB, free: 88.68 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007592/0.7166, allocations: 1.59 MB / 0.5643 GB, free: 87.05 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.001623/0.7182, allocations: 0.5484 MB / 0.5648 GB, free: 86.5 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005255/0.7187, allocations: 219.4 kB / 0.565 GB, free: 86.29 MB / 446.1 MB
Notification: Performance of SimCode: time 8.72e-07/0.7187, allocations: 0 / 0.565 GB, free: 86.29 MB / 446.1 MB
Notification: Performance of Templates: time 0.06054/0.7793, allocations: 45.32 MB / 0.6093 GB, free: 41.25 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_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_trunk_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.485518801026046]