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.001086/0.001086, allocations: 88.28 kB / 21.44 MB, free: 3.125 MB / 18.57 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.005273/0.005273, allocations: 152.9 kB / 24.69 MB, free: 8.918 MB / 18.57 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 0.8565/0.8565, allocations: 177 MB / 204.9 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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 1.292e-06/1.292e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.922e-05, allocations: 7.203 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.01666/0.01668, allocations: 25.39 MB / 351.2 MB, free: 5.922 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007816/0.02449, allocations: 7.204 MB / 358.4 MB, free: 14.7 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.02573, allocations: 67.44 kB / 358.4 MB, free: 14.63 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001621/0.02735, allocations: 1.017 MB / 359.4 MB, free: 13.61 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002533/0.02989, allocations: 1.713 MB / 361.2 MB, free: 11.89 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00341/0.0333, allocations: 2.229 MB / 363.4 MB, free: 9.672 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003922/0.03722, allocations: 5.112 MB / 368.5 MB, free: 4.543 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001636/0.03885, allocations: 1.725 MB / 370.2 MB, free: 2.777 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002169/0.04102, allocations: 2.506 MB / 372.7 MB, free: 272 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001289/0.04231, allocations: 1.469 MB / 374.2 MB, free: 14.79 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000302/0.04261, allocations: 308 kB / 374.5 MB, free: 14.49 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.04397, allocations: 0.897 MB / 375.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005076/0.04448, allocations: 0.8918 MB / 376.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007351/0.04522, allocations: 0.9665 MB / 377.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003123/0.04834, allocations: 4.432 MB / 381.7 MB, free: 7.281 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.04834, allocations: 0 / 381.7 MB, free: 7.281 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.04834, allocations: 0 / 381.7 MB, free: 7.281 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.899e-05/0.04837, allocations: 0 / 381.7 MB, free: 7.281 MB / 346.7 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.003291/0.05167, allocations: 3.097 MB / 384.8 MB, free: 4.062 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.0517, allocations: 11.98 kB / 384.8 MB, free: 4.051 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007728/0.05247, allocations: 347.1 kB / 385.1 MB, free: 3.711 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.05395, allocations: 1.377 MB / 386.5 MB, free: 2.285 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.05415, allocations: 410.8 kB / 386.9 MB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000212/0.05437, allocations: 220.4 kB / 387.1 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002843/0.05721, allocations: 3.288 MB / 390.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.528e-05/0.05724, allocations: 8.125 kB / 390.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001502/0.05739, allocations: 95.91 kB / 390.5 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.326e-05/0.05746, allocations: 99.69 kB / 390.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002387/0.05984, allocations: 2.283 MB / 392.9 MB, free: 11.54 MB / 362.7 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.007739/0.06758, allocations: 9.414 MB / 402.3 MB, free: 1.922 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.06935, allocations: 1.767 MB / 404.1 MB, free: 56 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.07041, allocations: 1.069 MB / 405.1 MB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004331/0.07474, allocations: 3.739 MB / 408.9 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001653/0.0764, allocations: 1.912 MB / 410.8 MB, free: 9.086 MB / 378.7 MB Notification: Performance of pre-optimization done (n=205): time 4.308e-06/0.0764, allocations: 3.984 kB / 410.8 MB, free: 9.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=215): time 0.009483/0.08588, allocations: 8.624 MB / 419.4 MB, free: 336 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002392/0.08612, allocations: 0.6883 MB / 420.1 MB, free: 15.49 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.08738, allocations: 1.44 MB / 421.6 MB, free: 14.03 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001413/0.08752, allocations: 125.7 kB / 421.7 MB, free: 13.9 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005178/0.08804, allocations: 0.9407 MB / 422.6 MB, free: 12.95 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003774/0.08842, allocations: 0.6278 MB / 423.2 MB, free: 12.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005147/0.08893, allocations: 0.5524 MB / 423.8 MB, free: 11.76 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.677e-05/0.089, allocations: 305.1 kB / 424.1 MB, free: 11.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.09014, allocations: 1.053 MB / 425.2 MB, free: 10.38 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001508/0.09165, allocations: 1.988 MB / 427.1 MB, free: 8.027 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002305/0.09395, allocations: 2.598 MB / 429.7 MB, free: 5.141 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.09396, allocations: 8 kB / 429.7 MB, free: 5.133 MB / 394.7 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.003311/0.09727, allocations: 3.23 MB / 433 MB, free: 1.848 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.596e-05/0.09733, allocations: 105.1 kB / 433.1 MB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.09735, allocations: 16.84 kB / 433.1 MB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007187/0.09807, allocations: 0.5763 MB / 433.7 MB, free: 1.125 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00071/0.09878, allocations: 399.1 kB / 434.1 MB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.1001, allocations: 2.262 MB / 436.3 MB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006763/0.1008, allocations: 124 kB / 436.4 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/0.1009, allocations: 120.1 kB / 436.6 MB, free: 14.16 MB / 410.7 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.0008176/0.1017, allocations: 0.8089 MB / 437.4 MB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/0.1019, allocations: 206.8 kB / 437.6 MB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00334/0.1053, allocations: 3.147 MB / 440.7 MB, free: 9.902 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/0.1053, allocations: 31.92 kB / 440.7 MB, free: 9.871 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1053, allocations: 8 kB / 440.8 MB, free: 9.863 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.1053, allocations: 7.969 kB / 440.8 MB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005091/0.1104, allocations: 4.954 MB / 445.7 MB, free: 4.812 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.1104, allocations: 4 kB / 445.7 MB, free: 4.809 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000516/0.1109, allocations: 247.6 kB / 446 MB, free: 4.566 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006279/0.1115, allocations: 0.5645 MB / 446.5 MB, free: 3.992 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-05/0.1116, allocations: 63.95 kB / 446.6 MB, free: 3.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/0.1129, allocations: 2.231 MB / 448.8 MB, free: 1.621 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1129, allocations: 0 / 448.8 MB, free: 1.621 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1295/0.2424, allocations: 4.44 MB / 453.3 MB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007266/0.2431, allocations: 440.7 kB / 453.7 MB, free: 118.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002364/0.2433, allocations: 81.84 kB / 453.8 MB, free: 118.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005522/0.2439, allocations: 93.11 kB / 453.9 MB, free: 118 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003166/0.2442, allocations: 260.6 kB / 454.1 MB, free: 118 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.2443, allocations: 89.83 kB / 454.2 MB, free: 117.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006752/0.245, allocations: 0.8794 MB / 455.1 MB, free: 117.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.245, allocations: 0 / 455.1 MB, free: 117.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001222/0.2462, allocations: 0.6894 MB / 455.8 MB, free: 117.5 MB / 410.7 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.001135/0.2473, allocations: 0.8687 MB / 456.6 MB, free: 117.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002626/0.25, allocations: 2.858 MB / 459.5 MB, free: 116.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.25, allocations: 2.375 kB / 459.5 MB, free: 116.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001332/0.2513, allocations: 1.57 MB / 461.1 MB, free: 115 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.2527, allocations: 0.7028 MB / 461.8 MB, free: 114.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00418/0.2569, allocations: 4.55 MB / 466.3 MB, free: 110.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004979/0.2574, allocations: 1.012 MB / 467.3 MB, free: 109.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003868/0.2578, allocations: 224.4 kB / 467.6 MB, free: 109.1 MB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/0.2578, allocations: 0 / 467.6 MB, free: 109.1 MB / 410.7 MB Notification: Performance of Templates: time 0.03283/0.2906, allocations: 67.53 MB / 0.5225 GB, free: 41.61 MB / 410.7 MB " [Timeout remaining time 660] 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: 8.327517487108707]