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.001146/0.001146, allocations: 113.4 kB / 17.73 MB, free: 5.355 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.001116/0.001116, allocations: 180.1 kB / 18.66 MB, free: 4.438 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.548/1.548, allocations: 205.1 MB / 224.5 MB, free: 12.29 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.001257/0.001257, allocations: 51.92 kB / 328.5 MB, free: 3.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09985/0.1011, allocations: 46.61 MB / 375.1 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.005344/0.1065, allocations: 3.792 MB / 378.9 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2359/0.3425, allocations: 2.432 MB / 381.3 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008929/0.3434, allocations: 28.09 kB / 381.4 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.3452, allocations: 0.5675 MB / 381.9 MB, free: 9.621 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.3469, allocations: 430.3 kB / 382.4 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003087/0.35, allocations: 1.022 MB / 383.4 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003887/0.3539, allocations: 2.116 MB / 385.5 MB, free: 8.469 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002268/0.3562, allocations: 1.209 MB / 386.7 MB, free: 7.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.3574, allocations: 0.6998 MB / 387.4 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.3584, allocations: 0.7076 MB / 388.1 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003566/0.3588, allocations: 195.8 kB / 388.3 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006722/0.3594, allocations: 291.2 kB / 388.6 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004903/0.3599, allocations: 470.8 kB / 389 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007313/0.3607, allocations: 0.7566 MB / 389.8 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003028/0.3637, allocations: 2.278 MB / 392.1 MB, free: 5.438 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.3638, allocations: 0.75 kB / 392.1 MB, free: 5.438 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3638, allocations: 0 / 392.1 MB, free: 5.438 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.1e-05/0.3639, allocations: 0 / 392.1 MB, free: 5.438 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.004232/0.3681, allocations: 1.88 MB / 394 MB, free: 4.047 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.3682, allocations: 10.22 kB / 394 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004723/0.3687, allocations: 164.4 kB / 394.1 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.3701, allocations: 0.9003 MB / 395 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001641/0.3703, allocations: 196.8 kB / 395.2 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.3705, allocations: 146.5 kB / 395.4 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002651/0.3731, allocations: 1.449 MB / 396.8 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/0.3732, allocations: 1.094 kB / 396.8 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.3733, allocations: 56.97 kB / 396.9 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-05/0.3734, allocations: 50.91 kB / 396.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001901/0.3753, allocations: 0.9686 MB / 397.9 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006664/0.382, allocations: 5.446 MB / 403.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001859/0.3839, allocations: 1.085 MB / 404.4 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007501/0.3847, allocations: 465.3 kB / 404.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001559/0.3848, allocations: 92.58 kB / 405 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001086/0.3859, allocations: 0.6316 MB / 405.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of pre-optimization done (n=116): time 3.707e-06/0.3859, allocations: 1.281 kB / 405.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=116): time 0.002768/0.3887, allocations: 1.332 MB / 406.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000194/0.3889, allocations: 315.1 kB / 407.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/0.3905, allocations: 0.953 MB / 408.2 MB, free: 10.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001871/0.3907, allocations: 92.97 kB / 408.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005319/0.3912, allocations: 0.5514 MB / 408.8 MB, free: 9.777 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003186/0.3915, allocations: 307.4 kB / 409.1 MB, free: 9.531 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000556/0.3921, allocations: 350.3 kB / 409.5 MB, free: 9.336 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.3923, allocations: 371.7 kB / 409.8 MB, free: 8.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008691/0.3932, allocations: 415.3 kB / 410.2 MB, free: 8.777 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.3944, allocations: 0.8025 MB / 411 MB, free: 8.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001838/0.3962, allocations: 1.194 MB / 412.2 MB, free: 7.117 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.3962, allocations: 6.25 kB / 412.2 MB, free: 7.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002686/0.3989, allocations: 1.422 MB / 413.7 MB, free: 6.359 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.441e-05/0.399, allocations: 97.12 kB / 413.8 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.3991, allocations: 10.34 kB / 413.8 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.593e-05/0.3991, allocations: 16.28 kB / 413.8 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006092/0.3997, allocations: 172.3 kB / 414 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.155e-05/0.3998, allocations: 26.02 kB / 414 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009905/0.4008, allocations: 154.6 kB / 414.1 MB, free: 6.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/0.4009, allocations: 70.14 kB / 414.2 MB, free: 6.066 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.001168/0.4021, allocations: 0.5778 MB / 414.8 MB, free: 5.609 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002748/0.4024, allocations: 105 kB / 414.9 MB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/0.4045, allocations: 1.124 MB / 416 MB, free: 4.906 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.4045, allocations: 11 kB / 416 MB, free: 4.906 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.4045, allocations: 0 / 416 MB, free: 4.906 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/0.4046, allocations: 15.84 kB / 416 MB, free: 4.891 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004209/0.4088, allocations: 2.543 MB / 418.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.4088, allocations: 0 / 418.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003472/0.4092, allocations: 75.83 kB / 418.7 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.4092, allocations: 4 kB / 418.7 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.048e-05/0.4093, allocations: 35.97 kB / 418.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.988e-06/0.4093, allocations: 4 kB / 418.7 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4093, allocations: 3.938 kB / 418.7 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002759/0.4121, allocations: 1.668 MB / 420.4 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005752/0.4126, allocations: 292.1 kB / 420.7 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/0.4128, allocations: 39.98 kB / 420.7 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/0.4132, allocations: 39.97 kB / 420.7 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003532/0.4136, allocations: 136.8 kB / 420.9 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.767e-05/0.4137, allocations: 47.91 kB / 420.9 MB, free: 396 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008997/0.4146, allocations: 0.5889 MB / 421.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4146, allocations: 0 / 421.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001272/0.4159, allocations: 323.2 kB / 421.8 MB, free: 15.48 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.001229/0.4171, allocations: 0.5378 MB / 422.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002204/0.4193, allocations: 1.272 MB / 423.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.4193, allocations: 0 / 423.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008951/0.4202, allocations: 0.6677 MB / 424.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.4213, allocations: 214.4 kB / 424.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003936/0.4253, allocations: 2.126 MB / 426.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008265/0.4261, allocations: 1.15 MB / 427.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007315/0.4269, allocations: 193.2 kB / 428 MB, free: 9.199 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003098/0.4272, allocations: 111.4 kB / 428.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of SimCode: time 3.076e-06/0.4272, allocations: 3.938 kB / 428.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of Templates: time 0.03828/0.4655, allocations: 14.41 MB / 442.5 MB, free: 10.67 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