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.001074/0.001074, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001202/0.001202, allocations: 162.8 kB / 25.61 MB, free: 8.902 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 1.012/1.012, allocations: 177.1 MB / 206.1 MB, free: 4.496 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.[0-9,]+.|start.on|start.reset.[0-9,]+.|stop.on|stop.reset.[0-9,]+.|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.[0-9,]+.|start.on|start.reset.[0-9,]+.|stop.on|stop.reset.[0-9,]+.|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 2.043e-06/2.043e-06, allocations: 0 / 274.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.01e-05/3.214e-05, allocations: 2.312 kB / 274.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.01488/0.01491, allocations: 11.81 MB / 286 MB, free: 8.586 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007404/0.02232, allocations: 5.299 MB / 291.3 MB, free: 3.273 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008855/0.0232, allocations: 67.44 kB / 291.4 MB, free: 3.207 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001432/0.02463, allocations: 0.835 MB / 292.2 MB, free: 2.367 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001972/0.0266, allocations: 1.518 MB / 293.7 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002784/0.02939, allocations: 2.023 MB / 295.7 MB, free: 14.81 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003716/0.0331, allocations: 5.085 MB / 300.8 MB, free: 9.715 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00168/0.03479, allocations: 1.808 MB / 302.6 MB, free: 7.855 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002576/0.03736, allocations: 2.55 MB / 305.2 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/0.03868, allocations: 1.418 MB / 306.6 MB, free: 3.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003079/0.03899, allocations: 304 kB / 306.9 MB, free: 3.633 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008198/0.03981, allocations: 0.6477 MB / 307.5 MB, free: 2.984 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005383/0.04035, allocations: 0.8723 MB / 308.4 MB, free: 2.109 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000754/0.0411, allocations: 0.947 MB / 309.4 MB, free: 1.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002177/0.04328, allocations: 2.667 MB / 312 MB, free: 14.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.04329, allocations: 0 / 312 MB, free: 14.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.04329, allocations: 0 / 312 MB, free: 14.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.416e-05/0.04331, allocations: 0 / 312 MB, free: 14.48 MB / 298.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.003254/0.04657, allocations: 3.173 MB / 315.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.0466, allocations: 12.03 kB / 315.2 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.04763, allocations: 0.5457 MB / 315.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.04911, allocations: 1.466 MB / 317.2 MB, free: 9.109 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002159/0.04933, allocations: 410.8 kB / 317.6 MB, free: 8.656 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002445/0.04957, allocations: 232.3 kB / 317.9 MB, free: 8.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002087/0.05166, allocations: 2.371 MB / 320.2 MB, free: 5.723 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.963e-05/0.0517, allocations: 11.92 kB / 320.2 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/0.05185, allocations: 87.98 kB / 320.3 MB, free: 5.625 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.559e-05/0.05193, allocations: 103.7 kB / 320.4 MB, free: 5.523 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.0531, allocations: 0.9189 MB / 321.3 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008216/0.06132, allocations: 9.922 MB / 331.3 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.06237, allocations: 1.103 MB / 332.4 MB, free: 9.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005387/0.06291, allocations: 0.5663 MB / 332.9 MB, free: 8.566 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003901/0.06681, allocations: 3.442 MB / 336.4 MB, free: 5.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001104/0.06791, allocations: 1.457 MB / 337.8 MB, free: 3.438 MB / 314.7 MB Notification: Performance of pre-optimization done (n=205): time 3.126e-06/0.06791, allocations: 0 / 337.8 MB, free: 3.438 MB / 314.7 MB Notification: Performance of matching and sorting (n=215): time 0.005653/0.07357, allocations: 3.798 MB / 341.6 MB, free: 15.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002369/0.0738, allocations: 0.6921 MB / 342.3 MB, free: 14.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.07505, allocations: 1.25 MB / 343.6 MB, free: 13.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001522/0.07521, allocations: 129.7 kB / 343.7 MB, free: 13.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005483/0.07575, allocations: 1.002 MB / 344.7 MB, free: 12.24 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004144/0.07617, allocations: 0.6355 MB / 345.3 MB, free: 11.6 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005934/0.07676, allocations: 0.5859 MB / 345.9 MB, free: 11.01 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.07689, allocations: 484.7 kB / 346.4 MB, free: 10.53 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006408/0.07753, allocations: 430.2 kB / 346.8 MB, free: 10.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.07862, allocations: 1.617 MB / 348.4 MB, free: 8.004 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001848/0.08047, allocations: 1.816 MB / 350.3 MB, free: 5.805 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.08048, allocations: 8 kB / 350.3 MB, free: 5.797 MB / 330.7 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.002299/0.08278, allocations: 2.083 MB / 352.3 MB, free: 3.656 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.885e-05/0.08285, allocations: 109.1 kB / 352.4 MB, free: 3.531 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/0.08287, allocations: 24.09 kB / 352.5 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005791/0.08345, allocations: 366.7 kB / 352.8 MB, free: 3.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007774/0.08422, allocations: 407.2 kB / 353.2 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.08542, allocations: 2.583 MB / 355.8 MB, free: 60 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1459/0.2313, allocations: 99.73 kB / 355.9 MB, free: 69.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000651/0.2319, allocations: 98 kB / 356 MB, free: 69.01 MB / 330.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,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,tankController.normal.T2.condition,tankController.normal.T4.condition,tankController.stateGraphRoot.suspend,tankController.stateGraphRoot.resume) * 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.00108/0.233, allocations: 0.5358 MB / 356.5 MB, free: 68.72 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004861/0.2335, allocations: 284.4 kB / 356.8 MB, free: 68.72 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003019/0.2365, allocations: 2.022 MB / 358.8 MB, free: 68.35 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-05/0.2366, allocations: 30.84 kB / 358.9 MB, free: 68.35 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.2366, allocations: 3.594 kB / 358.9 MB, free: 68.35 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.568e-05/0.2366, allocations: 13.38 kB / 358.9 MB, free: 68.35 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004813/0.2414, allocations: 3.316 MB / 362.2 MB, free: 67.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.2414, allocations: 1.469 kB / 362.2 MB, free: 67.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005426/0.242, allocations: 243.8 kB / 362.4 MB, free: 67.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005041/0.2425, allocations: 353.9 kB / 362.8 MB, free: 67.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.2426, allocations: 62.66 kB / 362.8 MB, free: 67.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008278/0.2434, allocations: 2.549 MB / 365.4 MB, free: 65.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2434, allocations: 2.969 kB / 365.4 MB, free: 65.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002584/0.246, allocations: 2.519 MB / 367.9 MB, free: 64.7 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004895/0.2465, allocations: 407.2 kB / 368.3 MB, free: 64.63 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002204/0.2467, allocations: 71.47 kB / 368.4 MB, free: 64.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004995/0.2472, allocations: 83.62 kB / 368.5 MB, free: 64.63 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002922/0.2475, allocations: 202.9 kB / 368.7 MB, free: 64.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.2476, allocations: 77.33 kB / 368.7 MB, free: 64.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004353/0.248, allocations: 0.6149 MB / 369.4 MB, free: 64.47 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.248, allocations: 0 / 369.4 MB, free: 64.47 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001323/0.2494, allocations: 0.6164 MB / 370 MB, free: 64.47 MB / 330.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 (212): * Single equations (assignments): 176 * 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.001288/0.2506, allocations: 0.6802 MB / 370.7 MB, free: 64.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001923/0.2526, allocations: 1.791 MB / 372.4 MB, free: 63.85 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.2526, allocations: 3.562 kB / 372.4 MB, free: 63.85 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.2536, allocations: 1.006 MB / 373.5 MB, free: 63.54 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.2552, allocations: 0.7414 MB / 374.2 MB, free: 63.46 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004792/0.26, allocations: 3.881 MB / 378.1 MB, free: 61.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.2603, allocations: 460.4 kB / 378.5 MB, free: 60.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008862/0.2612, allocations: 402 kB / 378.9 MB, free: 60.44 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001394/0.2626, allocations: 0.8331 MB / 379.8 MB, free: 59.81 MB / 330.7 MB Notification: Performance of SimCode: time 1.603e-06/0.2626, allocations: 0 / 379.8 MB, free: 59.81 MB / 330.7 MB Notification: Performance of Templates: time 0.04792/0.3105, allocations: 44.57 MB / 424.3 MB, free: 17.28 MB / 330.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.519013228826225]