Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank2.level|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.makeProduct.T1.enableFire|tankController.makeProduct.T2.enableFire|tankController.makeProduct.T3.enableFire|tankController.makeProduct.T4.enableFire",fileNamePrefix="Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks") translateModel(Modelica.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank2.level|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.makeProduct.T1.enableFire|tankController.makeProduct.T2.enableFire|tankController.makeProduct.T3.enableFire|tankController.makeProduct.T4.enableFire",fileNamePrefix="Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001222/0.001223, allocations: 117.7 kB / 18.46 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001303/0.001303, allocations: 204.8 kB / 19.4 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2382, allocations: 50.55 MB / 409.9 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.005302/0.2435, allocations: 3.89 MB / 413.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004667/0.2482, allocations: 2.713 MB / 416.5 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006804/0.2489, allocations: 27.88 kB / 416.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.2504, allocations: 0.5634 MB / 417.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.2517, allocations: 497.5 kB / 417.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002089/0.2538, allocations: 0.9864 MB / 418.6 MB, free: 9.039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002569/0.2563, allocations: 2.192 MB / 420.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001799/0.2582, allocations: 1.248 MB / 422 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.2593, allocations: 0.7359 MB / 422.8 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.2604, allocations: 0.7313 MB / 423.5 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004183/0.2608, allocations: 204 kB / 423.7 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006453/0.2615, allocations: 299.9 kB / 424 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000531/0.262, allocations: 498.6 kB / 424.5 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009792/0.263, allocations: 0.8009 MB / 425.3 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002379/0.2654, allocations: 2.361 MB / 427.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2654, allocations: 0 / 427.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2654, allocations: 0 / 427.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.912e-05/0.2655, allocations: 4 kB / 427.6 MB, free: 15.94 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 319 * Number of variables: 319 Notification: Performance of Generate backend data structure: time 0.003649/0.2691, allocations: 1.929 MB / 429.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.2692, allocations: 12.03 kB / 429.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.2702, allocations: 206.9 kB / 429.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.2716, allocations: 0.9153 MB / 430.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001893/0.2718, allocations: 200.7 kB / 430.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/0.2721, allocations: 151.9 kB / 431 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002562/0.2746, allocations: 1.46 MB / 432.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/0.2747, allocations: 8 kB / 432.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.2748, allocations: 59.97 kB / 432.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.955e-05/0.2749, allocations: 50.12 kB / 432.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/0.2768, allocations: 0.9766 MB / 433.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007226/0.284, allocations: 5.814 MB / 439.4 MB, free: 3.684 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.2859, allocations: 1.221 MB / 440.6 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008454/0.2867, allocations: 0.5254 MB / 441.1 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.208e-05/0.2868, allocations: 28.92 kB / 441.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001263/0.2881, allocations: 0.8816 MB / 442.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=131): time 4.368e-06/0.2881, allocations: 0 / 442.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of matching and sorting (n=131): time 0.002684/0.2908, allocations: 1.462 MB / 443.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003587/0.2912, allocations: 0.6039 MB / 444.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.2926, allocations: 0.9605 MB / 445.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001891/0.2928, allocations: 113.7 kB / 445.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005271/0.2933, allocations: 0.5321 MB / 445.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003451/0.2937, allocations: 327.8 kB / 446 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005422/0.2942, allocations: 367.6 kB / 446.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2944, allocations: 301.1 kB / 446.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008573/0.2952, allocations: 471.8 kB / 447.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.2964, allocations: 0.9156 MB / 448.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001778/0.2981, allocations: 1.37 MB / 449.4 MB, free: 8.824 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/0.2982, allocations: 4 kB / 449.4 MB, free: 8.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.00252/0.3007, allocations: 1.563 MB / 451 MB, free: 7.234 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.921e-05/0.3008, allocations: 113.1 kB / 451.1 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.357e-05/0.3008, allocations: 15.94 kB / 451.1 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.614e-05/0.3009, allocations: 20 kB / 451.2 MB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006038/0.3015, allocations: 175.5 kB / 451.3 MB, free: 6.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-05/0.3015, allocations: 23.94 kB / 451.3 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006756/0.3022, allocations: 150.6 kB / 451.5 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.962e-05/0.3023, allocations: 68 kB / 451.6 MB, free: 6.66 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 178 ($PRE.tankController.makeProduct.T1.enableFire,$PRE.tankController.makeProduct.T3.enableFire,$PRE.tankController.makeProduct.T2.enableFire,$PRE.tankController.makeProduct.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],$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition12,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition10,stateGraphRoot.activeSteps,valve3.valveControl,valve2.valveControl,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.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.makeProduct.T4.t_start,$PRE.tankController.makeProduct.T4.t_start,tankController.makeProduct.T4.fire,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait2.oldActive,$PRE.tankController.makeProduct.wait2.oldActive,tankController.makeProduct.wait2.newActive,$PRE.tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.localActive,$PRE.tankController.makeProduct.wait2.localActive,tankController.makeProduct.wait2.active,tankController.makeProduct.T2.t_start,$PRE.tankController.makeProduct.T2.t_start,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.enableFire,tankController.makeProduct.wait1.oldActive,$PRE.tankController.makeProduct.wait1.oldActive,tankController.makeProduct.wait1.newActive,$PRE.tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.localActive,$PRE.tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait1.active,tankController.makeProduct.emptyTank2.oldActive,$PRE.tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.emptyTank2.newActive,$PRE.tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.localActive,$PRE.tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.T3.enableFire,tankController.makeProduct.T3.localCondition,tankController.makeProduct.fillTank2.oldActive,$PRE.tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.fillTank2.newActive,$PRE.tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.localActive,$PRE.tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank2.active,tankController.makeProduct.T1.enableFire,tankController.makeProduct.T1.localCondition,tankController.makeProduct.fillTank1.oldActive,$PRE.tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.fillTank1.newActive,$PRE.tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.localActive,$PRE.tankController.makeProduct.fillTank1.localActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.activeSteps,tankController.makeProduct.newActive,$PRE.tankController.makeProduct.newActive,tankController.makeProduct.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,$whenCondition13,$whenCondition14,$whenCondition15,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.makeProduct.T1.t_start,$PRE.tankController.makeProduct.T1.t_start,tankController.makeProduct.T3.t_start,$PRE.tankController.makeProduct.T3.t_start,tankController.T1.t_start,$PRE.tankController.T1.t_start,tankController.T2.t_start,$PRE.tankController.T2.t_start,tankController.T3.t_start,$PRE.tankController.T3.t_start,tankController.T4.t_start,$PRE.tankController.T4.t_start,tankController.T5.t_start,$PRE.tankController.T5.t_start,tankController.T6.t_start,$PRE.tankController.T6.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,tankController.makeProduct.T4.condition,tankController.makeProduct.T2.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 209 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008581/0.3032, allocations: 0.6533 MB / 452.2 MB, free: 5.969 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002616/0.3034, allocations: 114.8 kB / 452.3 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/0.3037, allocations: 114 kB / 452.4 MB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.3037, allocations: 12 kB / 452.5 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.675e-05/0.3037, allocations: 4 kB / 452.5 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.3038, allocations: 7.984 kB / 452.5 MB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003979/0.3077, allocations: 2.623 MB / 455.1 MB, free: 3.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.3078, allocations: 0 / 455.1 MB, free: 3.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003366/0.3081, allocations: 75.77 kB / 455.2 MB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.284e-05/0.3081, allocations: 8 kB / 455.2 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.377e-05/0.3082, allocations: 39.92 kB / 455.2 MB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/0.3082, allocations: 4 kB / 455.2 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3082, allocations: 4 kB / 455.2 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002862/0.3111, allocations: 1.869 MB / 457.1 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004018/0.3115, allocations: 287.5 kB / 457.4 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/0.3117, allocations: 56.25 kB / 457.4 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/0.3122, allocations: 43.97 kB / 457.5 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002747/0.3124, allocations: 136.9 kB / 457.6 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.413e-05/0.3125, allocations: 51.92 kB / 457.6 MB, free: 388 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000788/0.3133, allocations: 0.6084 MB / 458.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.3134, allocations: 4 kB / 458.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001058/0.3144, allocations: 338.9 kB / 458.6 MB, free: 15.44 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (tank1.level,tank2.level) * Number of discrete variables: 105 (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.makeProduct.T3.t_start,tankController.makeProduct.T1.t_start,tankController.T3.enableFire,tankController.s1.localActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.T2.enableFire,tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait2.localActive,tankController.s2.localActive,tankController.emptyTanks.localActive,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,tankController.s1.active,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.makeProduct.active,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,tankController.makeProduct.fillTank1.localActive,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.T1.localCondition,tankController.makeProduct.T1.enableFire,tankController.makeProduct.fillTank2.active,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.T3.localCondition,tankController.makeProduct.T3.enableFire,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.wait1.active,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.t_start,tankController.makeProduct.wait2.active,tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.oldActive,tankController.makeProduct.T4.fire,tankController.makeProduct.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,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],valve2.valveControl,valve3.valveControl,stateGraphRoot.activeSteps) * Number of discrete states: 50 (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.makeProduct.newActive,tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait1.newActive,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.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,tankController.makeProduct.T1.t_start,tankController.makeProduct.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 clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 24 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001177/0.3156, allocations: 0.5504 MB / 459.1 MB, free: 15.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002287/0.3179, allocations: 1.457 MB / 460.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.3179, allocations: 4 kB / 460.6 MB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.319, allocations: 0.8293 MB / 461.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.3201, allocations: 241.5 kB / 461.7 MB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003718/0.3239, allocations: 2.298 MB / 464 MB, free: 10.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008476/0.3247, allocations: 1.162 MB / 465.1 MB, free: 8.867 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003555/0.3251, allocations: 103.4 kB / 465.2 MB, free: 8.766 MB / 382.1 MB Notification: Performance of SimCode: time 4.7e-07/0.3251, allocations: 0 / 465.2 MB, free: 8.766 MB / 382.1 MB Notification: Performance of Templates: time 0.02646/0.3516, allocations: 17.9 MB / 483.1 MB, free: 6.891 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.makefile (rm -f Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.sim & ./Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/StateGraph/Examples/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches