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.002199/0.002199, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002656/0.002656, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 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.538/1.538, allocations: 177.1 MB / 204.6 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] 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.313e-06/1.313e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.676e-05, allocations: 2.312 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.1517/0.1517, allocations: 28.56 MB / 300.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01098/0.1627, allocations: 7.688 MB / 308.6 MB, free: 9.293 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00189/0.1646, allocations: 67.06 kB / 308.6 MB, free: 9.258 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002354/0.167, allocations: 1.02 MB / 309.6 MB, free: 8.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003996/0.171, allocations: 1.71 MB / 311.4 MB, free: 7.762 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004885/0.1758, allocations: 2.224 MB / 313.6 MB, free: 6.027 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005098/0.1809, allocations: 5.127 MB / 318.7 MB, free: 2.914 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002491/0.1834, allocations: 1.805 MB / 320.5 MB, free: 1.586 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004628/0.1881, allocations: 2.515 MB / 323 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002862/0.1909, allocations: 1.472 MB / 324.5 MB, free: 13.96 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006545/0.1916, allocations: 312 kB / 324.8 MB, free: 13.66 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002466/0.1941, allocations: 0.8931 MB / 325.7 MB, free: 12.76 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001074/0.1951, allocations: 0.8996 MB / 326.6 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001589/0.1967, allocations: 0.9626 MB / 327.6 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007164/0.2039, allocations: 4.44 MB / 332 MB, free: 6.441 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2039, allocations: 0 / 332 MB, free: 6.441 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2039, allocations: 4 kB / 332 MB, free: 6.438 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.075e-05/0.204, allocations: 0 / 332 MB, free: 6.438 MB / 282.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.007211/0.2112, allocations: 3.427 MB / 335.4 MB, free: 2.883 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2112, allocations: 12.03 kB / 335.4 MB, free: 2.871 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001977/0.2132, allocations: 0.5495 MB / 336 MB, free: 2.32 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003023/0.2162, allocations: 1.399 MB / 337.4 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004031/0.2166, allocations: 410.8 kB / 337.8 MB, free: 428 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003968/0.217, allocations: 232.3 kB / 338 MB, free: 196 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005694/0.2227, allocations: 3.187 MB / 341.2 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.147e-05/0.2228, allocations: 11.88 kB / 341.2 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002385/0.223, allocations: 91.97 kB / 341.3 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001379/0.2231, allocations: 99.69 kB / 341.4 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003897/0.227, allocations: 1.842 MB / 343.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01867/0.2457, allocations: 12.4 MB / 355.6 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003082/0.2488, allocations: 1.67 MB / 357.3 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/0.2505, allocations: 0.9533 MB / 358.3 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008032/0.2585, allocations: 3.932 MB / 362.2 MB, free: 7.027 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002817/0.2613, allocations: 1.903 MB / 364.1 MB, free: 4.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=205): time 4.308e-06/0.2613, allocations: 0 / 364.1 MB, free: 4.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=215): time 0.01655/0.2779, allocations: 7.951 MB / 372.1 MB, free: 12.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005121/0.2784, allocations: 0.6916 MB / 372.7 MB, free: 11.99 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002788/0.2812, allocations: 1.806 MB / 374.6 MB, free: 10.15 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003267/0.2815, allocations: 125.7 kB / 374.7 MB, free: 10.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001252/0.2828, allocations: 1.085 MB / 375.8 MB, free: 8.926 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008807/0.2837, allocations: 0.7099 MB / 376.5 MB, free: 8.211 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001279/0.2849, allocations: 0.7933 MB / 377.3 MB, free: 7.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002324/0.2852, allocations: 480.8 kB / 377.7 MB, free: 6.938 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/0.287, allocations: 0.8809 MB / 378.6 MB, free: 6.035 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003019/0.29, allocations: 2.164 MB / 380.8 MB, free: 3.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004441/0.2944, allocations: 2.641 MB / 383.4 MB, free: 392 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.64e-05/0.2944, allocations: 8 kB / 383.4 MB, free: 384 kB / 330.7 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.006075/0.3005, allocations: 3.005 MB / 386.4 MB, free: 13.31 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.3006, allocations: 105.1 kB / 386.5 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.334e-05/0.3007, allocations: 20 kB / 386.6 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/0.3019, allocations: 487.1 kB / 387 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/0.3035, allocations: 403.2 kB / 387.4 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00289/0.3063, allocations: 2.834 MB / 390.3 MB, free: 9.355 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.3079, allocations: 115.9 kB / 390.4 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002562/0.3081, allocations: 120 kB / 390.5 MB, free: 9.125 MB / 346.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.001403/0.3095, allocations: 0.758 MB / 391.2 MB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006242/0.3102, allocations: 278.8 kB / 391.5 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005977/0.3161, allocations: 2.774 MB / 394.3 MB, free: 5.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.332e-05/0.3162, allocations: 31.98 kB / 394.3 MB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3162, allocations: 0 / 394.3 MB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.433e-05/0.3162, allocations: 11.97 kB / 394.3 MB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/0.3268, allocations: 5.02 MB / 399.4 MB, free: 92 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.895e-05/0.3268, allocations: 4 kB / 399.4 MB, free: 88 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/0.3279, allocations: 247.5 kB / 399.6 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001187/0.3291, allocations: 454.7 kB / 400 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002024/0.3293, allocations: 63.95 kB / 400.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002787/0.3321, allocations: 2.803 MB / 402.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.3321, allocations: 4 kB / 402.9 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007943/0.3401, allocations: 3.949 MB / 406.9 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001756/0.3418, allocations: 422.4 kB / 407.3 MB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004403/0.3423, allocations: 79.92 kB / 407.4 MB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.3433, allocations: 88 kB / 407.4 MB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006145/0.3439, allocations: 269.5 kB / 407.7 MB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002078/0.3441, allocations: 91.95 kB / 407.8 MB, free: 7.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001521/0.3457, allocations: 0.9128 MB / 408.7 MB, free: 6.496 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3457, allocations: 0 / 408.7 MB, free: 6.496 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002333/0.348, allocations: 0.6869 MB / 409.4 MB, free: 5.809 MB / 362.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.003898/0.3519, allocations: 0.8667 MB / 410.3 MB, free: 5.113 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006032/0.3579, allocations: 2.734 MB / 413 MB, free: 2.305 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.3579, allocations: 5.875 kB / 413 MB, free: 2.301 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00309/0.361, allocations: 1.466 MB / 414.5 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003372/0.3644, allocations: 0.7627 MB / 415.2 MB, free: 36 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009393/0.3738, allocations: 4.325 MB / 419.6 MB, free: 11.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/0.3751, allocations: 1.011 MB / 420.6 MB, free: 10.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001596/0.3767, allocations: 488.9 kB / 421 MB, free: 10.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006136/0.3773, allocations: 208.4 kB / 421.2 MB, free: 9.875 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.3773, allocations: 0 / 421.2 MB, free: 9.875 MB / 378.7 MB Notification: Performance of Templates: time 0.166/0.5432, allocations: 42.34 MB / 463.6 MB, free: 107.1 MB / 378.7 MB " [Timeout remaining time 659] 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","/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: 6.410110417054966]