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.001394/0.001394, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001839/0.001839, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.587/1.587, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 59.91 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3757, allocations: 50.55 MB / 409.2 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.005325/0.3811, allocations: 3.894 MB / 413.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004733/0.3859, allocations: 2.713 MB / 415.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006666/0.3866, allocations: 23.88 kB / 415.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.388, allocations: 0.5638 MB / 416.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001132/0.3891, allocations: 0.4937 MB / 416.9 MB, free: 9.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002298/0.3914, allocations: 0.9937 MB / 417.9 MB, free: 8.887 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002802/0.3943, allocations: 2.192 MB / 420.1 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001862/0.3961, allocations: 1.244 MB / 421.3 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008035/0.3969, allocations: 0.7359 MB / 422.1 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007777/0.3977, allocations: 0.7352 MB / 422.8 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002297/0.398, allocations: 200 kB / 423 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005344/0.3985, allocations: 295.9 kB / 423.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004561/0.399, allocations: 498.6 kB / 423.8 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007036/0.3997, allocations: 0.8087 MB / 424.6 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002704/0.4024, allocations: 2.361 MB / 427 MB, free: 15.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.317e-05/0.4024, allocations: 4 kB / 427 MB, free: 15.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.4025, allocations: 0 / 427 MB, free: 15.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.431e-05/0.4025, allocations: 0 / 427 MB, free: 15.79 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.003178/0.4057, allocations: 1.929 MB / 428.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.4057, allocations: 12.03 kB / 428.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009177/0.4067, allocations: 206.9 kB / 429.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.4079, allocations: 0.9037 MB / 430 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/0.4081, allocations: 204.7 kB / 430.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.4083, allocations: 155.9 kB / 430.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002352/0.4106, allocations: 1.468 MB / 431.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/0.4107, allocations: 3.938 kB / 431.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.4108, allocations: 52 kB / 431.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.303e-05/0.4108, allocations: 50.17 kB / 431.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.4125, allocations: 0.9765 MB / 432.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00626/0.4188, allocations: 5.818 MB / 438.7 MB, free: 3.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/0.4205, allocations: 1.228 MB / 440 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007586/0.4213, allocations: 0.5297 MB / 440.5 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.209e-05/0.4214, allocations: 16.94 kB / 440.5 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001234/0.4226, allocations: 0.8855 MB / 441.4 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=131): time 3.186e-06/0.4226, allocations: 0 / 441.4 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of matching and sorting (n=131): time 0.002564/0.4252, allocations: 1.457 MB / 442.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003085/0.4255, allocations: 0.601 MB / 443.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.4268, allocations: 0.9644 MB / 444.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001609/0.4269, allocations: 117.7 kB / 444.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004401/0.4274, allocations: 0.5321 MB / 445.1 MB, free: 12.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/0.4277, allocations: 331.8 kB / 445.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004649/0.4282, allocations: 363.5 kB / 445.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.768e-05/0.4283, allocations: 301.1 kB / 446 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000801/0.4291, allocations: 471.8 kB / 446.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.4303, allocations: 0.9117 MB / 447.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001918/0.4322, allocations: 1.382 MB / 448.8 MB, free: 8.664 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/0.4322, allocations: 4 kB / 448.8 MB, free: 8.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.002583/0.4348, allocations: 1.559 MB / 450.3 MB, free: 7.074 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.605e-05/0.4349, allocations: 101.1 kB / 450.4 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/0.4349, allocations: 12 kB / 450.5 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.628e-05/0.435, allocations: 20 kB / 450.5 MB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005674/0.4356, allocations: 179.5 kB / 450.7 MB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.558e-05/0.4356, allocations: 31.86 kB / 450.7 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006092/0.4362, allocations: 151.1 kB / 450.8 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.4363, allocations: 68 kB / 450.9 MB, free: 6.504 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.0008978/0.4372, allocations: 0.6377 MB / 451.5 MB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.4375, allocations: 106.8 kB / 451.6 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002125/0.4377, allocations: 114 kB / 451.7 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/0.4377, allocations: 16 kB / 451.8 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/0.4377, allocations: 4 kB / 451.8 MB, free: 5.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.119e-05/0.4377, allocations: 11.97 kB / 451.8 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003883/0.4416, allocations: 2.63 MB / 454.4 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.4417, allocations: 4 kB / 454.4 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003151/0.442, allocations: 71.78 kB / 454.5 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/0.442, allocations: 4 kB / 454.5 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.713e-05/0.4421, allocations: 39.97 kB / 454.5 MB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.4421, allocations: 8 kB / 454.5 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.4421, allocations: 11.92 kB / 454.5 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002666/0.4448, allocations: 1.853 MB / 456.4 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003743/0.4452, allocations: 295.5 kB / 456.7 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.4454, allocations: 64.19 kB / 456.8 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003533/0.4457, allocations: 39.97 kB / 456.8 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003126/0.446, allocations: 144.9 kB / 456.9 MB, free: 276 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.052e-05/0.4461, allocations: 55.92 kB / 457 MB, free: 220 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007644/0.4469, allocations: 0.6006 MB / 457.6 MB, free: 15.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4469, allocations: 0 / 457.6 MB, free: 15.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001122/0.448, allocations: 343 kB / 457.9 MB, free: 15.28 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.001264/0.4493, allocations: 0.542 MB / 458.5 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002355/0.4517, allocations: 1.463 MB / 459.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.4517, allocations: 320 / 459.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.4529, allocations: 0.8434 MB / 460.8 MB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.4539, allocations: 243.2 kB / 461 MB, free: 12.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/0.4581, allocations: 2.258 MB / 463.3 MB, free: 9.945 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009049/0.459, allocations: 1.166 MB / 464.4 MB, free: 8.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006057/0.4596, allocations: 193.6 kB / 464.6 MB, free: 8.559 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000282/0.4599, allocations: 103.4 kB / 464.7 MB, free: 8.457 MB / 382.1 MB Notification: Performance of SimCode: time 2.725e-06/0.4599, allocations: 4 kB / 464.7 MB, free: 8.453 MB / 382.1 MB Notification: Performance of Templates: time 0.03272/0.4926, allocations: 15.11 MB / 479.8 MB, free: 9.402 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