Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001278/0.001278, allocations: 109.2 kB / 16.63 MB, free: 6.816 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.00137/0.00137, allocations: 189.8 kB / 17.55 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 241.2 MB, free: 13.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001039/0.001039, allocations: 47.89 kB / 300.1 MB, free: 6.012 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1125, allocations: 49.45 MB / 349.6 MB, free: 4.562 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.005543/0.1181, allocations: 3.982 MB / 353.5 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004495/0.1226, allocations: 2.615 MB / 356.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006283/0.1233, allocations: 27.88 kB / 356.2 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00156/0.1248, allocations: 0.4983 MB / 356.7 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009141/0.1258, allocations: 374.6 kB / 357.1 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002295/0.1281, allocations: 0.9965 MB / 358.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002199/0.1303, allocations: 2.15 MB / 360.2 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001553/0.1318, allocations: 1.24 MB / 361.4 MB, free: 8.617 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000819/0.1327, allocations: 0.7203 MB / 362.2 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007311/0.1334, allocations: 0.7391 MB / 362.9 MB, free: 7.152 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002278/0.1337, allocations: 200 kB / 363.1 MB, free: 6.957 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004302/0.1341, allocations: 283.9 kB / 363.4 MB, free: 6.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004656/0.1346, allocations: 0.4908 MB / 363.9 MB, free: 6.188 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007158/0.1353, allocations: 0.7932 MB / 364.7 MB, free: 5.391 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002187/0.1375, allocations: 2.255 MB / 366.9 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.1375, allocations: 4 kB / 366.9 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1375, allocations: 0 / 366.9 MB, free: 3.125 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.55e-05/0.1376, allocations: 0 / 366.9 MB, free: 3.125 MB / 302.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.002896/0.1405, allocations: 1.906 MB / 368.8 MB, free: 1.102 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.1405, allocations: 12.03 kB / 368.8 MB, free: 1.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003284/0.1408, allocations: 159.1 kB / 369 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2401/0.381, allocations: 0.9053 MB / 369.9 MB, free: 24.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000347/0.3814, allocations: 203.8 kB / 370.1 MB, free: 24.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005068/0.3819, allocations: 143.4 kB / 370.2 MB, free: 24.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003034/0.385, allocations: 1.489 MB / 371.7 MB, free: 24.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/0.385, allocations: 3.844 kB / 371.7 MB, free: 24.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.3851, allocations: 56.66 kB / 371.8 MB, free: 24.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-05/0.3852, allocations: 47.08 kB / 371.8 MB, free: 24.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/0.3872, allocations: 0.9877 MB / 372.8 MB, free: 23.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006438/0.3937, allocations: 5.555 MB / 378.4 MB, free: 20.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.3955, allocations: 1.26 MB / 379.6 MB, free: 19.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007688/0.3963, allocations: 0.522 MB / 380.2 MB, free: 18.95 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000124/0.3964, allocations: 100.1 kB / 380.2 MB, free: 18.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001318/0.3978, allocations: 0.9081 MB / 381.2 MB, free: 18.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=133): time 3.397e-06/0.3978, allocations: 1.062 kB / 381.2 MB, free: 18.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=133): time 0.002787/0.4006, allocations: 1.481 MB / 382.6 MB, free: 17.67 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002292/0.4008, allocations: 0.6147 MB / 383.3 MB, free: 16.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/0.4024, allocations: 0.9274 MB / 384.2 MB, free: 16.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001922/0.4026, allocations: 115.2 kB / 384.3 MB, free: 16.47 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004647/0.403, allocations: 0.5205 MB / 384.8 MB, free: 16.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003014/0.4033, allocations: 333.5 kB / 385.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006272/0.404, allocations: 380 kB / 385.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.4041, allocations: 361.1 kB / 385.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009653/0.4051, allocations: 475.5 kB / 386.3 MB, free: 15.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/0.4064, allocations: 0.9177 MB / 387.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001912/0.4083, allocations: 1.383 MB / 388.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.4083, allocations: 2.594 kB / 388.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002796/0.4111, allocations: 1.573 MB / 390.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.4113, allocations: 103.8 kB / 390.3 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.847e-05/0.4113, allocations: 12.48 kB / 390.3 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.381e-05/0.4113, allocations: 21.81 kB / 390.3 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006361/0.412, allocations: 186.7 kB / 390.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.194e-05/0.412, allocations: 30.27 kB / 390.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006569/0.4127, allocations: 155.6 kB / 390.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/0.4128, allocations: 79.59 kB / 390.8 MB, free: 12.47 MB / 302.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: 180 ($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.shut.table.combiTimeTable.nextTimeEvent,$whenCondition6,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition4,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.condition,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.condition,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.condition,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.condition,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,$whenCondition1,$whenCondition2,$whenCondition3,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],$whenCondition12,$whenCondition10,$whenCondition11,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],$whenCondition15,$whenCondition13,$whenCondition14,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 (214): * Single equations (assignments): 211 * 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.0009105/0.4137, allocations: 0.6383 MB / 391.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002135/0.414, allocations: 110.2 kB / 391.5 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001873/0.4158, allocations: 1.202 MB / 392.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.4159, allocations: 13.69 kB / 392.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.4159, allocations: 5.766 kB / 392.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.624e-05/0.4159, allocations: 11.7 kB / 392.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004708/0.4206, allocations: 2.727 MB / 395.5 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.4207, allocations: 1.375 kB / 395.5 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003972/0.4211, allocations: 85.25 kB / 395.6 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.96e-05/0.4211, allocations: 10.88 kB / 395.6 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.937e-05/0.4212, allocations: 40.47 kB / 395.6 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-05/0.4212, allocations: 5.5 kB / 395.6 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.4212, allocations: 2.75 kB / 395.6 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003033/0.4243, allocations: 1.919 MB / 397.5 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00031/0.4246, allocations: 295.5 kB / 397.8 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.4248, allocations: 59.98 kB / 397.9 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003748/0.4252, allocations: 48.03 kB / 397.9 MB, free: 7.941 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002781/0.4255, allocations: 156.7 kB / 398.1 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.343e-05/0.4255, allocations: 55.64 kB / 398.2 MB, free: 7.738 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006012/0.4262, allocations: 0.5847 MB / 398.7 MB, free: 7.156 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4262, allocations: 0 / 398.7 MB, free: 7.156 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001503/0.4277, allocations: 341.7 kB / 399.1 MB, free: 6.824 MB / 302.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: 112 (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.makeProduct.stateGraphRoot.suspend,tankController.emptyTanks.localActive,tankController.s2.localActive,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait2.localActive,tankController.makeProduct.T2.enableFire,tankController.makeProduct.wait1.localActive,tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank1.localActive,tankController.s1.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition14,$whenCondition13,$whenCondition15,tankController.s1.active,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.condition,tankController.makeProduct.T1.enableFire,tankController.makeProduct.fillTank2.active,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.T3.condition,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.condition,tankController.T2.enableFire,tankController.T3.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.condition,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 (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,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition12,stop.on,$whenCondition11,$whenCondition10,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition15,start.on,$whenCondition14,$whenCondition13,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 (123): * Single equations (assignments): 96 * 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.001326/0.429, allocations: 0.5589 MB / 399.6 MB, free: 6.426 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003306/0.4323, allocations: 1.659 MB / 401.3 MB, free: 4.746 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.4323, allocations: 0 / 401.3 MB, free: 4.746 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008837/0.4332, allocations: 0.8669 MB / 402.2 MB, free: 3.844 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009955/0.4342, allocations: 229.8 kB / 402.4 MB, free: 3.629 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/0.4375, allocations: 2.692 MB / 405.1 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000606/0.4381, allocations: 1.162 MB / 406.2 MB, free: 15.69 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006471/0.4388, allocations: 205.6 kB / 406.4 MB, free: 15.48 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000303/0.4391, allocations: 115.4 kB / 406.5 MB, free: 15.37 MB / 318.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4391, allocations: 0 / 406.5 MB, free: 15.37 MB / 318.1 MB Notification: Performance of Templates: time 0.02718/0.4663, allocations: 15.21 MB / 421.8 MB, free: 252 kB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.makefile (rm -f Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.sim & ./Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches