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.001378/0.001378, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001468/0.001468, allocations: 204.5 kB / 23.72 MB, free: 4.391 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.566/1.566, allocations: 230.5 MB / 257.4 MB, free: 7.777 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.002009/0.002009, allocations: 63.88 kB / 378.2 MB, free: 2.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2505, allocations: 53.41 MB / 431.6 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.0307/0.2812, allocations: 25.56 MB / 457.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01395/0.2952, allocations: 7.164 MB / 464.4 MB, free: 5.688 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0026/0.2978, allocations: 67.44 kB / 464.4 MB, free: 5.621 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0033/0.3011, allocations: 1.013 MB / 465.4 MB, free: 4.605 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005526/0.3066, allocations: 1.667 MB / 467.1 MB, free: 2.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006323/0.3129, allocations: 2.196 MB / 469.3 MB, free: 0.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007952/0.3209, allocations: 5.098 MB / 474.4 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003864/0.3247, allocations: 1.698 MB / 476.1 MB, free: 9.887 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004346/0.3291, allocations: 1.818 MB / 477.9 MB, free: 8.066 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003436/0.3325, allocations: 1.618 MB / 479.5 MB, free: 6.441 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001236/0.3337, allocations: 316 kB / 479.8 MB, free: 6.133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003028/0.3368, allocations: 0.8896 MB / 480.7 MB, free: 5.242 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001684/0.3384, allocations: 0.8725 MB / 481.6 MB, free: 4.367 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00303/0.3415, allocations: 1.136 MB / 482.7 MB, free: 3.227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007887/0.3494, allocations: 4.273 MB / 487 MB, free: 14.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3494, allocations: 0 / 487 MB, free: 14.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.3494, allocations: 0 / 487 MB, free: 14.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001735/0.3495, allocations: 0 / 487 MB, free: 14.95 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.008264/0.3578, allocations: 3.113 MB / 490.1 MB, free: 11.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.3579, allocations: 11.98 kB / 490.1 MB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/0.3595, allocations: 343.1 kB / 490.5 MB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002949/0.3624, allocations: 1.382 MB / 491.9 MB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003755/0.3628, allocations: 410.8 kB / 492.3 MB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003664/0.3631, allocations: 220.4 kB / 492.5 MB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005517/0.3687, allocations: 3.283 MB / 495.8 MB, free: 5.699 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.571e-05/0.3687, allocations: 11.94 kB / 495.8 MB, free: 5.688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002436/0.369, allocations: 91.97 kB / 495.9 MB, free: 5.598 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001198/0.3691, allocations: 99.69 kB / 496 MB, free: 5.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004309/0.3734, allocations: 2.287 MB / 498.2 MB, free: 3.191 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.01602/0.3894, allocations: 9.443 MB / 0.4958 GB, free: 9.539 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003118/0.3925, allocations: 1.767 MB / 0.4975 GB, free: 7.672 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001775/0.3943, allocations: 1.073 MB / 0.4986 GB, free: 6.562 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007925/0.4022, allocations: 3.739 MB / 0.5022 GB, free: 2.789 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002676/0.4049, allocations: 1.916 MB / 0.5041 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of pre-optimization done (n=205): time 4.298e-06/0.4049, allocations: 0 / 0.5041 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of matching and sorting (n=215): time 0.01704/0.4219, allocations: 8.636 MB / 0.5125 GB, free: 7.926 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004081/0.4224, allocations: 0.688 MB / 0.5132 GB, free: 7.082 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/0.4245, allocations: 1.433 MB / 0.5146 GB, free: 5.629 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000417/0.4249, allocations: 133.9 kB / 0.5147 GB, free: 5.492 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009355/0.4259, allocations: 0.9446 MB / 0.5156 GB, free: 4.539 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007228/0.4266, allocations: 0.6239 MB / 0.5162 GB, free: 3.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008749/0.4275, allocations: 0.5563 MB / 0.5168 GB, free: 3.348 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.4276, allocations: 305.1 kB / 0.5171 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001907/0.4295, allocations: 1.049 MB / 0.5181 GB, free: 1.977 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002674/0.4322, allocations: 1.988 MB / 0.52 GB, free: 15.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004096/0.4363, allocations: 2.59 MB / 0.5226 GB, free: 12.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.147e-05/0.4363, allocations: 12 kB / 0.5226 GB, free: 12.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.00613/0.4424, allocations: 3.23 MB / 0.5257 GB, free: 9.457 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.4425, allocations: 105.1 kB / 0.5258 GB, free: 9.336 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.942e-05/0.4426, allocations: 20 kB / 0.5259 GB, free: 9.316 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001298/0.4439, allocations: 0.5769 MB / 0.5264 GB, free: 8.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.4454, allocations: 399.2 kB / 0.5268 GB, free: 8.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00247/0.4479, allocations: 2.254 MB / 0.529 GB, free: 6.008 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/0.4496, allocations: 127.8 kB / 0.5291 GB, free: 5.883 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002399/0.4498, allocations: 120.1 kB / 0.5292 GB, free: 5.766 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.001442/0.4513, allocations: 0.8162 MB / 0.53 GB, free: 4.914 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004625/0.4517, allocations: 210.8 kB / 0.5302 GB, free: 4.707 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005974/0.4577, allocations: 3.148 MB / 0.5333 GB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.91e-05/0.4577, allocations: 27.98 kB / 0.5333 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.4577, allocations: 4 kB / 0.5333 GB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.213e-05/0.4578, allocations: 11.97 kB / 0.5334 GB, free: 1.457 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2363/0.6941, allocations: 4.95 MB / 0.5382 GB, free: 70.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.6941, allocations: 2.969 kB / 0.5382 GB, free: 70.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009897/0.6951, allocations: 246.5 kB / 0.5384 GB, free: 70.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00117/0.6963, allocations: 0.5563 MB / 0.539 GB, free: 70.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001956/0.6964, allocations: 69.16 kB / 0.539 GB, free: 70.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002028/0.6985, allocations: 2.233 MB / 0.5412 GB, free: 69.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.6985, allocations: 5.562 kB / 0.5412 GB, free: 69.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006274/0.7048, allocations: 4.447 MB / 0.5456 GB, free: 68.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/0.7058, allocations: 440.8 kB / 0.546 GB, free: 68.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003413/0.7062, allocations: 76.09 kB / 0.5461 GB, free: 68.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.7072, allocations: 96.89 kB / 0.5462 GB, free: 68.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004364/0.7076, allocations: 262.4 kB / 0.5464 GB, free: 68.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001656/0.7078, allocations: 93.75 kB / 0.5465 GB, free: 68.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00109/0.7089, allocations: 0.8755 MB / 0.5473 GB, free: 68.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7089, allocations: 0 / 0.5473 GB, free: 68.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001845/0.7107, allocations: 0.6884 MB / 0.548 GB, free: 68.61 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.002319/0.7131, allocations: 0.8504 MB / 0.5488 GB, free: 68.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004496/0.7175, allocations: 2.859 MB / 0.5516 GB, free: 68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.7176, allocations: 3.094 kB / 0.5516 GB, free: 68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002704/0.7203, allocations: 1.632 MB / 0.5532 GB, free: 67.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003138/0.7234, allocations: 0.7138 MB / 0.5539 GB, free: 67.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007899/0.7313, allocations: 4.614 MB / 0.5584 GB, free: 65.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/0.7323, allocations: 1.025 MB / 0.5594 GB, free: 65.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001887/0.7342, allocations: 0.52 MB / 0.5599 GB, free: 65.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005065/0.7347, allocations: 212.1 kB / 0.5602 GB, free: 65.37 MB / 446.1 MB Notification: Performance of SimCode: time 9.01e-07/0.7347, allocations: 0 / 0.5602 GB, free: 65.37 MB / 446.1 MB Notification: Performance of Templates: time 0.05546/0.7902, allocations: 44.78 MB / 0.6039 GB, free: 23.02 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.651904871687293]