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.001296/0.001296, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001356/0.001356, allocations: 181.6 kB / 23.71 MB, free: 4.695 MB / 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.429/1.429, allocations: 225.6 MB / 252.5 MB, free: 13 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.001563/0.001563, allocations: 51.92 kB / 370.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2611, allocations: 52.18 MB / 423.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.03101/0.2921, allocations: 28.22 MB / 451.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01421/0.3063, allocations: 7.522 MB / 458.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002233/0.3085, allocations: 75.38 kB / 458.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00356/0.3121, allocations: 1.032 MB / 460 MB, free: 9.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004817/0.3169, allocations: 1.597 MB / 461.6 MB, free: 8.074 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006395/0.3233, allocations: 2.33 MB / 463.9 MB, free: 5.762 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007251/0.3305, allocations: 5.075 MB / 469 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003254/0.3338, allocations: 1.714 MB / 470.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004329/0.3381, allocations: 1.803 MB / 472.5 MB, free: 13.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003172/0.3413, allocations: 1.735 MB / 474.2 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007629/0.342, allocations: 308 kB / 474.5 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002667/0.3447, allocations: 0.9754 MB / 475.5 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001241/0.346, allocations: 0.8724 MB / 476.4 MB, free: 9.207 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002605/0.3486, allocations: 1.388 MB / 477.8 MB, free: 7.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006569/0.3551, allocations: 4.213 MB / 482 MB, free: 3.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3551, allocations: 0 / 482 MB, free: 3.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3551, allocations: 0 / 482 MB, free: 3.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001252/0.3553, allocations: 3.984 kB / 482 MB, free: 3.586 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.007676/0.3629, allocations: 3.101 MB / 485.1 MB, free: 372 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.363, allocations: 12.03 kB / 485.1 MB, free: 360 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009486/0.3639, allocations: 303.2 kB / 485.4 MB, free: 56 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002906/0.3668, allocations: 1.397 MB / 486.8 MB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003149/0.3671, allocations: 315.5 kB / 487.1 MB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003642/0.3675, allocations: 220 kB / 487.3 MB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005213/0.3727, allocations: 2.773 MB / 490.1 MB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.86e-05/0.3728, allocations: 3.938 kB / 490.1 MB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00024/0.373, allocations: 91.98 kB / 490.2 MB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000123/0.3731, allocations: 99.69 kB / 490.3 MB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004404/0.3775, allocations: 2.212 MB / 492.5 MB, free: 8.719 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.01509/0.3926, allocations: 10.02 MB / 0.4907 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003101/0.3957, allocations: 1.714 MB / 0.4924 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00175/0.3975, allocations: 0.9896 MB / 0.4934 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008213/0.4057, allocations: 4.202 MB / 0.4975 GB, free: 7.324 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002655/0.4083, allocations: 1.535 MB / 0.499 GB, free: 5.699 MB / 414.1 MB Notification: Performance of pre-optimization done (n=207): time 3.647e-06/0.4083, allocations: 0 / 0.499 GB, free: 5.699 MB / 414.1 MB Notification: Performance of matching and sorting (n=217): time 0.01683/0.4252, allocations: 8.388 MB / 0.5072 GB, free: 13.22 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004621/0.4256, allocations: 0.7674 MB / 0.5079 GB, free: 12.28 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002403/0.428, allocations: 1.638 MB / 0.5095 GB, free: 10.63 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002989/0.4283, allocations: 125.7 kB / 0.5096 GB, free: 10.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008579/0.4292, allocations: 0.9028 MB / 0.5105 GB, free: 9.586 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006716/0.4299, allocations: 0.6317 MB / 0.5111 GB, free: 8.949 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009354/0.4308, allocations: 0.5758 MB / 0.5117 GB, free: 8.367 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.4309, allocations: 301.1 kB / 0.512 GB, free: 8.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001878/0.4328, allocations: 0.9696 MB / 0.5129 GB, free: 7.098 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002599/0.4354, allocations: 1.678 MB / 0.5146 GB, free: 5.121 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004184/0.4396, allocations: 2.586 MB / 0.5171 GB, free: 2.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-05/0.4396, allocations: 12 kB / 0.5171 GB, free: 2.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.006199/0.4458, allocations: 3.183 MB / 0.5202 GB, free: 15.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.4459, allocations: 105.1 kB / 0.5203 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.624e-05/0.446, allocations: 16 kB / 0.5203 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.4473, allocations: 0.588 MB / 0.5209 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.4487, allocations: 403.1 kB / 0.5213 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.4512, allocations: 2.266 MB / 0.5235 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.4527, allocations: 128 kB / 0.5236 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002589/0.453, allocations: 124 kB / 0.5237 GB, free: 11.3 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.001419/0.4544, allocations: 0.8017 MB / 0.5245 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005211/0.4549, allocations: 222.6 kB / 0.5247 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006069/0.461, allocations: 3.09 MB / 0.5277 GB, free: 7.109 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.421e-05/0.461, allocations: 35.98 kB / 0.5278 GB, free: 7.074 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.461, allocations: 0 / 0.5278 GB, free: 7.074 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-05/0.461, allocations: 23.88 kB / 0.5278 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/0.4713, allocations: 5.46 MB / 0.5331 GB, free: 1.512 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.4713, allocations: 0 / 0.5331 GB, free: 1.512 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.4724, allocations: 255.5 kB / 0.5334 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001251/0.4737, allocations: 0.5489 MB / 0.5339 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002344/0.4739, allocations: 67.95 kB / 0.534 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1922/0.6661, allocations: 2.234 MB / 0.5362 GB, free: 111.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.6661, allocations: 2.344 kB / 0.5362 GB, free: 111.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007209/0.6733, allocations: 4.296 MB / 0.5404 GB, free: 109.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/0.6745, allocations: 486.9 kB / 0.5408 GB, free: 109.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000362/0.6748, allocations: 74.62 kB / 0.5409 GB, free: 109.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.676, allocations: 101.2 kB / 0.541 GB, free: 109.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004868/0.6764, allocations: 268.6 kB / 0.5413 GB, free: 109.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001771/0.6766, allocations: 103.7 kB / 0.5413 GB, free: 109.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001174/0.6778, allocations: 1.029 MB / 0.5424 GB, free: 109.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6778, allocations: 3.969 kB / 0.5424 GB, free: 109.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001749/0.6795, allocations: 0.6948 MB / 0.543 GB, free: 109.1 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.002188/0.6817, allocations: 0.8652 MB / 0.5439 GB, free: 108.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004402/0.6861, allocations: 2.67 MB / 0.5465 GB, free: 107.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.6861, allocations: 3.938 kB / 0.5465 GB, free: 107.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002498/0.6886, allocations: 1.538 MB / 0.548 GB, free: 107.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/0.6917, allocations: 0.7671 MB / 0.5487 GB, free: 107 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007038/0.6987, allocations: 4.546 MB / 0.5532 GB, free: 103 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007898/0.6995, allocations: 1.588 MB / 0.5547 GB, free: 101.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001556/0.701, allocations: 0.5684 MB / 0.5553 GB, free: 100.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005382/0.7016, allocations: 235.3 kB / 0.5555 GB, free: 100.6 MB / 446.1 MB Notification: Performance of SimCode: time 2.244e-06/0.7016, allocations: 0 / 0.5555 GB, free: 100.6 MB / 446.1 MB Notification: Performance of Templates: time 0.05973/0.7613, allocations: 45.76 MB / 0.6002 GB, free: 55.22 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.617640171200037]