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.001359/0.001359, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001452, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 246.9 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 58.2 kB / 306.9 MB, free: 1.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1094, allocations: 50.53 MB / 357.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.005872/0.1154, allocations: 4.058 MB / 361.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004974/0.1204, allocations: 2.781 MB / 364.3 MB, free: 7.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.1215, allocations: 23.88 kB / 364.3 MB, free: 7.637 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001717/0.1233, allocations: 0.4981 MB / 364.8 MB, free: 7.141 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001465/0.1248, allocations: 422.5 kB / 365.2 MB, free: 6.727 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00239/0.1272, allocations: 0.901 MB / 366.1 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002519/0.1297, allocations: 2.021 MB / 368.1 MB, free: 3.801 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001718/0.1314, allocations: 1.093 MB / 369.2 MB, free: 2.688 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008159/0.1323, allocations: 0.5992 MB / 369.8 MB, free: 2.086 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007861/0.1331, allocations: 0.6766 MB / 370.5 MB, free: 1.406 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001844/0.1333, allocations: 92 kB / 370.6 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004083/0.1337, allocations: 171.8 kB / 370.7 MB, free: 1.148 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003893/0.1341, allocations: 394.7 kB / 371.1 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000687/0.1348, allocations: 0.6915 MB / 371.8 MB, free: 68 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1707/0.3055, allocations: 1.777 MB / 373.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.308e-06/0.3055, allocations: 2.875 kB / 373.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.3055, allocations: 0 / 373.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.678e-05/0.3056, allocations: 3.812 kB / 373.6 MB, free: 12.82 MB / 302.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.003892/0.3095, allocations: 1.928 MB / 375.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3096, allocations: 8.5 kB / 375.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.3107, allocations: 207.4 kB / 375.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.3122, allocations: 0.8998 MB / 376.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002044/0.3124, allocations: 201.3 kB / 376.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002721/0.3127, allocations: 146 kB / 377 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002795/0.3155, allocations: 1.482 MB / 378.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/0.3155, allocations: 4.797 kB / 378.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/0.3157, allocations: 54.58 kB / 378.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.719e-05/0.3157, allocations: 52.39 kB / 378.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/0.3177, allocations: 0.9761 MB / 379.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006634/0.3244, allocations: 5.881 MB / 385.4 MB, free: 7.215 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.326, allocations: 1.223 MB / 386.6 MB, free: 6.379 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007508/0.3268, allocations: 0.5272 MB / 387.2 MB, free: 6.105 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.156e-05/0.3269, allocations: 17.97 kB / 387.2 MB, free: 6.102 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/0.328, allocations: 0.8862 MB / 388.1 MB, free: 5.566 MB / 302.1 MB Notification: Performance of pre-optimization done (n=131): time 2.986e-06/0.328, allocations: 2.625 kB / 388.1 MB, free: 5.566 MB / 302.1 MB Notification: Performance of matching and sorting (n=131): time 0.002645/0.3306, allocations: 1.463 MB / 389.5 MB, free: 4.953 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/0.3308, allocations: 0.5972 MB / 390.1 MB, free: 4.258 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/0.3322, allocations: 0.9632 MB / 391.1 MB, free: 3.824 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002264/0.3324, allocations: 110 kB / 391.2 MB, free: 3.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003858/0.3328, allocations: 0.5302 MB / 391.7 MB, free: 3.355 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003032/0.3331, allocations: 341.8 kB / 392.1 MB, free: 3.113 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004663/0.3336, allocations: 363.3 kB / 392.4 MB, free: 2.957 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.769e-05/0.3336, allocations: 302.5 kB / 392.7 MB, free: 2.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008331/0.3345, allocations: 470.7 kB / 393.2 MB, free: 2.484 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.3355, allocations: 0.9113 MB / 394.1 MB, free: 1.777 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/0.3372, allocations: 1.378 MB / 395.5 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/0.3372, allocations: 3.031 kB / 395.5 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.002565/0.3398, allocations: 1.556 MB / 397 MB, free: 15.98 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.332e-05/0.3399, allocations: 103 kB / 397.1 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/0.3399, allocations: 13.97 kB / 397.1 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.537e-05/0.34, allocations: 22.5 kB / 397.2 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006228/0.3406, allocations: 181.5 kB / 397.3 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.153e-05/0.3406, allocations: 29.48 kB / 397.4 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007701/0.3414, allocations: 146.8 kB / 397.5 MB, free: 15.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.3415, allocations: 69.62 kB / 397.6 MB, free: 15.73 MB / 318.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.condition,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.condition,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.condition,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.condition,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.0009793/0.3425, allocations: 0.6382 MB / 398.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002757/0.3428, allocations: 119.4 kB / 398.3 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/0.3431, allocations: 114.5 kB / 398.5 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.3431, allocations: 15.5 kB / 398.5 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.158e-05/0.3431, allocations: 2.75 kB / 398.5 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.3431, allocations: 11.03 kB / 398.5 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004173/0.3473, allocations: 2.646 MB / 401.1 MB, free: 13.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.3473, allocations: 4 kB / 401.1 MB, free: 13.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003231/0.3477, allocations: 72.53 kB / 401.2 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.3477, allocations: 7.875 kB / 401.2 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.063e-05/0.3478, allocations: 41.33 kB / 401.2 MB, free: 13.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.3478, allocations: 7.844 kB / 401.3 MB, free: 13.33 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3478, allocations: 0 / 401.3 MB, free: 13.33 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002748/0.3506, allocations: 1.855 MB / 403.1 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004989/0.3511, allocations: 290.1 kB / 403.4 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/0.3513, allocations: 71.16 kB / 403.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004167/0.3517, allocations: 48.69 kB / 403.5 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000296/0.352, allocations: 132.8 kB / 403.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.43e-05/0.3521, allocations: 48.64 kB / 403.7 MB, free: 11.85 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007665/0.3529, allocations: 0.6014 MB / 404.3 MB, free: 11.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3529, allocations: 0 / 404.3 MB, free: 11.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001277/0.3542, allocations: 343 kB / 404.6 MB, free: 11.42 MB / 318.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.localActive,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.active,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.T1.condition,tankController.makeProduct.T1.enableFire,tankController.makeProduct.fillTank2.active,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.T3.condition,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.condition,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.condition,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.001161/0.3554, allocations: 0.5582 MB / 405.2 MB, free: 11.08 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002411/0.3578, allocations: 1.453 MB / 406.6 MB, free: 9.641 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.3578, allocations: 0 / 406.6 MB, free: 9.641 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.359, allocations: 0.8378 MB / 407.5 MB, free: 8.801 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.3602, allocations: 215.9 kB / 407.7 MB, free: 8.59 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004168/0.3644, allocations: 2.757 MB / 410.4 MB, free: 5.781 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007734/0.3652, allocations: 1.158 MB / 411.6 MB, free: 4.594 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004496/0.3656, allocations: 99.42 kB / 411.7 MB, free: 4.496 MB / 318.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3656, allocations: 0 / 411.7 MB, free: 4.496 MB / 318.1 MB Notification: Performance of Templates: time 0.02559/0.3912, allocations: 17.71 MB / 429.4 MB, free: 2.848 MB / 334.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