Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5000,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_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001617, allocations: 110.2 kB / 18.25 MB, free: 4.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00199/0.00199, allocations: 195.3 kB / 19.18 MB, free: 3.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.1 MB / 225.1 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 44.22 kB / 281.3 MB, free: 3.18 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09702/0.09841, allocations: 46.62 MB / 327.9 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.02771/0.1262, allocations: 27.71 MB / 355.7 MB, free: 8.652 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01157/0.1378, allocations: 7.334 MB / 363 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002131/0.14, allocations: 55.69 kB / 363 MB, free: 1.238 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002745/0.1428, allocations: 1.006 MB / 364.1 MB, free: 232 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004201/0.147, allocations: 1.547 MB / 365.6 MB, free: 14.67 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005205/0.1522, allocations: 2.207 MB / 367.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00639/0.1586, allocations: 4.958 MB / 372.8 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003474/0.1621, allocations: 2.056 MB / 374.8 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003107/0.1652, allocations: 1.729 MB / 376.5 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002771/0.168, allocations: 1.638 MB / 378.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007174/0.1688, allocations: 307.9 kB / 378.5 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002335/0.1711, allocations: 0.9131 MB / 379.4 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1832/0.3543, allocations: 0.8327 MB / 380.2 MB, free: 16.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002557/0.357, allocations: 1.361 MB / 381.6 MB, free: 16.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00592/0.3629, allocations: 4.046 MB / 385.6 MB, free: 16.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3629, allocations: 0 / 385.6 MB, free: 16.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3629, allocations: 3.625 kB / 385.6 MB, free: 16.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001231/0.3631, allocations: 0 / 385.6 MB, free: 16.48 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 521 * Number of variables: 521 Notification: Performance of Generate backend data structure: time 0.007661/0.3707, allocations: 3.001 MB / 388.6 MB, free: 15 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.3708, allocations: 9.906 kB / 388.7 MB, free: 15 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.3718, allocations: 285.5 kB / 388.9 MB, free: 14.87 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00229/0.3741, allocations: 1.412 MB / 390.3 MB, free: 14.44 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002643/0.3744, allocations: 298.7 kB / 390.6 MB, free: 14.31 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003428/0.3748, allocations: 223.5 kB / 390.9 MB, free: 14.3 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004817/0.3796, allocations: 2.725 MB / 393.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.962e-05/0.3797, allocations: 10.78 kB / 393.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002745/0.38, allocations: 95.45 kB / 393.7 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001992/0.3802, allocations: 97.66 kB / 393.8 MB, free: 13.85 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004075/0.3842, allocations: 2.181 MB / 396 MB, free: 13.84 MB / 318.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.01259/0.3969, allocations: 10.27 MB / 406.2 MB, free: 9.043 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002608/0.3995, allocations: 1.889 MB / 408.1 MB, free: 8.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/0.4009, allocations: 1.015 MB / 409.1 MB, free: 8.262 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006489/0.4074, allocations: 4.725 MB / 413.9 MB, free: 4.355 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001978/0.4094, allocations: 1.428 MB / 415.3 MB, free: 3.391 MB / 318.1 MB Notification: Performance of pre-optimization done (n=193): time 3.557e-06/0.4094, allocations: 3.094 kB / 415.3 MB, free: 3.391 MB / 318.1 MB Notification: Performance of matching and sorting (n=203): time 0.01232/0.4218, allocations: 6.202 MB / 421.5 MB, free: 15.78 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003063/0.4221, allocations: 0.5489 MB / 422 MB, free: 15.14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002356/0.4245, allocations: 1.647 MB / 423.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002731/0.4248, allocations: 108.6 kB / 423.8 MB, free: 14.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008323/0.4256, allocations: 0.9037 MB / 424.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006363/0.4263, allocations: 0.5746 MB / 425.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008887/0.4272, allocations: 0.544 MB / 425.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.4273, allocations: 305.1 kB / 426.1 MB, free: 12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/0.429, allocations: 0.9108 MB / 427 MB, free: 11.08 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002351/0.4313, allocations: 1.594 MB / 428.6 MB, free: 9.223 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003753/0.4351, allocations: 2.432 MB / 431.1 MB, free: 6.594 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/0.4351, allocations: 4 kB / 431.1 MB, free: 6.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.005968/0.4411, allocations: 3.056 MB / 434.1 MB, free: 3.605 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.059e-05/0.4412, allocations: 93.09 kB / 434.2 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.301e-05/0.4413, allocations: 20 kB / 434.2 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001284/0.4426, allocations: 0.5761 MB / 434.8 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/0.444, allocations: 391.2 kB / 435.2 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002311/0.4464, allocations: 2.268 MB / 437.4 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/0.4482, allocations: 119.8 kB / 437.6 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002968/0.4485, allocations: 116 kB / 437.7 MB, free: 15.98 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 160 ($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.table.combiTimeTable.nextTimeEvent,$whenCondition12,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition10,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.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.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 (311): * Single equations (assignments): 305 * 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.001543/0.4501, allocations: 0.7742 MB / 438.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005132/0.4506, allocations: 201.6 kB / 438.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005696/0.4563, allocations: 3.025 MB / 441.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-05/0.4564, allocations: 27.98 kB / 441.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.4564, allocations: 0 / 441.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-05/0.4564, allocations: 11.97 kB / 441.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009709/0.4661, allocations: 5.385 MB / 447.1 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.4662, allocations: 0.5625 kB / 447.1 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.4673, allocations: 252.3 kB / 447.3 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001136/0.4684, allocations: 0.5662 MB / 447.9 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001694/0.4686, allocations: 63.95 kB / 448 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002267/0.4709, allocations: 2.229 MB / 450.2 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.4709, allocations: 7.031 kB / 450.2 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006884/0.4778, allocations: 4.05 MB / 454.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/0.4792, allocations: 0.5177 MB / 454.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000442/0.4796, allocations: 59.98 kB / 454.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/0.4808, allocations: 95.92 kB / 454.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005659/0.4814, allocations: 249.7 kB / 455.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000213/0.4816, allocations: 87.94 kB / 455.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00162/0.4832, allocations: 1.043 MB / 456.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.4832, allocations: 0 / 456.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002552/0.4858, allocations: 0.6717 MB / 457 MB, free: 12.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 106 (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,stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2]) * Number of discrete states: 36 (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.reset[1],shut.reset[2],shut.table.y,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.reset[1],stop.reset[2],stop.table.y,$whenCondition3,start.on,$whenCondition2,$whenCondition1,start.reset[1],start.reset[2],start.table.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (211): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 16 * 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.002186/0.488, allocations: 0.8363 MB / 457.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.01037/0.4984, allocations: 3.432 MB / 461.2 MB, free: 8.375 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/0.4984, allocations: 3.859 kB / 461.2 MB, free: 8.371 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003202/0.5016, allocations: 1.449 MB / 462.7 MB, free: 6.926 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005109/0.5068, allocations: 0.758 MB / 463.5 MB, free: 6.164 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/0.5182, allocations: 4.426 MB / 467.9 MB, free: 1.719 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001803/0.5201, allocations: 1.567 MB / 469.4 MB, free: 116 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/0.5212, allocations: 250.6 kB / 469.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of SimCode: time 1.533e-06/0.5212, allocations: 0 / 469.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of Templates: time 0.09456/0.6158, allocations: 67.16 MB / 0.5243 GB, free: 12.64 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches