Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008519/0.0008519, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003961/0.003961, allocations: 163 kB / 24.7 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8593/0.8593, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5036,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5036,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 325.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.734e-05/1.885e-05, allocations: 4.672 kB / 325.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.01646/0.01648, allocations: 25.41 MB / 351.2 MB, free: 5.801 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007871/0.02435, allocations: 7.188 MB / 358.4 MB, free: 14.59 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.0255, allocations: 71.44 kB / 358.5 MB, free: 14.52 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001637/0.02714, allocations: 1.017 MB / 359.5 MB, free: 13.5 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002421/0.02956, allocations: 1.709 MB / 361.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003089/0.03265, allocations: 2.226 MB / 363.4 MB, free: 9.57 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003832/0.03648, allocations: 5.132 MB / 368.6 MB, free: 4.422 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002073/0.03855, allocations: 1.714 MB / 370.3 MB, free: 2.664 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002521/0.04107, allocations: 2.51 MB / 372.8 MB, free: 152 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.0424, allocations: 1.465 MB / 374.3 MB, free: 14.68 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003096/0.04271, allocations: 312 kB / 374.6 MB, free: 14.38 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.04399, allocations: 0.8931 MB / 375.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005104/0.0445, allocations: 0.8957 MB / 376.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007082/0.04521, allocations: 0.9665 MB / 377.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003085/0.04829, allocations: 4.429 MB / 381.7 MB, free: 7.172 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.0483, allocations: 0 / 381.7 MB, free: 7.172 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.0483, allocations: 0 / 381.7 MB, free: 7.172 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.752e-05/0.04833, allocations: 0 / 381.7 MB, free: 7.172 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.003323/0.05165, allocations: 3.093 MB / 384.8 MB, free: 3.961 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.05168, allocations: 8.031 kB / 384.8 MB, free: 3.953 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008598/0.05254, allocations: 367.1 kB / 385.2 MB, free: 3.594 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/0.05403, allocations: 1.381 MB / 386.6 MB, free: 2.164 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000204/0.05424, allocations: 414.8 kB / 387 MB, free: 1.707 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002206/0.05446, allocations: 228.3 kB / 387.2 MB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00293/0.05739, allocations: 3.28 MB / 390.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.951e-05/0.05743, allocations: 11.92 kB / 390.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/0.05758, allocations: 91.98 kB / 390.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.475e-05/0.05764, allocations: 99.69 kB / 390.7 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002422/0.06006, allocations: 2.291 MB / 393 MB, free: 11.41 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.007832/0.06789, allocations: 9.414 MB / 402.4 MB, free: 1.785 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.06961, allocations: 1.759 MB / 404.2 MB, free: 15.92 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.07063, allocations: 1.069 MB / 405.2 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003922/0.07455, allocations: 3.747 MB / 409 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001485/0.07604, allocations: 1.912 MB / 410.9 MB, free: 8.945 MB / 378.7 MB Notification: Performance of pre-optimization done (n=205): time 2.815e-06/0.07604, allocations: 0 / 410.9 MB, free: 8.945 MB / 378.7 MB Notification: Performance of matching and sorting (n=215): time 0.008856/0.08489, allocations: 8.625 MB / 419.5 MB, free: 192 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002203/0.08512, allocations: 0.6958 MB / 420.2 MB, free: 15.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.08625, allocations: 1.429 MB / 421.6 MB, free: 13.89 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001489/0.0864, allocations: 133.7 kB / 421.8 MB, free: 13.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000468/0.08687, allocations: 0.9368 MB / 422.7 MB, free: 12.81 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003562/0.08722, allocations: 0.6239 MB / 423.3 MB, free: 12.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005117/0.08774, allocations: 0.5564 MB / 423.9 MB, free: 11.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.0878, allocations: 305.1 kB / 424.2 MB, free: 11.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.08891, allocations: 1.049 MB / 425.2 MB, free: 10.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.09039, allocations: 1.984 MB / 427.2 MB, free: 7.898 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002269/0.09266, allocations: 2.592 MB / 429.8 MB, free: 5.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.09266, allocations: 8 kB / 429.8 MB, free: 5.012 MB / 394.7 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.003274/0.09594, allocations: 3.235 MB / 433 MB, free: 1.723 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.737e-05/0.096, allocations: 109.1 kB / 433.2 MB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.09601, allocations: 20 kB / 433.2 MB, free: 1.578 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007315/0.09674, allocations: 0.5687 MB / 433.7 MB, free: 1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007232/0.09747, allocations: 399.2 kB / 434.1 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.09878, allocations: 2.262 MB / 436.4 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006426/0.09942, allocations: 124 kB / 436.5 MB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/0.09956, allocations: 124 kB / 436.6 MB, free: 14.03 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.0007517/0.1003, allocations: 0.8206 MB / 437.5 MB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/0.1005, allocations: 198.8 kB / 437.7 MB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003594/0.1041, allocations: 3.152 MB / 440.8 MB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/0.1041, allocations: 28.38 kB / 440.8 MB, free: 9.738 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1041, allocations: 0 / 440.8 MB, free: 9.738 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.1042, allocations: 15.95 kB / 440.8 MB, free: 9.723 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005021/0.1092, allocations: 4.95 MB / 445.8 MB, free: 4.684 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.1092, allocations: 7.938 kB / 445.8 MB, free: 4.676 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005279/0.1097, allocations: 247.5 kB / 446 MB, free: 4.434 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006265/0.1103, allocations: 0.5567 MB / 446.6 MB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.85e-05/0.1104, allocations: 63.95 kB / 446.7 MB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/0.1117, allocations: 2.231 MB / 448.9 MB, free: 1.496 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.1117, allocations: 4.031 kB / 448.9 MB, free: 1.492 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1315/0.2431, allocations: 4.442 MB / 453.3 MB, free: 118.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006449/0.2438, allocations: 443.3 kB / 453.8 MB, free: 118.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002105/0.244, allocations: 81.55 kB / 453.9 MB, free: 118.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005495/0.2445, allocations: 94.02 kB / 453.9 MB, free: 118.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003136/0.2448, allocations: 260.4 kB / 454.2 MB, free: 118.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.2449, allocations: 85.14 kB / 454.3 MB, free: 118.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006909/0.2456, allocations: 0.8831 MB / 455.2 MB, free: 117.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2456, allocations: 3 kB / 455.2 MB, free: 117.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001252/0.2469, allocations: 0.686 MB / 455.9 MB, free: 117.8 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.001128/0.248, allocations: 0.8739 MB / 456.7 MB, free: 117.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002562/0.2506, allocations: 2.863 MB / 459.6 MB, free: 116.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2506, allocations: 2 kB / 459.6 MB, free: 116.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001315/0.2519, allocations: 1.555 MB / 461.1 MB, free: 115.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.2533, allocations: 0.7019 MB / 461.9 MB, free: 114.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004059/0.2573, allocations: 4.545 MB / 466.4 MB, free: 110.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005091/0.2578, allocations: 1.012 MB / 467.4 MB, free: 109.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003784/0.2582, allocations: 228.3 kB / 467.6 MB, free: 109.7 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.2582, allocations: 0 / 467.6 MB, free: 109.7 MB / 410.7 MB Notification: Performance of Templates: time 0.0322/0.2904, allocations: 67.55 MB / 0.5226 GB, free: 42.17 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.40889292024076]