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.001358/0.001358, allocations: 107.5 kB / 20.44 MB, free: 1.348 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.001434/0.001434, allocations: 190.3 kB / 23.71 MB, free: 4.551 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.492/1.492, allocations: 225.7 MB / 252.5 MB, free: 12.83 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.001611/0.001611, allocations: 47.92 kB / 370.9 MB, free: 9.215 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2741, allocations: 52.18 MB / 423.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.03483/0.3089, allocations: 25.41 MB / 448.5 MB, free: 5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01347/0.3224, allocations: 7.075 MB / 455.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0019/0.3243, allocations: 67.44 kB / 455.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0031/0.3274, allocations: 1.005 MB / 456.6 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004643/0.332, allocations: 1.601 MB / 458.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00599/0.338, allocations: 2.302 MB / 460.5 MB, free: 8.941 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006971/0.345, allocations: 5.063 MB / 465.6 MB, free: 3.863 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003214/0.3482, allocations: 1.69 MB / 467.3 MB, free: 2.121 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003513/0.3517, allocations: 1.807 MB / 469.1 MB, free: 316 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003071/0.3548, allocations: 1.618 MB / 470.7 MB, free: 14.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008676/0.3556, allocations: 308 kB / 471 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002562/0.3582, allocations: 0.8778 MB / 471.9 MB, free: 13.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001287/0.3595, allocations: 0.8763 MB / 472.8 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002287/0.3618, allocations: 1.132 MB / 473.9 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006405/0.3682, allocations: 4.222 MB / 478.1 MB, free: 7.258 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3682, allocations: 0 / 478.1 MB, free: 7.258 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3682, allocations: 0 / 478.1 MB, free: 7.258 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001327/0.3683, allocations: 0 / 478.1 MB, free: 7.258 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.007665/0.376, allocations: 3.097 MB / 481.2 MB, free: 4.039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.376, allocations: 8.031 kB / 481.2 MB, free: 4.031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.3771, allocations: 311.2 kB / 481.5 MB, free: 3.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002987/0.3801, allocations: 1.366 MB / 482.9 MB, free: 2.324 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003987/0.3805, allocations: 414.5 kB / 483.3 MB, free: 1.867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000458/0.3809, allocations: 220 kB / 483.5 MB, free: 1.652 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006287/0.3872, allocations: 3.299 MB / 486.8 MB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.403e-05/0.3873, allocations: 7.938 kB / 486.8 MB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002771/0.3875, allocations: 95.97 kB / 486.9 MB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001549/0.3877, allocations: 99.69 kB / 487 MB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004895/0.3926, allocations: 2.299 MB / 489.3 MB, free: 11.55 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.01593/0.4085, allocations: 8.536 MB / 497.8 MB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003405/0.4119, allocations: 1.802 MB / 499.6 MB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002047/0.414, allocations: 1.08 MB / 0.489 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008536/0.4225, allocations: 3.813 MB / 0.4927 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002912/0.4254, allocations: 1.947 MB / 0.4946 GB, free: 9.844 MB / 414.1 MB Notification: Performance of pre-optimization done (n=207): time 6.332e-06/0.4254, allocations: 0 / 0.4946 GB, free: 9.844 MB / 414.1 MB Notification: Performance of matching and sorting (n=217): time 0.01826/0.4437, allocations: 8.606 MB / 0.503 GB, free: 1.105 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000447/0.4441, allocations: 0.6961 MB / 0.5037 GB, free: 260 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0023/0.4464, allocations: 1.407 MB / 0.5051 GB, free: 14.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004153/0.4469, allocations: 125.7 kB / 0.5052 GB, free: 14.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001234/0.4481, allocations: 0.9288 MB / 0.5061 GB, free: 13.76 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00112/0.4492, allocations: 0.6278 MB / 0.5067 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001228/0.4504, allocations: 0.572 MB / 0.5073 GB, free: 12.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4506, allocations: 301.1 kB / 0.5075 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002177/0.4528, allocations: 1.057 MB / 0.5086 GB, free: 11.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002955/0.4557, allocations: 1.996 MB / 0.5105 GB, free: 8.812 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004429/0.4601, allocations: 2.602 MB / 0.5131 GB, free: 5.926 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.23e-05/0.4602, allocations: 4 kB / 0.5131 GB, free: 5.922 MB / 430.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.006618/0.4668, allocations: 3.281 MB / 0.5163 GB, free: 2.586 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.4669, allocations: 105.1 kB / 0.5164 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.701e-05/0.4669, allocations: 23.94 kB / 0.5164 GB, free: 2.441 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001342/0.4683, allocations: 0.5843 MB / 0.517 GB, free: 1.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/0.4698, allocations: 403.1 kB / 0.5174 GB, free: 1.453 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002516/0.4723, allocations: 2.266 MB / 0.5196 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.4739, allocations: 119.8 kB / 0.5197 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00029/0.4742, allocations: 124 kB / 0.5198 GB, free: 14.87 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.001468/0.4756, allocations: 0.8096 MB / 0.5206 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005597/0.4762, allocations: 202.8 kB / 0.5208 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006329/0.4825, allocations: 3.214 MB / 0.5239 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.964e-05/0.4826, allocations: 24 kB / 0.5239 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.4826, allocations: 0 / 0.5239 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.718e-05/0.4826, allocations: 15.95 kB / 0.524 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01/0.4926, allocations: 5.047 MB / 0.5289 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/0.4926, allocations: 4 kB / 0.5289 GB, free: 5.371 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.4937, allocations: 255.5 kB / 0.5291 GB, free: 5.121 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001211/0.4949, allocations: 0.5567 MB / 0.5297 GB, free: 4.555 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002166/0.4951, allocations: 71.95 kB / 0.5298 GB, free: 4.484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002384/0.4975, allocations: 2.231 MB / 0.5319 GB, free: 2.176 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4975, allocations: 0 / 0.5319 GB, free: 2.176 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1991/0.6966, allocations: 4.531 MB / 0.5364 GB, free: 112.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001373/0.698, allocations: 451.2 kB / 0.5368 GB, free: 112.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000596/0.6986, allocations: 77.42 kB / 0.5369 GB, free: 112.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/0.7, allocations: 100.4 kB / 0.537 GB, free: 112.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006159/0.7006, allocations: 274.3 kB / 0.5372 GB, free: 112.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002618/0.7009, allocations: 95.7 kB / 0.5373 GB, free: 112.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00132/0.7022, allocations: 0.8568 MB / 0.5381 GB, free: 111.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7022, allocations: 0 / 0.5381 GB, free: 111.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002095/0.7043, allocations: 0.6906 MB / 0.5388 GB, free: 111.7 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 (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.002529/0.7068, allocations: 0.8948 MB / 0.5397 GB, free: 111.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004632/0.7114, allocations: 2.882 MB / 0.5425 GB, free: 110.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.7115, allocations: 0.5625 kB / 0.5425 GB, free: 110.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00262/0.7141, allocations: 1.664 MB / 0.5441 GB, free: 109.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002871/0.7169, allocations: 0.6967 MB / 0.5448 GB, free: 109.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007166/0.7241, allocations: 4.633 MB / 0.5493 GB, free: 105.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007998/0.7249, allocations: 1.027 MB / 0.5503 GB, free: 104.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001502/0.7264, allocations: 0.5365 MB / 0.5509 GB, free: 104.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005306/0.7269, allocations: 219.3 kB / 0.5511 GB, free: 103.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.012e-06/0.7269, allocations: 4 kB / 0.5511 GB, free: 103.9 MB / 446.1 MB Notification: Performance of Templates: time 0.05376/0.7807, allocations: 45.2 MB / 0.5952 GB, free: 59.3 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.608482180163264]