Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001723/0.001723, allocations: 109.6 kB / 21.18 MB, free: 0.6992 MB / 14.72 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.001729/0.001729, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 59.86 kB / 347.7 MB, free: 9.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2802, allocations: 49.16 MB / 396.8 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.03141/0.3116, allocations: 28.19 MB / 425 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01494/0.3265, allocations: 7.37 MB / 432.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002945/0.3295, allocations: 70.34 kB / 432.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003253/0.3327, allocations: 1.029 MB / 433.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005878/0.3386, allocations: 1.598 MB / 435.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007127/0.3457, allocations: 2.267 MB / 437.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008275/0.354, allocations: 5.048 MB / 442.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003346/0.3574, allocations: 1.683 MB / 444.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00376/0.3611, allocations: 1.791 MB / 445.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003033/0.3642, allocations: 1.697 MB / 447.6 MB, free: 500 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006822/0.3648, allocations: 304 kB / 447.9 MB, free: 196 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002812/0.3677, allocations: 0.9676 MB / 448.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001003/0.3687, allocations: 0.8568 MB / 449.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00196/0.3706, allocations: 1.357 MB / 451.1 MB, free: 13 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007022/0.3776, allocations: 4.179 MB / 455.2 MB, free: 8.812 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3776, allocations: 0 / 455.2 MB, free: 8.812 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3776, allocations: 0 / 455.2 MB, free: 8.812 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.42e-05/0.3777, allocations: 0 / 455.2 MB, free: 8.812 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 521 * Number of variables: 521 Notification: Performance of Generate backend data structure: time 0.007022/0.3848, allocations: 3.004 MB / 458.2 MB, free: 5.703 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.3848, allocations: 11.98 kB / 458.3 MB, free: 5.691 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008531/0.3857, allocations: 299.2 kB / 458.6 MB, free: 5.398 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002792/0.3885, allocations: 1.377 MB / 459.9 MB, free: 3.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003769/0.3888, allocations: 418.1 kB / 460.3 MB, free: 3.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003538/0.3892, allocations: 220 kB / 460.6 MB, free: 3.305 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005094/0.3943, allocations: 2.738 MB / 463.3 MB, free: 412 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.398e-05/0.3943, allocations: 7.938 kB / 463.3 MB, free: 404 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000231/0.3946, allocations: 91.98 kB / 463.4 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000137/0.3947, allocations: 99.69 kB / 463.5 MB, free: 212 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004283/0.399, allocations: 2.192 MB / 465.7 MB, free: 14.01 MB / 382.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.01493/0.4139, allocations: 9.97 MB / 475.6 MB, free: 3.711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002879/0.4168, allocations: 1.541 MB / 477.2 MB, free: 2.168 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001681/0.4185, allocations: 0.9204 MB / 478.1 MB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007256/0.4257, allocations: 3.424 MB / 481.5 MB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002405/0.4281, allocations: 1.427 MB / 483 MB, free: 12.31 MB / 398.1 MB Notification: Performance of pre-optimization done (n=193): time 3.506e-06/0.4281, allocations: 0 / 483 MB, free: 12.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=203): time 0.01406/0.4422, allocations: 5.936 MB / 488.9 MB, free: 6.297 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003575/0.4425, allocations: 0.5508 MB / 489.4 MB, free: 5.625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002646/0.4452, allocations: 1.647 MB / 491.1 MB, free: 3.965 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004421/0.4456, allocations: 113.7 kB / 491.2 MB, free: 3.848 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009769/0.4466, allocations: 0.9218 MB / 492.1 MB, free: 2.918 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000747/0.4474, allocations: 0.5929 MB / 492.7 MB, free: 2.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008863/0.4482, allocations: 0.548 MB / 493.3 MB, free: 1.766 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.4484, allocations: 317 kB / 493.6 MB, free: 1.453 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/0.4502, allocations: 0.9069 MB / 494.5 MB, free: 0.543 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002495/0.4527, allocations: 1.597 MB / 496.1 MB, free: 14.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003932/0.4567, allocations: 2.422 MB / 498.5 MB, free: 11.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.507e-05/0.4567, allocations: 4 kB / 498.5 MB, free: 11.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.006119/0.4628, allocations: 3.053 MB / 0.4898 GB, free: 8.875 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.4629, allocations: 98.03 kB / 0.4899 GB, free: 8.762 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.328e-05/0.4629, allocations: 16.28 kB / 0.4899 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001363/0.4643, allocations: 0.5879 MB / 0.4905 GB, free: 8.148 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/0.4658, allocations: 391.2 kB / 0.4909 GB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002479/0.4683, allocations: 2.274 MB / 0.4931 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/0.4699, allocations: 111.9 kB / 0.4932 GB, free: 5.305 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002559/0.4702, allocations: 124.1 kB / 0.4933 GB, free: 5.184 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 160 ($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.table.combiTimeTable.nextTimeEvent,$whenCondition12,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition10,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.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],$whenCondition6,$whenCondition4,$whenCondition5,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],$whenCondition3,$whenCondition1,$whenCondition2,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.normal.stateGraphRoot.resume,tankController.normal.stateGraphRoot.suspend,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,$whenCondition13,$whenCondition14,$whenCondition15) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (311): * Single equations (assignments): 305 * 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.001404/0.4716, allocations: 0.7676 MB / 0.4941 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004914/0.4721, allocations: 214.7 kB / 0.4943 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006119/0.4782, allocations: 3.039 MB / 0.4972 GB, free: 1.078 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.398e-05/0.4783, allocations: 24 kB / 0.4972 GB, free: 1.055 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.4783, allocations: 0 / 0.4972 GB, free: 1.055 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.543e-05/0.4783, allocations: 11.95 kB / 0.4973 GB, free: 1.043 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01015/0.4884, allocations: 5.34 MB / 0.5025 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.4885, allocations: 0 / 0.5025 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/0.4896, allocations: 243.6 kB / 0.5027 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00122/0.4908, allocations: 0.5528 MB / 0.5032 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001802/0.491, allocations: 63.95 kB / 0.5033 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002467/0.4935, allocations: 2.235 MB / 0.5055 GB, free: 8.449 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.4935, allocations: 4.062 kB / 0.5055 GB, free: 8.445 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007756/0.5012, allocations: 4.072 MB / 0.5095 GB, free: 4.328 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/0.5027, allocations: 462.3 kB / 0.5099 GB, free: 3.875 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004432/0.5031, allocations: 63.92 kB / 0.51 GB, free: 3.812 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.5043, allocations: 95.92 kB / 0.5101 GB, free: 3.719 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005513/0.5049, allocations: 253.6 kB / 0.5103 GB, free: 3.473 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002092/0.5051, allocations: 91.94 kB / 0.5104 GB, free: 3.383 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001699/0.5068, allocations: 1.043 MB / 0.5114 GB, free: 2.344 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5068, allocations: 0 / 0.5114 GB, free: 2.344 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002145/0.5089, allocations: 0.6752 MB / 0.5121 GB, free: 1.668 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 106 (tankController.normal.stateGraphRoot.suspend,tankController.s1.active,tankController.normal.fillTank1.localActive,tankController.normal.fillTank2.active,tankController.normal.T2.enableFire,tankController.normal.emptyTank2.active,tankController.normal.T4.enableFire,tankController.normal.wait1.active,tankController.normal.wait2.active,tankController.s2.active,tankController.emptyTanks.active,$cse1,$cse2,$cse5,$cse6,$cse7,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,tankController.s1.localActive,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.normal.stateGraphRoot.resume,tankController.normal.active,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.active,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.localCondition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.localCondition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.localActive,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.localActive,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.T3.enableFire,tankController.s2.localActive,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.localActive,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,stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2]) * Number of discrete states: 36 (start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,tankController.emptyTanks.newActive,tankController.s2.newActive,tankController.normal.newActive,tankController.normal.wait2.newActive,tankController.normal.wait1.newActive,tankController.normal.emptyTank2.newActive,tankController.normal.fillTank2.newActive,tankController.normal.fillTank1.newActive,tankController.s1.newActive,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.reset[1],shut.reset[2],shut.table.y,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.reset[1],stop.reset[2],stop.table.y,$whenCondition3,start.on,$whenCondition2,$whenCondition1,start.reset[1],start.reset[2],start.table.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (211): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 16 * 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.002637/0.5116, allocations: 0.8331 MB / 0.5129 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005687/0.5173, allocations: 2.524 MB / 0.5153 GB, free: 14.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/0.5173, allocations: 3.859 kB / 0.5154 GB, free: 14.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002993/0.5203, allocations: 1.323 MB / 0.5166 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003661/0.5239, allocations: 0.7621 MB / 0.5174 GB, free: 12.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009758/0.5337, allocations: 4.4 MB / 0.5217 GB, free: 7.676 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001502/0.5352, allocations: 1.571 MB / 0.5232 GB, free: 6.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002119/0.5373, allocations: 0.5529 MB / 0.5238 GB, free: 5.512 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006586/0.538, allocations: 231.3 kB / 0.524 GB, free: 5.285 MB / 446.1 MB Notification: Performance of SimCode: time 1.303e-06/0.538, allocations: 4 kB / 0.524 GB, free: 5.281 MB / 446.1 MB Notification: Performance of Templates: time 0.2791/0.817, allocations: 44.99 MB / 0.5679 GB, free: 149.7 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 7.046965518034995]