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.001409/0.001408, 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.001508/0.001508, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.646/1.646, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 59.91 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3673, allocations: 50.54 MB / 409.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.006975/0.3743, allocations: 3.9 MB / 413.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006266/0.3807, allocations: 2.713 MB / 415.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/0.3821, allocations: 27.88 kB / 415.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001946/0.3841, allocations: 0.5638 MB / 416.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001995/0.3861, allocations: 489.5 kB / 416.9 MB, free: 9.898 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003172/0.3893, allocations: 0.9897 MB / 417.9 MB, free: 8.914 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004638/0.3939, allocations: 2.196 MB / 420.1 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002401/0.3964, allocations: 1.248 MB / 421.3 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001441/0.3979, allocations: 0.732 MB / 422.1 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001549/0.3994, allocations: 0.7351 MB / 422.8 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005691/0.4, allocations: 204 kB / 423 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007415/0.4008, allocations: 287.9 kB / 423.3 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005288/0.4013, allocations: 0.4948 MB / 423.8 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.4024, allocations: 0.7892 MB / 424.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003637/0.406, allocations: 2.37 MB / 426.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/0.4061, allocations: 4 kB / 426.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.4061, allocations: 0 / 426.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.838e-05/0.4062, allocations: 3.938 kB / 426.9 MB, free: 15.82 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.004718/0.4109, allocations: 1.967 MB / 428.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.411, allocations: 12.03 kB / 428.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.412, allocations: 215.8 kB / 429.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.4135, allocations: 0.9237 MB / 430.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001954/0.4137, allocations: 200.7 kB / 430.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002009/0.4139, allocations: 147.9 kB / 430.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0027/0.4166, allocations: 1.472 MB / 431.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.597e-05/0.4167, allocations: 7.938 kB / 431.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.4168, allocations: 52 kB / 431.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-05/0.4169, allocations: 54.17 kB / 432 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002223/0.4192, allocations: 0.9727 MB / 433 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008998/0.4282, allocations: 5.827 MB / 438.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001991/0.4302, allocations: 1.224 MB / 440 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007701/0.431, allocations: 0.5213 MB / 440.5 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.856e-05/0.4311, allocations: 28.92 kB / 440.6 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001232/0.4323, allocations: 0.8933 MB / 441.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=131): time 3.176e-06/0.4323, allocations: 0 / 441.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of matching and sorting (n=131): time 0.002785/0.4351, allocations: 1.454 MB / 442.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003554/0.4355, allocations: 0.6077 MB / 443.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.4369, allocations: 0.9649 MB / 444.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001892/0.4371, allocations: 114.4 kB / 444.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004848/0.4376, allocations: 0.5295 MB / 445.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003522/0.438, allocations: 353.4 kB / 445.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005272/0.4385, allocations: 371.5 kB / 445.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.4387, allocations: 301.1 kB / 446.1 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008244/0.4395, allocations: 467.7 kB / 446.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.4408, allocations: 0.9234 MB / 447.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001915/0.4427, allocations: 1.374 MB / 448.9 MB, free: 8.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.4427, allocations: 12 kB / 448.9 MB, free: 8.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.002555/0.4453, allocations: 1.557 MB / 450.4 MB, free: 6.996 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.173e-05/0.4454, allocations: 105.1 kB / 450.5 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/0.4454, allocations: 12 kB / 450.6 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.622e-05/0.4455, allocations: 20 kB / 450.6 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006112/0.4461, allocations: 175.5 kB / 450.7 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.405e-05/0.4461, allocations: 27.92 kB / 450.8 MB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007502/0.4469, allocations: 155 kB / 450.9 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.447, allocations: 72.22 kB / 451 MB, free: 6.422 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.001033/0.4481, allocations: 0.6415 MB / 451.6 MB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002813/0.4483, allocations: 119.3 kB / 451.8 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003175/0.4487, allocations: 118 kB / 451.9 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.4487, allocations: 12 kB / 451.9 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.557e-05/0.4487, allocations: 4 kB / 451.9 MB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/0.4487, allocations: 7.969 kB / 451.9 MB, free: 5.484 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004497/0.4532, allocations: 2.623 MB / 454.5 MB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.4533, allocations: 0 / 454.5 MB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003433/0.4536, allocations: 83.7 kB / 454.6 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.637e-05/0.4536, allocations: 8 kB / 454.6 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-05/0.4537, allocations: 31.97 kB / 454.6 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/0.4538, allocations: 8 kB / 454.6 MB, free: 2.656 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.4538, allocations: 4 kB / 454.6 MB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003169/0.4569, allocations: 1.873 MB / 456.5 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005809/0.4576, allocations: 300 kB / 456.8 MB, free: 416 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002804/0.4578, allocations: 55.98 kB / 456.9 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005147/0.4584, allocations: 47.95 kB / 456.9 MB, free: 312 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003619/0.4587, allocations: 136.9 kB / 457.1 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.4589, allocations: 47.97 kB / 457.1 MB, free: 128 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001137/0.46, allocations: 0.6005 MB / 457.7 MB, free: 15.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.46, allocations: 0 / 457.7 MB, free: 15.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001597/0.4616, allocations: 351.2 kB / 458 MB, free: 15.18 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.001471/0.4631, allocations: 0.5497 MB / 458.6 MB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002645/0.4658, allocations: 1.462 MB / 460.1 MB, free: 13.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.381e-06/0.4658, allocations: 0 / 460.1 MB, free: 13.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.467, allocations: 0.8559 MB / 460.9 MB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.4682, allocations: 231 kB / 461.1 MB, free: 12.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004669/0.4729, allocations: 2.286 MB / 463.4 MB, free: 9.809 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/0.474, allocations: 1.174 MB / 464.6 MB, free: 8.605 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008056/0.4748, allocations: 193.6 kB / 464.8 MB, free: 8.414 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003791/0.4752, allocations: 103.9 kB / 464.9 MB, free: 8.312 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4752, allocations: 0 / 464.9 MB, free: 8.312 MB / 382.1 MB Notification: Performance of Templates: time 0.03317/0.5084, allocations: 15.11 MB / 480 MB, free: 9.258 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