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.001082/0.001082, allocations: 108.4 kB / 18.36 MB, free: 4.77 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.001105/0.001105, allocations: 191 kB / 19.29 MB, free: 3.848 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.364/1.364, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001258/0.001258, allocations: 48.25 kB / 282.1 MB, free: 2.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07975/0.08102, allocations: 46.63 MB / 328.7 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.02792/0.109, allocations: 27.71 MB / 356.4 MB, free: 7.938 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01158/0.1206, allocations: 7.334 MB / 363.8 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001834/0.1225, allocations: 55.69 kB / 363.8 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002446/0.125, allocations: 1.002 MB / 364.8 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004595/0.1296, allocations: 1.543 MB / 366.4 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005444/0.135, allocations: 2.206 MB / 368.6 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00584/0.1409, allocations: 4.965 MB / 373.5 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002604/0.1435, allocations: 2.068 MB / 375.6 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002568/0.1461, allocations: 1.744 MB / 377.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002121/0.1482, allocations: 1.623 MB / 379 MB, free: 1.293 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004081/0.1487, allocations: 304 kB / 379.3 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00197/0.1506, allocations: 0.9248 MB / 380.2 MB, free: 72 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.153/0.3036, allocations: 0.832 MB / 381 MB, free: 17.65 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002798/0.3064, allocations: 1.368 MB / 382.4 MB, free: 17.6 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007734/0.3142, allocations: 4.12 MB / 386.5 MB, free: 17.21 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3143, allocations: 0.75 kB / 386.5 MB, free: 17.21 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3143, allocations: 0 / 386.5 MB, free: 17.21 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.598e-05/0.3143, allocations: 3.719 kB / 386.5 MB, free: 17.21 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.006165/0.3205, allocations: 3.006 MB / 389.5 MB, free: 15.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.3206, allocations: 9.781 kB / 389.5 MB, free: 15.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008321/0.3214, allocations: 291.3 kB / 389.8 MB, free: 15.6 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0023/0.3237, allocations: 1.453 MB / 391.3 MB, free: 15.17 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002166/0.3239, allocations: 299.3 kB / 391.6 MB, free: 15.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003275/0.3243, allocations: 221.9 kB / 391.8 MB, free: 15.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004106/0.3284, allocations: 2.728 MB / 394.5 MB, free: 14.58 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.911e-05/0.3285, allocations: 13.56 kB / 394.5 MB, free: 14.58 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000221/0.3287, allocations: 94.55 kB / 394.6 MB, free: 14.58 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001096/0.3288, allocations: 97.28 kB / 394.7 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003509/0.3323, allocations: 2.178 MB / 396.9 MB, free: 14.56 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.01127/0.3436, allocations: 10.21 MB / 407.1 MB, free: 9.785 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002344/0.346, allocations: 1.889 MB / 409 MB, free: 9.016 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/0.3472, allocations: 1.018 MB / 410 MB, free: 8.492 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005966/0.3532, allocations: 4.705 MB / 414.7 MB, free: 4.543 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001776/0.355, allocations: 1.435 MB / 416.2 MB, free: 3.574 MB / 318.1 MB Notification: Performance of pre-optimization done (n=193): time 3.347e-06/0.355, allocations: 0 / 416.2 MB, free: 3.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=203): time 0.01128/0.3663, allocations: 6.199 MB / 422.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002331/0.3666, allocations: 0.5529 MB / 422.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002124/0.3687, allocations: 1.641 MB / 424.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000259/0.369, allocations: 117.7 kB / 424.7 MB, free: 14.13 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007716/0.3697, allocations: 0.8967 MB / 425.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005696/0.3703, allocations: 0.5735 MB / 426.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008182/0.3712, allocations: 0.5479 MB / 426.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.3713, allocations: 305.1 kB / 427 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/0.3729, allocations: 0.9147 MB / 427.9 MB, free: 10.92 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002073/0.3749, allocations: 1.595 MB / 429.5 MB, free: 9.059 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003338/0.3783, allocations: 2.411 MB / 431.9 MB, free: 6.445 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/0.3783, allocations: 8 kB / 431.9 MB, free: 6.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.005433/0.3838, allocations: 3.056 MB / 435 MB, free: 3.457 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.221e-05/0.3839, allocations: 101.1 kB / 435.1 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.477e-05/0.3839, allocations: 16 kB / 435.1 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/0.3851, allocations: 0.5751 MB / 435.7 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/0.3865, allocations: 409.6 kB / 436.1 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.3886, allocations: 2.251 MB / 438.3 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.3904, allocations: 120.6 kB / 438.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002571/0.3907, allocations: 124 kB / 438.5 MB, free: 15.83 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.001295/0.392, allocations: 0.7685 MB / 439.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004332/0.3924, allocations: 197.7 kB / 439.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005381/0.3978, allocations: 3.034 MB / 442.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.311e-05/0.3979, allocations: 20 kB / 442.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.3979, allocations: 3.984 kB / 442.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.881e-05/0.3979, allocations: 11.97 kB / 442.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008949/0.4068, allocations: 5.356 MB / 447.9 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.928e-06/0.4069, allocations: 0 / 447.9 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.408, allocations: 251 kB / 448.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001104/0.4091, allocations: 0.551 MB / 448.7 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001859/0.4093, allocations: 67.94 kB / 448.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002052/0.4113, allocations: 2.23 MB / 451 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.4113, allocations: 3.938 kB / 451 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006811/0.4182, allocations: 4.053 MB / 455.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001807/0.42, allocations: 0.5216 MB / 455.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004713/0.4205, allocations: 63.98 kB / 455.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.4216, allocations: 95.92 kB / 455.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005031/0.4221, allocations: 241.7 kB / 456 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002032/0.4223, allocations: 91.94 kB / 456.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001449/0.4238, allocations: 1.043 MB / 457.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.273e-06/0.4238, allocations: 0 / 457.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002232/0.426, allocations: 0.6748 MB / 457.8 MB, free: 12.42 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.001793/0.4278, allocations: 0.8353 MB / 458.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004801/0.4327, allocations: 2.652 MB / 461.3 MB, free: 9.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.4327, allocations: 8.609 kB / 461.3 MB, free: 9.012 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002616/0.4353, allocations: 1.461 MB / 462.8 MB, free: 7.559 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002987/0.4383, allocations: 0.766 MB / 463.5 MB, free: 6.789 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007943/0.4463, allocations: 4.315 MB / 467.8 MB, free: 2.457 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/0.4474, allocations: 1.575 MB / 469.4 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001811/0.4492, allocations: 0.5664 MB / 470 MB, free: 288 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005997/0.4499, allocations: 223.3 kB / 470.2 MB, free: 68 kB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4499, allocations: 0 / 470.2 MB, free: 68 kB / 366.1 MB Notification: Performance of Templates: time 0.07292/0.5228, allocations: 42.81 MB / 0.501 GB, free: 5.352 MB / 414.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 -s cvode -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