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.001502/0.001502, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001771/0.001771, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.515/1.515, allocations: 230.5 MB / 258.1 MB, free: 8.004 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.002169/0.002169, allocations: 71.89 kB / 379 MB, free: 2.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3138, allocations: 53.4 MB / 432.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.03267/0.3465, allocations: 28.4 MB / 460.8 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0146/0.3611, allocations: 7.623 MB / 468.5 MB, free: 2.621 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002721/0.3638, allocations: 71.38 kB / 468.5 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003615/0.3674, allocations: 1.037 MB / 469.6 MB, free: 1.512 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006053/0.3735, allocations: 1.667 MB / 471.2 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006406/0.3799, allocations: 2.212 MB / 473.4 MB, free: 13.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008428/0.3883, allocations: 5.11 MB / 478.6 MB, free: 8.512 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003746/0.3921, allocations: 1.718 MB / 480.3 MB, free: 6.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004125/0.3962, allocations: 1.826 MB / 482.1 MB, free: 4.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003558/0.3997, allocations: 1.732 MB / 483.8 MB, free: 3.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001014/0.4008, allocations: 312 kB / 484.1 MB, free: 2.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003027/0.4038, allocations: 1.01 MB / 485.1 MB, free: 1.863 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001288/0.4051, allocations: 0.8725 MB / 486 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002325/0.4074, allocations: 1.396 MB / 487.4 MB, free: 15.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007593/0.415, allocations: 4.283 MB / 491.7 MB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.415, allocations: 0 / 491.7 MB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.415, allocations: 4 kB / 491.7 MB, free: 11.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001345/0.4151, allocations: 0 / 491.7 MB, free: 11.29 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.008155/0.4233, allocations: 3.117 MB / 494.8 MB, free: 8.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.4233, allocations: 8.031 kB / 494.8 MB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/0.4251, allocations: 347.1 kB / 495.2 MB, free: 7.703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003069/0.4281, allocations: 1.401 MB / 496.6 MB, free: 6.258 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004102/0.4285, allocations: 410.8 kB / 497 MB, free: 5.805 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004355/0.429, allocations: 224.1 kB / 497.2 MB, free: 5.586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00532/0.4343, allocations: 2.754 MB / 499.9 MB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.091e-05/0.4343, allocations: 7.938 kB / 499.9 MB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002477/0.4346, allocations: 91.97 kB / 0.4883 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001338/0.4347, allocations: 107.6 kB / 0.4884 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004256/0.439, allocations: 2.193 MB / 0.4906 GB, free: 276 kB / 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.01835/0.4573, allocations: 10.94 MB / 0.5012 GB, free: 4.969 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003254/0.4606, allocations: 1.673 MB / 0.5029 GB, free: 3.211 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001779/0.4624, allocations: 0.9747 MB / 0.5038 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009727/0.4721, allocations: 4.133 MB / 0.5079 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002855/0.4749, allocations: 1.504 MB / 0.5093 GB, free: 12.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=205): time 7.334e-06/0.475, allocations: 0 / 0.5093 GB, free: 12.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=215): time 0.02027/0.4952, allocations: 8.4 MB / 0.5175 GB, free: 3.969 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005363/0.4958, allocations: 0.7672 MB / 0.5183 GB, free: 3.031 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003859/0.4996, allocations: 1.667 MB / 0.5199 GB, free: 1.352 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007255/0.5003, allocations: 125.7 kB / 0.52 GB, free: 1.223 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001396/0.5017, allocations: 0.9303 MB / 0.5209 GB, free: 288 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001424/0.5032, allocations: 0.6317 MB / 0.5216 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002323/0.5055, allocations: 0.5524 MB / 0.5221 GB, free: 15.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002498/0.5057, allocations: 305.1 kB / 0.5224 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003094/0.5088, allocations: 0.954 MB / 0.5233 GB, free: 13.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004071/0.5129, allocations: 1.682 MB / 0.525 GB, free: 11.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006787/0.5197, allocations: 2.566 MB / 0.5275 GB, free: 8.992 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.413e-05/0.5197, allocations: 4 kB / 0.5275 GB, free: 8.988 MB / 446.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.01081/0.5305, allocations: 3.147 MB / 0.5305 GB, free: 5.809 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002001/0.5307, allocations: 105.1 kB / 0.5306 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.355e-05/0.5308, allocations: 19.94 kB / 0.5307 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001953/0.5328, allocations: 0.5803 MB / 0.5312 GB, free: 5.078 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002427/0.5352, allocations: 395.2 kB / 0.5316 GB, free: 4.691 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004045/0.5392, allocations: 2.262 MB / 0.5338 GB, free: 2.352 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002841/0.5421, allocations: 131.9 kB / 0.5339 GB, free: 2.223 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006846/0.5428, allocations: 112 kB / 0.534 GB, free: 2.113 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.002658/0.5454, allocations: 0.8052 MB / 0.5348 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001103/0.5465, allocations: 226.7 kB / 0.5351 GB, free: 1.047 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2734/0.8199, allocations: 3.026 MB / 0.538 GB, free: 104.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.364e-05/0.82, allocations: 28.45 kB / 0.538 GB, free: 104.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/0.82, allocations: 4.25 kB / 0.538 GB, free: 104.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.982e-05/0.82, allocations: 12.89 kB / 0.538 GB, free: 104.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/0.8302, allocations: 5.374 MB / 0.5433 GB, free: 102.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-05/0.8302, allocations: 7.859 kB / 0.5433 GB, free: 102.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.8312, allocations: 246.9 kB / 0.5435 GB, free: 102.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009925/0.8322, allocations: 0.5529 MB / 0.5441 GB, free: 102.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001839/0.8324, allocations: 61.97 kB / 0.5441 GB, free: 102.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001646/0.834, allocations: 2.242 MB / 0.5463 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.834, allocations: 7.688 kB / 0.5463 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006105/0.8401, allocations: 4.195 MB / 0.5504 GB, free: 98.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001272/0.8414, allocations: 465.6 kB / 0.5509 GB, free: 98.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004505/0.8419, allocations: 77.84 kB / 0.551 GB, free: 98.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.843, allocations: 92.44 kB / 0.551 GB, free: 98.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004721/0.8435, allocations: 256.8 kB / 0.5513 GB, free: 98.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001678/0.8436, allocations: 88.42 kB / 0.5514 GB, free: 98.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001278/0.8449, allocations: 1.066 MB / 0.5524 GB, free: 97.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.8449, allocations: 0 / 0.5524 GB, free: 97.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002431/0.8473, allocations: 0.6913 MB / 0.5531 GB, free: 97.41 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.002412/0.8498, allocations: 0.8277 MB / 0.5539 GB, free: 96.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004763/0.8545, allocations: 2.645 MB / 0.5565 GB, free: 94.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.8545, allocations: 0 / 0.5565 GB, free: 94.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002646/0.8572, allocations: 1.451 MB / 0.5579 GB, free: 92.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003687/0.8609, allocations: 0.7683 MB / 0.5586 GB, free: 91.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008386/0.8693, allocations: 4.598 MB / 0.5631 GB, free: 87.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008893/0.8701, allocations: 1.578 MB / 0.5647 GB, free: 85.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009665/0.8711, allocations: 239.3 kB / 0.5649 GB, free: 85.57 MB / 446.1 MB Notification: Performance of SimCode: time 1.673e-06/0.8711, allocations: 4 kB / 0.5649 GB, free: 85.57 MB / 446.1 MB Notification: Performance of Templates: time 0.06998/0.9411, allocations: 68.06 MB / 0.6314 GB, free: 17.56 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/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_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: 14.78110895305872]