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.00162/0.00162, allocations: 114.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001761/0.001761, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 60.11 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1511, allocations: 50.53 MB / 358.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.00589/0.1571, allocations: 3.899 MB / 362.8 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005278/0.1624, allocations: 2.72 MB / 365.5 MB, free: 6.719 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008824/0.1633, allocations: 27.88 kB / 365.5 MB, free: 6.691 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001373/0.1647, allocations: 0.5637 MB / 366.1 MB, free: 6.125 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.1659, allocations: 489.6 kB / 366.6 MB, free: 5.645 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002594/0.1685, allocations: 0.993 MB / 367.6 MB, free: 4.656 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002922/0.1714, allocations: 2.196 MB / 369.8 MB, free: 2.453 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001842/0.1733, allocations: 1.236 MB / 371 MB, free: 1.195 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008786/0.1742, allocations: 0.732 MB / 371.7 MB, free: 472 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.238/0.4122, allocations: 0.7368 MB / 372.5 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007525/0.413, allocations: 202.4 kB / 372.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007243/0.4138, allocations: 291.4 kB / 373 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005727/0.4144, allocations: 493.7 kB / 373.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001104/0.4155, allocations: 0.8028 MB / 374.2 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004233/0.4197, allocations: 2.34 MB / 376.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.311e-05/0.4198, allocations: 0.7969 kB / 376.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.386e-06/0.4198, allocations: 0.5 kB / 376.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001426/0.4199, allocations: 1.781 kB / 376.6 MB, free: 11.91 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.00498/0.4249, allocations: 1.932 MB / 378.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.425, allocations: 9.531 kB / 378.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.4261, allocations: 201.6 kB / 378.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/0.4278, allocations: 0.9128 MB / 379.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002367/0.428, allocations: 205 kB / 379.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000263/0.4283, allocations: 145.4 kB / 380 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003156/0.4315, allocations: 1.473 MB / 381.4 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.539e-05/0.4315, allocations: 4.312 kB / 381.5 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.4317, allocations: 61.08 kB / 381.5 MB, free: 9.578 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.853e-05/0.4318, allocations: 51.66 kB / 381.6 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/0.4338, allocations: 0.9771 MB / 382.5 MB, free: 9.199 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007135/0.441, allocations: 5.816 MB / 388.4 MB, free: 5.176 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.4427, allocations: 1.223 MB / 389.6 MB, free: 4.348 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007904/0.4436, allocations: 0.534 MB / 390.1 MB, free: 4.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-05/0.4436, allocations: 20.31 kB / 390.1 MB, free: 4.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001332/0.445, allocations: 0.8884 MB / 391 MB, free: 3.531 MB / 302.1 MB Notification: Performance of pre-optimization done (n=131): time 3.266e-06/0.445, allocations: 0 / 391 MB, free: 3.531 MB / 302.1 MB Notification: Performance of matching and sorting (n=131): time 0.003204/0.4482, allocations: 1.457 MB / 392.5 MB, free: 2.922 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002681/0.4485, allocations: 0.6057 MB / 393.1 MB, free: 2.223 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/0.4503, allocations: 0.961 MB / 394 MB, free: 1.789 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002175/0.4505, allocations: 116.8 kB / 394.2 MB, free: 1.711 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004264/0.4509, allocations: 0.5291 MB / 394.7 MB, free: 1.316 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002953/0.4512, allocations: 332.8 kB / 395 MB, free: 1.082 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006177/0.4518, allocations: 363.4 kB / 395.4 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.539e-05/0.4519, allocations: 301.7 kB / 395.7 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008739/0.4528, allocations: 470.4 kB / 396.1 MB, free: 420 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.4541, allocations: 0.9143 MB / 397 MB, free: 15.62 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002296/0.4564, allocations: 1.38 MB / 398.4 MB, free: 14.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.368e-05/0.4564, allocations: 2.75 kB / 398.4 MB, free: 14.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.003419/0.4598, allocations: 1.558 MB / 400 MB, free: 13.82 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.46, allocations: 102.1 kB / 400.1 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.961e-05/0.46, allocations: 12 kB / 400.1 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.342e-05/0.4601, allocations: 20.06 kB / 400.1 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007/0.4608, allocations: 185.3 kB / 400.3 MB, free: 13.69 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.685e-05/0.4608, allocations: 26.8 kB / 400.3 MB, free: 13.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009263/0.4617, allocations: 151.7 kB / 400.5 MB, free: 13.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.907e-05/0.4619, allocations: 66.5 kB / 400.5 MB, free: 13.57 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.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.001235/0.4631, allocations: 0.6359 MB / 401.2 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002632/0.4634, allocations: 112.8 kB / 401.3 MB, free: 13.06 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.4636, allocations: 115 kB / 401.4 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.4636, allocations: 12.97 kB / 401.4 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.538e-05/0.4637, allocations: 4.531 kB / 401.4 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/0.4637, allocations: 10.75 kB / 401.4 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004372/0.4681, allocations: 2.628 MB / 404 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.4681, allocations: 4.406 kB / 404 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000325/0.4684, allocations: 69.81 kB / 404.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.655e-05/0.4685, allocations: 8.844 kB / 404.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.212e-05/0.4686, allocations: 43.78 kB / 404.2 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.808e-06/0.4686, allocations: 9.062 kB / 404.2 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.4686, allocations: 2.812 kB / 404.2 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003313/0.4719, allocations: 1.858 MB / 406 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005612/0.4725, allocations: 299 kB / 406.3 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/0.4727, allocations: 62.81 kB / 406.4 MB, free: 9.816 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004055/0.4731, allocations: 41.66 kB / 406.4 MB, free: 9.797 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004004/0.4735, allocations: 152.2 kB / 406.6 MB, free: 9.703 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.4737, allocations: 43.98 kB / 406.6 MB, free: 9.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009563/0.4746, allocations: 0.6006 MB / 407.2 MB, free: 9.059 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4746, allocations: 0 / 407.2 MB, free: 9.059 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001478/0.4761, allocations: 339 kB / 407.6 MB, free: 8.727 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.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.001343/0.4775, allocations: 0.5498 MB / 408.1 MB, free: 8.336 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002387/0.4799, allocations: 1.46 MB / 409.6 MB, free: 6.895 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.4799, allocations: 4.375 kB / 409.6 MB, free: 6.891 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.481, allocations: 0.8465 MB / 410.4 MB, free: 6.035 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.482, allocations: 229.5 kB / 410.6 MB, free: 5.824 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/0.4858, allocations: 2.262 MB / 412.9 MB, free: 3.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008117/0.4866, allocations: 1.162 MB / 414.1 MB, free: 2.328 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006584/0.4873, allocations: 197.6 kB / 414.3 MB, free: 2.133 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000282/0.4876, allocations: 107.4 kB / 414.4 MB, free: 2.027 MB / 318.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4876, allocations: 0 / 414.4 MB, free: 2.027 MB / 318.1 MB Notification: Performance of Templates: time 0.02785/0.5154, allocations: 14.9 MB / 429.3 MB, free: 3.223 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 -s cvode -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