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.002345/0.002345, allocations: 99.86 kB / 20.96 MB, free: 3.457 MB / 18.57 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.002568/0.002568, allocations: 145.1 kB / 24.26 MB, free: 168 kB / 18.57 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.534/1.534, allocations: 173.3 MB / 200.8 MB, free: 9.305 MB / 186.7 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 1.994e-06/1.994e-06, allocations: 0 / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.765e-05/3.964e-05, allocations: 6.25 kB / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.1509/0.151, allocations: 28.38 MB / 295.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01084/0.1618, allocations: 7.614 MB / 303.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001705/0.1635, allocations: 70.38 kB / 303.4 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002389/0.1659, allocations: 1.007 MB / 304.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003906/0.1698, allocations: 1.65 MB / 306 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005266/0.1751, allocations: 2.328 MB / 308.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005333/0.1804, allocations: 5.096 MB / 313.4 MB, free: 8.949 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002212/0.1826, allocations: 1.804 MB / 315.2 MB, free: 7.715 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003524/0.1862, allocations: 2.494 MB / 317.7 MB, free: 6.152 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001853/0.188, allocations: 1.449 MB / 319.2 MB, free: 5.293 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005599/0.1886, allocations: 307.8 kB / 319.5 MB, free: 5.293 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002021/0.1906, allocations: 0.8992 MB / 320.4 MB, free: 4.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005986/0.1912, allocations: 0.8958 MB / 321.3 MB, free: 4.031 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001051/0.1922, allocations: 0.9704 MB / 322.3 MB, free: 3.059 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004862/0.1971, allocations: 4.385 MB / 326.6 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1971, allocations: 0 / 326.6 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.661e-06/0.1971, allocations: 4 kB / 326.6 MB, free: 14.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.097e-05/0.1972, allocations: 0 / 326.6 MB, free: 14.66 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.007278/0.2045, allocations: 3.401 MB / 330 MB, free: 11.13 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.2045, allocations: 12.92 kB / 330.1 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.2058, allocations: 0.4911 MB / 330.6 MB, free: 10.62 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003233/0.209, allocations: 1.387 MB / 331.9 MB, free: 9.195 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004459/0.2095, allocations: 410.8 kB / 332.3 MB, free: 8.746 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004429/0.2099, allocations: 232.4 kB / 332.6 MB, free: 8.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005924/0.2158, allocations: 3.203 MB / 335.8 MB, free: 4.984 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.221e-05/0.2159, allocations: 7.938 kB / 335.8 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002496/0.2161, allocations: 95.97 kB / 335.9 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000148/0.2163, allocations: 99.69 kB / 336 MB, free: 4.785 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004193/0.2205, allocations: 1.858 MB / 337.8 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01941/0.2399, allocations: 11.6 MB / 349.4 MB, free: 6.938 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003539/0.2434, allocations: 1.721 MB / 351.1 MB, free: 5.094 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001971/0.2454, allocations: 0.9686 MB / 352.1 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009146/0.2545, allocations: 4.013 MB / 356.1 MB, free: 28 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003137/0.2577, allocations: 1.934 MB / 358.1 MB, free: 13.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=207): time 4.368e-06/0.2577, allocations: 0 / 358.1 MB, free: 13.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=217): time 0.01781/0.2755, allocations: 7.939 MB / 366 MB, free: 5.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000644/0.2761, allocations: 0.6919 MB / 366.7 MB, free: 4.973 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002782/0.2789, allocations: 1.765 MB / 368.5 MB, free: 3.168 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004015/0.2793, allocations: 125.7 kB / 368.6 MB, free: 3.039 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00114/0.2805, allocations: 1.057 MB / 369.6 MB, free: 1.973 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009408/0.2814, allocations: 0.7176 MB / 370.4 MB, free: 1.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001342/0.2827, allocations: 0.8092 MB / 371.2 MB, free: 444 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002778/0.283, allocations: 484.7 kB / 371.6 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001875/0.2849, allocations: 0.8888 MB / 372.5 MB, free: 15.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003313/0.2882, allocations: 2.168 MB / 374.7 MB, free: 12.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004638/0.2928, allocations: 2.652 MB / 377.3 MB, free: 9.383 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-05/0.2929, allocations: 4 kB / 377.3 MB, free: 9.379 MB / 330.7 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.006766/0.2996, allocations: 3.054 MB / 380.4 MB, free: 6.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001375/0.2998, allocations: 109.1 kB / 380.5 MB, free: 6.145 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.974e-05/0.2998, allocations: 20 kB / 380.5 MB, free: 6.125 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/0.3011, allocations: 484.5 kB / 381 MB, free: 5.641 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001696/0.3028, allocations: 407.2 kB / 381.4 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002978/0.3058, allocations: 2.827 MB / 384.2 MB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/0.3075, allocations: 119.8 kB / 384.3 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003194/0.3078, allocations: 136 kB / 384.5 MB, free: 2.07 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: 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.00146/0.3093, allocations: 0.7496 MB / 385.2 MB, free: 1.281 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00068/0.3099, allocations: 278.8 kB / 385.5 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00645/0.3164, allocations: 2.832 MB / 388.3 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.972e-05/0.3164, allocations: 31.92 kB / 388.4 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.3165, allocations: 8 kB / 388.4 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.022e-05/0.3165, allocations: 15.95 kB / 388.4 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01091/0.3274, allocations: 5.079 MB / 393.5 MB, free: 8.891 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/0.3274, allocations: 4 kB / 393.5 MB, free: 8.887 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/0.3286, allocations: 251.6 kB / 393.7 MB, free: 8.641 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001184/0.3298, allocations: 462.7 kB / 394.2 MB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002014/0.33, allocations: 75.94 kB / 394.2 MB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003072/0.333, allocations: 2.786 MB / 397 MB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.333, allocations: 4 kB / 397 MB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008228/0.3413, allocations: 4.044 MB / 401.1 MB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001423/0.3427, allocations: 438.3 kB / 401.5 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004707/0.3432, allocations: 76.11 kB / 401.6 MB, free: 0.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.3443, allocations: 95.94 kB / 401.7 MB, free: 416 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008446/0.3451, allocations: 273.6 kB / 401.9 MB, free: 144 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002312/0.3454, allocations: 99.88 kB / 402 MB, free: 44 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001504/0.3469, allocations: 0.8926 MB / 402.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3469, allocations: 0 / 402.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002233/0.3491, allocations: 0.6908 MB / 403.6 MB, free: 14.45 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: 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 (222): * Single equations (assignments): 186 * 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.003999/0.3531, allocations: 0.9072 MB / 404.5 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006014/0.3591, allocations: 2.763 MB / 407.3 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.3591, allocations: 0 / 407.3 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003178/0.3623, allocations: 1.49 MB / 408.8 MB, free: 9.332 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003618/0.3659, allocations: 0.7623 MB / 409.5 MB, free: 8.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009669/0.3756, allocations: 4.334 MB / 413.9 MB, free: 4.152 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001337/0.3769, allocations: 1.008 MB / 414.9 MB, free: 3.098 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001881/0.3788, allocations: 0.4969 MB / 415.4 MB, free: 2.602 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006716/0.3795, allocations: 228.3 kB / 415.6 MB, free: 2.379 MB / 362.7 MB Notification: Performance of SimCode: time 1.512e-06/0.3795, allocations: 0 / 415.6 MB, free: 2.379 MB / 362.7 MB Notification: Performance of Templates: time 0.1698/0.5493, allocations: 42.76 MB / 458.4 MB, free: 119.2 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 240] 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.521215746062808]