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.001176/0.001177, allocations: 117.6 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001227/0.001227, allocations: 204.7 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.601/1.601, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 59.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4306, allocations: 50.54 MB / 409.2 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.00721/0.4378, allocations: 3.901 MB / 413.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006249/0.4442, allocations: 2.717 MB / 415.8 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001652/0.4459, allocations: 23.88 kB / 415.9 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001899/0.4479, allocations: 0.575 MB / 416.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001764/0.4496, allocations: 485.5 kB / 416.9 MB, free: 9.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003097/0.4528, allocations: 0.9863 MB / 417.9 MB, free: 8.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003467/0.4562, allocations: 2.192 MB / 420.1 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002198/0.4585, allocations: 1.244 MB / 421.3 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009865/0.4594, allocations: 0.7359 MB / 422.1 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007966/0.4603, allocations: 0.7313 MB / 422.8 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000239/0.4605, allocations: 204 kB / 423 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005298/0.461, allocations: 287.9 kB / 423.3 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004894/0.4615, allocations: 0.4986 MB / 423.8 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007636/0.4623, allocations: 0.7931 MB / 424.6 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002531/0.4649, allocations: 2.365 MB / 426.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.4649, allocations: 0 / 426.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.4649, allocations: 0 / 426.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.219e-05/0.4649, allocations: 0 / 426.9 MB, free: 15.78 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.003347/0.4683, allocations: 1.929 MB / 428.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.4683, allocations: 8.031 kB / 428.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009601/0.4693, allocations: 206.9 kB / 429.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.4706, allocations: 0.9153 MB / 430 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/0.4708, allocations: 204.7 kB / 430.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/0.471, allocations: 143.9 kB / 430.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002375/0.4734, allocations: 1.476 MB / 431.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.4734, allocations: 0 / 431.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.4735, allocations: 59.98 kB / 431.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.599e-05/0.4736, allocations: 50.12 kB / 431.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.4753, allocations: 0.9805 MB / 432.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006515/0.4818, allocations: 5.817 MB / 438.7 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.4836, allocations: 1.221 MB / 439.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007582/0.4844, allocations: 0.5258 MB / 440.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.055e-05/0.4845, allocations: 17 kB / 440.5 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001233/0.4857, allocations: 0.8855 MB / 441.4 MB, free: 0.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=131): time 3.045e-06/0.4857, allocations: 0 / 441.4 MB, free: 0.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=131): time 0.002599/0.4883, allocations: 1.453 MB / 442.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003452/0.4887, allocations: 0.6087 MB / 443.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.49, allocations: 0.9722 MB / 444.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001553/0.4901, allocations: 109.7 kB / 444.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004387/0.4906, allocations: 0.5243 MB / 445 MB, free: 12.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003139/0.4909, allocations: 335.8 kB / 445.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005627/0.4915, allocations: 367.4 kB / 445.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.4916, allocations: 305.1 kB / 446 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008063/0.4924, allocations: 463.8 kB / 446.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/0.4936, allocations: 0.9234 MB / 447.4 MB, free: 10.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001963/0.4955, allocations: 1.378 MB / 448.8 MB, free: 8.645 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/0.4956, allocations: 4 kB / 448.8 MB, free: 8.641 MB / 366.1 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.002621/0.4982, allocations: 1.555 MB / 450.3 MB, free: 7.062 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.587e-05/0.4983, allocations: 109 kB / 450.4 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.4983, allocations: 12 kB / 450.4 MB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.398e-05/0.4984, allocations: 20 kB / 450.5 MB, free: 6.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006224/0.499, allocations: 179.5 kB / 450.6 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.215e-05/0.4991, allocations: 28.48 kB / 450.7 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006787/0.4997, allocations: 150.6 kB / 450.8 MB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.886e-05/0.4999, allocations: 67.98 kB / 450.9 MB, free: 6.488 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.0009856/0.5008, allocations: 0.6454 MB / 451.5 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/0.5011, allocations: 107.1 kB / 451.6 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002192/0.5013, allocations: 114 kB / 451.7 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.5013, allocations: 16 kB / 451.8 MB, free: 5.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/0.5013, allocations: 3.938 kB / 451.8 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.825e-05/0.5014, allocations: 7.984 kB / 451.8 MB, free: 5.559 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005467/0.5068, allocations: 2.623 MB / 454.4 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/0.5069, allocations: 4 kB / 454.4 MB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004559/0.5074, allocations: 79.77 kB / 454.5 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.652e-05/0.5074, allocations: 4 kB / 454.5 MB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-05/0.5075, allocations: 39.91 kB / 454.5 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.439e-05/0.5075, allocations: 12 kB / 454.5 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.5075, allocations: 0 / 454.5 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00451/0.512, allocations: 1.861 MB / 456.4 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008775/0.5129, allocations: 295.5 kB / 456.7 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004247/0.5134, allocations: 59.98 kB / 456.7 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007389/0.5141, allocations: 47.95 kB / 456.8 MB, free: 396 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005066/0.5147, allocations: 136.9 kB / 456.9 MB, free: 260 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001805/0.5149, allocations: 51.91 kB / 457 MB, free: 208 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001472/0.5164, allocations: 0.5967 MB / 457.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5164, allocations: 0 / 457.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001798/0.5182, allocations: 347 kB / 457.9 MB, free: 15.27 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.002004/0.5202, allocations: 0.5508 MB / 458.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004138/0.5243, allocations: 1.459 MB / 459.9 MB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.5244, allocations: 4.125 kB / 459.9 MB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001853/0.5262, allocations: 0.8434 MB / 460.8 MB, free: 12.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002037/0.5283, allocations: 233.4 kB / 461 MB, free: 12.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007076/0.5354, allocations: 2.258 MB / 463.3 MB, free: 9.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001519/0.537, allocations: 1.166 MB / 464.4 MB, free: 8.734 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001189/0.5382, allocations: 197.6 kB / 464.6 MB, free: 8.539 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005649/0.5388, allocations: 99.42 kB / 464.7 MB, free: 8.441 MB / 382.1 MB Notification: Performance of SimCode: time 1.473e-06/0.5388, allocations: 0 / 464.7 MB, free: 8.441 MB / 382.1 MB Notification: Performance of Templates: time 0.03975/0.5786, allocations: 15.12 MB / 479.8 MB, free: 9.387 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/StateGraph/Examples/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches