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.0007887/0.0007888, allocations: 90.11 kB / 16.65 MB, free: 6.535 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.000904/0.0009042, allocations: 175.5 kB / 17.56 MB, free: 6.18 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.573/1.573, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002553/0.0002553, allocations: 4.5 kB / 301.4 MB, free: 5.902 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1197, allocations: 50.4 MB / 351.8 MB, free: 3.484 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.00424/0.124, allocations: 3.545 MB / 355.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004694/0.1288, allocations: 2.599 MB / 358 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007482/0.1295, allocations: 27.88 kB / 358 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001277/0.1308, allocations: 0.4905 MB / 358.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009271/0.1318, allocations: 373.7 kB / 358.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002229/0.134, allocations: 0.9942 MB / 359.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002449/0.1365, allocations: 1.982 MB / 361.8 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/0.138, allocations: 1.015 MB / 362.8 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006519/0.1387, allocations: 0.525 MB / 363.4 MB, free: 7.887 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006456/0.1393, allocations: 0.5829 MB / 363.9 MB, free: 7.301 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.1395, allocations: 56 kB / 364 MB, free: 7.246 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003464/0.1398, allocations: 139.9 kB / 364.1 MB, free: 7.109 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003584/0.1402, allocations: 346.7 kB / 364.5 MB, free: 6.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006255/0.1408, allocations: 0.6348 MB / 365.1 MB, free: 6.125 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001955/0.1428, allocations: 2.04 MB / 367.2 MB, free: 4.078 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1428, allocations: 0 / 367.2 MB, free: 4.078 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1428, allocations: 0 / 367.2 MB, free: 4.078 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.007e-05/0.1429, allocations: 0 / 367.2 MB, free: 4.078 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.002686/0.1456, allocations: 1.567 MB / 368.7 MB, free: 2.391 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.1456, allocations: 8.031 kB / 368.7 MB, free: 2.383 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003401/0.146, allocations: 167 kB / 368.9 MB, free: 2.219 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.1474, allocations: 0.8959 MB / 369.8 MB, free: 1.277 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002587/0.1477, allocations: 200.7 kB / 370 MB, free: 1.062 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002219/0.1479, allocations: 143.9 kB / 370.1 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2664/0.4143, allocations: 1.492 MB / 371.6 MB, free: 23.44 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.552e-05/0.4144, allocations: 4.656 kB / 371.6 MB, free: 23.44 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001591/0.4146, allocations: 56.83 kB / 371.7 MB, free: 23.44 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.451e-05/0.4147, allocations: 47.44 kB / 371.7 MB, free: 23.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002836/0.4175, allocations: 0.9929 MB / 372.7 MB, free: 23.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00808/0.4256, allocations: 5.555 MB / 378.3 MB, free: 19.85 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/0.4276, allocations: 1.269 MB / 379.5 MB, free: 18.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008515/0.4285, allocations: 0.529 MB / 380.1 MB, free: 18.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/0.4287, allocations: 101.8 kB / 380.2 MB, free: 18.6 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001486/0.4302, allocations: 0.9028 MB / 381.1 MB, free: 18.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=133): time 3.968e-06/0.4302, allocations: 0 / 381.1 MB, free: 18.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=133): time 0.003795/0.434, allocations: 1.485 MB / 382.6 MB, free: 17.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002436/0.4343, allocations: 0.6078 MB / 383.2 MB, free: 16.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/0.436, allocations: 0.9314 MB / 384.1 MB, free: 16.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000267/0.4362, allocations: 111.6 kB / 384.2 MB, free: 16.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005975/0.4368, allocations: 0.5245 MB / 384.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004185/0.4373, allocations: 332.7 kB / 385.1 MB, free: 15.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003866/0.4377, allocations: 234.5 kB / 385.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.4378, allocations: 361.2 kB / 385.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.4388, allocations: 476.9 kB / 386.1 MB, free: 15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/0.4403, allocations: 0.9095 MB / 387 MB, free: 14.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002361/0.4427, allocations: 1.385 MB / 388.4 MB, free: 13.24 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.946e-05/0.4427, allocations: 7.094 kB / 388.4 MB, free: 13.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.003596/0.4463, allocations: 1.569 MB / 390 MB, free: 12.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.4465, allocations: 105.4 kB / 390.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.038e-05/0.4465, allocations: 12.25 kB / 390.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.904e-05/0.4466, allocations: 21.14 kB / 390.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007002/0.4473, allocations: 195.5 kB / 390.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.554e-05/0.4473, allocations: 29.19 kB / 390.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009816/0.4483, allocations: 155.2 kB / 390.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001818/0.4485, allocations: 75.27 kB / 390.5 MB, free: 12.29 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.00156/0.4501, allocations: 0.6315 MB / 391.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004207/0.4505, allocations: 114.2 kB / 391.3 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002776/0.4533, allocations: 1.203 MB / 392.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.898e-05/0.4534, allocations: 15.59 kB / 392.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/0.4534, allocations: 3.594 kB / 392.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.446e-05/0.4534, allocations: 10.12 kB / 392.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005305/0.4587, allocations: 2.74 MB / 395.3 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.4588, allocations: 5.203 kB / 395.3 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004015/0.4592, allocations: 81.27 kB / 395.3 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.838e-05/0.4592, allocations: 10.81 kB / 395.4 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/0.4593, allocations: 44.45 kB / 395.4 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.89e-05/0.4594, allocations: 6.875 kB / 395.4 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.4594, allocations: 1.375 kB / 395.4 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003349/0.4627, allocations: 1.916 MB / 397.3 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004715/0.4632, allocations: 313 kB / 397.6 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/0.4634, allocations: 57.23 kB / 397.7 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004003/0.4638, allocations: 60.64 kB / 397.7 MB, free: 7.922 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002991/0.4641, allocations: 145.2 kB / 397.9 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.607e-05/0.4642, allocations: 58.72 kB / 397.9 MB, free: 7.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008441/0.4651, allocations: 0.5771 MB / 398.5 MB, free: 7.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4651, allocations: 0 / 398.5 MB, free: 7.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001376/0.4665, allocations: 347.5 kB / 398.9 MB, free: 7.402 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.00121/0.4677, allocations: 0.5556 MB / 399.4 MB, free: 7.133 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002433/0.4702, allocations: 1.487 MB / 400.9 MB, free: 5.824 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.4702, allocations: 0 / 400.9 MB, free: 5.824 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.4713, allocations: 0.8734 MB / 401.8 MB, free: 4.914 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.4727, allocations: 207.4 kB / 402 MB, free: 4.715 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003824/0.4765, allocations: 2.72 MB / 404.7 MB, free: 1.945 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005676/0.4771, allocations: 1.162 MB / 405.9 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0007455/0.4779, allocations: 201.6 kB / 406.1 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002964/0.4782, allocations: 111.4 kB / 406.2 MB, free: 448 kB / 302.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4782, allocations: 0 / 406.2 MB, free: 448 kB / 302.1 MB Notification: Performance of Templates: time 0.03382/0.512, allocations: 14.38 MB / 420.5 MB, free: 2.137 MB / 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