Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001936/0.001936, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00225/0.00225, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 51.92 kB / 368.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2474, allocations: 52.15 MB / 420.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.03083/0.2782, allocations: 28.23 MB / 449.1 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01208/0.2903, allocations: 7.517 MB / 456.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00147/0.2918, allocations: 55.69 kB / 456.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002778/0.2946, allocations: 1.014 MB / 457.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004617/0.2992, allocations: 1.589 MB / 459.3 MB, free: 8.543 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005711/0.3049, allocations: 2.256 MB / 461.5 MB, free: 6.305 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006529/0.3114, allocations: 5.004 MB / 466.5 MB, free: 1.285 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002715/0.3141, allocations: 1.717 MB / 468.2 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002902/0.317, allocations: 1.783 MB / 470 MB, free: 13.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002647/0.3197, allocations: 1.724 MB / 471.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005429/0.3202, allocations: 316 kB / 472.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002208/0.3224, allocations: 0.9442 MB / 473 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008548/0.3233, allocations: 0.8724 MB / 473.9 MB, free: 9.883 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001517/0.3248, allocations: 1.38 MB / 475.3 MB, free: 8.496 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005155/0.33, allocations: 4.213 MB / 479.5 MB, free: 4.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.33, allocations: 0 / 479.5 MB, free: 4.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.33, allocations: 0 / 479.5 MB, free: 4.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.04e-05/0.33, allocations: 0 / 479.5 MB, free: 4.273 MB / 382.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.006298/0.3363, allocations: 3.184 MB / 482.7 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3364, allocations: 8.031 kB / 482.7 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008086/0.3372, allocations: 315.2 kB / 483 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002364/0.3395, allocations: 1.473 MB / 484.4 MB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002818/0.3398, allocations: 315.4 kB / 484.7 MB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003509/0.3402, allocations: 224 kB / 485 MB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004755/0.3449, allocations: 2.765 MB / 487.7 MB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.915e-05/0.345, allocations: 7.938 kB / 487.7 MB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002354/0.3452, allocations: 95.97 kB / 487.8 MB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001244/0.3453, allocations: 99.69 kB / 487.9 MB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004119/0.3495, allocations: 2.204 MB / 490.1 MB, free: 9.219 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.01386/0.3633, allocations: 10.27 MB / 0.4887 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002976/0.3663, allocations: 1.944 MB / 0.4906 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/0.368, allocations: 0.989 MB / 0.4915 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008344/0.3763, allocations: 5.487 MB / 0.4969 GB, free: 5.652 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002377/0.3787, allocations: 1.539 MB / 0.4984 GB, free: 4.023 MB / 414.1 MB Notification: Performance of pre-optimization done (n=207): time 3.586e-06/0.3787, allocations: 0 / 0.4984 GB, free: 4.023 MB / 414.1 MB Notification: Performance of matching and sorting (n=217): time 0.01703/0.3957, allocations: 8.682 MB / 0.5069 GB, free: 11.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005949/0.3963, allocations: 0.7674 MB / 0.5076 GB, free: 10.24 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002401/0.3987, allocations: 1.642 MB / 0.5092 GB, free: 8.582 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003573/0.3991, allocations: 129.7 kB / 0.5094 GB, free: 8.449 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009083/0.4, allocations: 0.8989 MB / 0.5102 GB, free: 7.539 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008682/0.4009, allocations: 0.6317 MB / 0.5108 GB, free: 6.902 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009816/0.4018, allocations: 0.5681 MB / 0.5114 GB, free: 6.328 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.402, allocations: 305.1 kB / 0.5117 GB, free: 6.027 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001901/0.4039, allocations: 0.9657 MB / 0.5126 GB, free: 5.059 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002744/0.4066, allocations: 1.682 MB / 0.5143 GB, free: 3.078 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00427/0.4109, allocations: 2.59 MB / 0.5168 GB, free: 208 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/0.4109, allocations: 4 kB / 0.5168 GB, free: 204 kB / 430.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.006438/0.4173, allocations: 3.175 MB / 0.5199 GB, free: 12.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.4175, allocations: 109.1 kB / 0.52 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-05/0.4175, allocations: 23.94 kB / 0.52 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/0.4188, allocations: 0.5803 MB / 0.5206 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.4203, allocations: 395.2 kB / 0.521 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002586/0.4229, allocations: 2.27 MB / 0.5232 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.4246, allocations: 131.9 kB / 0.5233 GB, free: 9.387 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002772/0.4248, allocations: 128 kB / 0.5234 GB, free: 9.262 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: 188 ($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.start.table.combiTimeTable.nextTimeEvent,$whenCondition12,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition10,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],$whenCondition6,$whenCondition4,$whenCondition5,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],$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 (325): * Single equations (assignments): 319 * 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.001434/0.4263, allocations: 0.8022 MB / 0.5242 GB, free: 8.422 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004734/0.4268, allocations: 226.6 kB / 0.5244 GB, free: 8.199 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005972/0.4327, allocations: 3.075 MB / 0.5275 GB, free: 5.082 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-05/0.4328, allocations: 28 kB / 0.5275 GB, free: 5.055 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.4328, allocations: 0 / 0.5275 GB, free: 5.055 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.27e-05/0.4328, allocations: 23.83 kB / 0.5275 GB, free: 5.031 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2072/0.64, allocations: 5.477 MB / 0.5328 GB, free: 111.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.649e-05/0.6401, allocations: 6.312 kB / 0.5329 GB, free: 111.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001405/0.6415, allocations: 248 kB / 0.5331 GB, free: 111.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00124/0.6427, allocations: 0.5605 MB / 0.5336 GB, free: 111.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00027/0.643, allocations: 70.48 kB / 0.5337 GB, free: 111.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001842/0.6448, allocations: 2.228 MB / 0.5359 GB, free: 110.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.6448, allocations: 6.594 kB / 0.5359 GB, free: 110.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006282/0.6511, allocations: 4.28 MB / 0.5401 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008171/0.6519, allocations: 0.5345 MB / 0.5406 GB, free: 108.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003362/0.6522, allocations: 81.92 kB / 0.5407 GB, free: 108.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.6533, allocations: 97.81 kB / 0.5408 GB, free: 108.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004709/0.6538, allocations: 265.3 kB / 0.541 GB, free: 108.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00017/0.654, allocations: 101 kB / 0.5411 GB, free: 108.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001069/0.655, allocations: 1.033 MB / 0.5421 GB, free: 107.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.655, allocations: 3.375 kB / 0.5421 GB, free: 107.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001901/0.6569, allocations: 0.695 MB / 0.5428 GB, free: 107.8 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: 120 (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,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,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.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,$whenCondition3,start.on,$whenCondition2,$whenCondition1,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 (219): * Single equations (assignments): 183 * 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.002296/0.6592, allocations: 0.8722 MB / 0.5437 GB, free: 107.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004024/0.6633, allocations: 2.668 MB / 0.5463 GB, free: 106.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.6633, allocations: 7.281 kB / 0.5463 GB, free: 106.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002385/0.6656, allocations: 1.533 MB / 0.5478 GB, free: 105.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/0.6682, allocations: 0.7605 MB / 0.5485 GB, free: 105.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006492/0.6747, allocations: 4.548 MB / 0.5529 GB, free: 101 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007427/0.6755, allocations: 1.591 MB / 0.5545 GB, free: 99.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001391/0.6769, allocations: 0.5569 MB / 0.555 GB, free: 98.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004991/0.6774, allocations: 231.3 kB / 0.5553 GB, free: 98.56 MB / 446.1 MB Notification: Performance of SimCode: time 7.22e-07/0.6774, allocations: 0 / 0.5553 GB, free: 98.56 MB / 446.1 MB Notification: Performance of Templates: time 0.05488/0.7322, allocations: 45.02 MB / 0.5992 GB, free: 53.89 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 6.401861155405641]