Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001408/0.001408, allocations: 81.62 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001604/0.001604, allocations: 159.8 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 177.1 MB / 204.7 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 62.38 kB / 325.5 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09513/0.0971, allocations: 53.38 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.03023/0.1273, allocations: 25.58 MB / 404.5 MB, free: 5.785 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01252/0.1398, allocations: 7.167 MB / 411.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/0.1414, allocations: 71.44 kB / 411.7 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002565/0.144, allocations: 1.006 MB / 412.7 MB, free: 13.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004043/0.148, allocations: 1.667 MB / 414.4 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005286/0.1533, allocations: 2.205 MB / 416.6 MB, free: 9.648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007416/0.1607, allocations: 5.094 MB / 421.7 MB, free: 4.543 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003121/0.1638, allocations: 1.698 MB / 423.4 MB, free: 2.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003235/0.1671, allocations: 1.811 MB / 425.2 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003191/0.1702, allocations: 1.63 MB / 426.8 MB, free: 15.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007641/0.171, allocations: 312 kB / 427.1 MB, free: 15.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002484/0.1735, allocations: 0.8857 MB / 428 MB, free: 14.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001024/0.1745, allocations: 0.8762 MB / 428.9 MB, free: 13.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001623/0.1761, allocations: 1.136 MB / 430 MB, free: 12.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006072/0.1822, allocations: 4.266 MB / 434.3 MB, free: 7.855 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1822, allocations: 4 kB / 434.3 MB, free: 7.852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1822, allocations: 0 / 434.3 MB, free: 7.852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.116e-05/0.1823, allocations: 0 / 434.3 MB, free: 7.852 MB / 398.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.006361/0.1887, allocations: 3.117 MB / 437.4 MB, free: 4.613 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.1887, allocations: 15.98 kB / 437.4 MB, free: 4.598 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001523/0.1902, allocations: 339.1 kB / 437.8 MB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002724/0.193, allocations: 1.382 MB / 439.2 MB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003603/0.1933, allocations: 414.8 kB / 439.6 MB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003783/0.1937, allocations: 220.3 kB / 439.8 MB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005481/0.1992, allocations: 3.287 MB / 443.1 MB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.129e-05/0.1992, allocations: 3.938 kB / 443.1 MB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000239/0.1995, allocations: 95.98 kB / 443.2 MB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/0.1996, allocations: 99.69 kB / 443.3 MB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00448/0.2041, allocations: 2.291 MB / 445.5 MB, free: 12.09 MB / 414.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.01583/0.2199, allocations: 9.441 MB / 455 MB, free: 2.434 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003182/0.2231, allocations: 1.756 MB / 456.7 MB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001803/0.2249, allocations: 1.08 MB / 457.8 MB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007697/0.2326, allocations: 3.731 MB / 461.6 MB, free: 11.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002835/0.2354, allocations: 1.919 MB / 463.5 MB, free: 9.594 MB / 430.1 MB Notification: Performance of pre-optimization done (n=205): time 6.432e-06/0.2354, allocations: 0 / 463.5 MB, free: 9.594 MB / 430.1 MB Notification: Performance of matching and sorting (n=215): time 0.0176/0.253, allocations: 8.625 MB / 472.1 MB, free: 0.8359 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.204/0.457, allocations: 0.6919 MB / 472.8 MB, free: 88.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002428/0.4594, allocations: 1.425 MB / 474.2 MB, free: 87.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004665/0.4599, allocations: 127.4 kB / 474.3 MB, free: 87.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006889/0.4606, allocations: 0.9487 MB / 475.3 MB, free: 87.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006716/0.4613, allocations: 0.6345 MB / 475.9 MB, free: 87.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007827/0.462, allocations: 0.551 MB / 476.5 MB, free: 87.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.256e-05/0.4621, allocations: 304.8 kB / 476.8 MB, free: 86.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001638/0.4637, allocations: 1.052 MB / 477.8 MB, free: 86.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002039/0.4658, allocations: 1.986 MB / 479.8 MB, free: 84.94 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003683/0.4694, allocations: 2.592 MB / 482.4 MB, free: 83.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-05/0.4695, allocations: 5.062 kB / 482.4 MB, free: 83.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.005428/0.4749, allocations: 3.232 MB / 485.6 MB, free: 81.87 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.559e-05/0.475, allocations: 108 kB / 485.7 MB, free: 81.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.472e-05/0.475, allocations: 18.88 kB / 485.8 MB, free: 81.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/0.4762, allocations: 0.5815 MB / 486.3 MB, free: 81.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/0.4777, allocations: 396.9 kB / 486.7 MB, free: 81.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/0.4795, allocations: 2.264 MB / 489 MB, free: 79.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/0.4811, allocations: 122.3 kB / 489.1 MB, free: 79.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003277/0.4815, allocations: 116.9 kB / 489.2 MB, free: 79.7 MB / 430.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: 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.001263/0.4827, allocations: 0.81 MB / 490 MB, free: 79.19 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004915/0.4832, allocations: 200.2 kB / 490.2 MB, free: 79.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004912/0.4881, allocations: 3.153 MB / 493.4 MB, free: 77.78 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.559e-05/0.4882, allocations: 23.44 kB / 493.4 MB, free: 77.78 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.4882, allocations: 2.688 kB / 493.4 MB, free: 77.78 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-05/0.4882, allocations: 13.97 kB / 493.4 MB, free: 77.78 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007361/0.4956, allocations: 4.959 MB / 498.4 MB, free: 74.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.4956, allocations: 5.75 kB / 498.4 MB, free: 74.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009601/0.4965, allocations: 247.5 kB / 498.6 MB, free: 74.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009266/0.4974, allocations: 0.5562 MB / 499.2 MB, free: 73.53 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001751/0.4976, allocations: 79.48 kB / 499.3 MB, free: 73.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/0.4991, allocations: 2.223 MB / 0.4897 GB, free: 71.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.4991, allocations: 4 kB / 0.4897 GB, free: 71.15 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005713/0.5048, allocations: 4.447 MB / 0.4941 GB, free: 66.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009877/0.5058, allocations: 441.5 kB / 0.4945 GB, free: 66.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004358/0.5062, allocations: 87.02 kB / 0.4946 GB, free: 66.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.5074, allocations: 95.33 kB / 0.4947 GB, free: 65.99 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004635/0.5079, allocations: 253.6 kB / 0.4949 GB, free: 65.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001835/0.5081, allocations: 87.95 kB / 0.495 GB, free: 65.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001101/0.5092, allocations: 0.8855 MB / 0.4959 GB, free: 64.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5092, allocations: 0 / 0.4959 GB, free: 64.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002296/0.5114, allocations: 0.6795 MB / 0.4965 GB, free: 64.13 MB / 430.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: 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.002409/0.5139, allocations: 0.8654 MB / 0.4974 GB, free: 63.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004703/0.5186, allocations: 2.848 MB / 0.5002 GB, free: 60.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.5186, allocations: 4 kB / 0.5002 GB, free: 60.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002859/0.5214, allocations: 1.641 MB / 0.5018 GB, free: 58.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003315/0.5247, allocations: 0.7062 MB / 0.5025 GB, free: 58.21 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007865/0.5326, allocations: 4.616 MB / 0.507 GB, free: 53.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/0.5336, allocations: 1.026 MB / 0.508 GB, free: 52.48 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001718/0.5354, allocations: 0.5163 MB / 0.5085 GB, free: 51.96 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006143/0.536, allocations: 212.4 kB / 0.5087 GB, free: 51.76 MB / 430.1 MB Notification: Performance of SimCode: time 7.82e-07/0.536, allocations: 0 / 0.5087 GB, free: 51.76 MB / 430.1 MB Notification: Performance of Templates: time 0.05419/0.5902, allocations: 42.4 MB / 0.5501 GB, free: 9.785 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.368631485034712]