Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.StateGraph.Examples.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0017/0.001701, allocations: 110.6 kB / 17.73 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001803/0.001802, allocations: 190.9 kB / 18.66 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 47.92 kB / 328.5 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1072, allocations: 46.62 MB / 375.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.006368/0.1136, allocations: 3.785 MB / 378.9 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2454/0.3591, allocations: 2.428 MB / 381.3 MB, free: 9.613 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009828/0.3602, allocations: 28.62 kB / 381.4 MB, free: 9.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001713/0.362, allocations: 0.5708 MB / 381.9 MB, free: 9.598 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.3632, allocations: 440.2 kB / 382.4 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003062/0.3663, allocations: 1.027 MB / 383.4 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00346/0.3698, allocations: 2.119 MB / 385.5 MB, free: 8.441 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001939/0.3717, allocations: 1.208 MB / 386.7 MB, free: 7.934 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008678/0.3726, allocations: 0.7009 MB / 387.4 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007462/0.3733, allocations: 0.714 MB / 388.1 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002461/0.3736, allocations: 194.9 kB / 388.3 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005223/0.3741, allocations: 286.3 kB / 388.6 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004122/0.3746, allocations: 471.6 kB / 389.1 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00059/0.3752, allocations: 0.7593 MB / 389.8 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00244/0.3776, allocations: 2.276 MB / 392.1 MB, free: 5.414 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3776, allocations: 0 / 392.1 MB, free: 5.414 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3776, allocations: 1.25 kB / 392.1 MB, free: 5.414 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.387e-05/0.3777, allocations: 0 / 392.1 MB, free: 5.414 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 313 * Number of variables: 313 Notification: Performance of Generate backend data structure: time 0.003004/0.3807, allocations: 1.83 MB / 393.9 MB, free: 4.078 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3807, allocations: 9 kB / 393.9 MB, free: 4.078 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003197/0.3811, allocations: 160.6 kB / 394.1 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.3823, allocations: 0.8925 MB / 395 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.3824, allocations: 195.9 kB / 395.2 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/0.3826, allocations: 141.6 kB / 395.3 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002362/0.385, allocations: 1.445 MB / 396.8 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/0.385, allocations: 5.281 kB / 396.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.3852, allocations: 55.73 kB / 396.8 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.568e-05/0.3852, allocations: 51.92 kB / 396.9 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.387, allocations: 0.97 MB / 397.8 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005738/0.3928, allocations: 5.441 MB / 403.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/0.3946, allocations: 1.087 MB / 404.4 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008614/0.3955, allocations: 461.1 kB / 404.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001698/0.3957, allocations: 98.27 kB / 404.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001134/0.3969, allocations: 0.6306 MB / 405.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of pre-optimization done (n=116): time 3.827e-06/0.3969, allocations: 0 / 405.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=116): time 0.002499/0.3994, allocations: 1.328 MB / 406.9 MB, free: 11.26 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001646/0.3996, allocations: 315.2 kB / 407.2 MB, free: 10.9 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.4009, allocations: 0.9453 MB / 408.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001633/0.4011, allocations: 95.72 kB / 408.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004428/0.4015, allocations: 0.5376 MB / 408.8 MB, free: 9.824 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/0.4018, allocations: 295.7 kB / 409.1 MB, free: 9.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004518/0.4022, allocations: 357.4 kB / 409.4 MB, free: 9.387 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.4024, allocations: 363.7 kB / 409.8 MB, free: 9.039 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008594/0.4033, allocations: 419.7 kB / 410.2 MB, free: 8.832 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.4045, allocations: 0.7989 MB / 411 MB, free: 8.148 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/0.4062, allocations: 1.198 MB / 412.2 MB, free: 7.172 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.4062, allocations: 2.438 kB / 412.2 MB, free: 7.172 MB / 334.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002617/0.4088, allocations: 1.418 MB / 413.6 MB, free: 6.418 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.724e-05/0.4089, allocations: 93.25 kB / 413.7 MB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-05/0.409, allocations: 10.03 kB / 413.7 MB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.856e-05/0.409, allocations: 17.5 kB / 413.7 MB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006359/0.4097, allocations: 174.7 kB / 413.9 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.374e-05/0.4097, allocations: 21.91 kB / 413.9 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007782/0.4105, allocations: 144.4 kB / 414 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.4106, allocations: 66.17 kB / 414.1 MB, free: 6.145 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 146 ($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.shut.table.combiTimeTable.nextTimeEvent,$whenCondition6,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition4,stateGraphRoot.activeSteps,valve3.valveControl,valve2.valveControl,shut.table.combiTimeTable.nextTimeEventScaled,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEvent,shut.table.y,shut.on,$PRE.shut.on,shut.reset[2],$PRE.shut.reset[2],shut.reset[1],$PRE.shut.reset[1],stop.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,stop.table.y,stop.on,$PRE.stop.on,stop.reset[2],$PRE.stop.reset[2],stop.reset[1],$PRE.stop.reset[1],start.table.combiTimeTable.nextTimeEventScaled,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEvent,start.table.y,start.on,$PRE.start.on,start.reset[2],$PRE.start.reset[2],start.reset[1],$PRE.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.makeProduct.stateGraphRoot.resume,tankController.makeProduct.stateGraphRoot.suspend,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,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,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 (194): * Single equations (assignments): 191 * 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.001059/0.4117, allocations: 0.5874 MB / 414.7 MB, free: 5.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.4119, allocations: 100.1 kB / 414.8 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/0.4138, allocations: 1.123 MB / 415.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.4139, allocations: 10.56 kB / 415.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.4139, allocations: 0 / 415.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.4139, allocations: 13.44 kB / 415.9 MB, free: 4.969 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004043/0.4179, allocations: 2.536 MB / 418.5 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.168e-06/0.418, allocations: 7.938 kB / 418.5 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003546/0.4183, allocations: 75.83 kB / 418.5 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/0.4184, allocations: 4 kB / 418.6 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.072e-05/0.4184, allocations: 31.97 kB / 418.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-05/0.4185, allocations: 4 kB / 418.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4185, allocations: 0 / 418.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002609/0.4211, allocations: 1.678 MB / 420.3 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003967/0.4215, allocations: 275.6 kB / 420.5 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/0.4217, allocations: 43.98 kB / 420.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003653/0.4221, allocations: 43.91 kB / 420.6 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002881/0.4224, allocations: 136.8 kB / 420.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.941e-05/0.4225, allocations: 48.05 kB / 420.8 MB, free: 472 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008061/0.4233, allocations: 0.5888 MB / 421.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4233, allocations: 0 / 421.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001264/0.4245, allocations: 315 kB / 421.7 MB, free: 15.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (tank1.level,tank2.level) * Number of discrete variables: 95 (tankController.makeProduct.stateGraphRoot.suspend,tankController.emptyTanks.active,tankController.s2.active,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait2.active,tankController.makeProduct.T2.enableFire,tankController.makeProduct.wait1.active,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.fillTank2.active,tankController.makeProduct.fillTank1.localActive,tankController.s1.active,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,tankController.s1.localActive,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.active,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,tankController.makeProduct.fillTank1.active,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.T1.localCondition,tankController.makeProduct.T1.enableFire,tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.T3.localCondition,tankController.makeProduct.T3.enableFire,tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.t_start,tankController.makeProduct.wait2.localActive,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.T3.enableFire,tankController.s2.localActive,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.localActive,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,stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,valve2.valveControl,valve3.valveControl,stateGraphRoot.activeSteps) * Number of discrete states: 30 (shut.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,tankController.s1.newActive,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait2.newActive,tankController.makeProduct.newActive,tankController.s2.newActive,tankController.emptyTanks.newActive,shut.table.combiTimeTable.nextTimeEventScaled,$whenCondition8,$whenCondition7,shut.on,shut.reset[1],shut.reset[2],stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition10,$whenCondition9,stop.on,stop.reset[1],stop.reset[2],start.table.combiTimeTable.nextTimeEventScaled,$whenCondition12,$whenCondition11,start.on,start.reset[1],start.reset[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 16 * 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.001526/0.4261, allocations: 0.5374 MB / 422.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002231/0.4283, allocations: 1.272 MB / 423.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4283, allocations: 0 / 423.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008303/0.4292, allocations: 0.6677 MB / 424.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009279/0.4301, allocations: 222.9 kB / 424.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003967/0.4341, allocations: 2.088 MB / 426.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008413/0.435, allocations: 1.15 MB / 427.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007049/0.4357, allocations: 201.2 kB / 427.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002807/0.436, allocations: 115.3 kB / 427.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of SimCode: time 8.61e-07/0.436, allocations: 0 / 427.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of Templates: time 0.02617/0.4621, allocations: 14.4 MB / 442.3 MB, free: 10.78 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks.makefile (rm -f Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks.sim & ./Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/StateGraph/Examples/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches