Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank2.level|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.makeProduct.T1.enableFire|tankController.makeProduct.T2.enableFire|tankController.makeProduct.T3.enableFire|tankController.makeProduct.T4.enableFire",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.StateGraph.Examples.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001464/0.001464, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001868/0.001868, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.437/1.437, allocations: 227.7 MB / 247.7 MB, free: 10.32 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 64.98 kB / 307.9 MB, free: 0.5039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0982/0.1001, allocations: 50.54 MB / 358.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.005929/0.1061, allocations: 3.888 MB / 362.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004746/0.1109, allocations: 2.728 MB / 365 MB, free: 7.297 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004465/0.1114, allocations: 27.88 kB / 365.1 MB, free: 7.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.1127, allocations: 0.571 MB / 365.6 MB, free: 6.699 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001074/0.1138, allocations: 485.5 kB / 366.1 MB, free: 6.223 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001994/0.1158, allocations: 0.9863 MB / 367.1 MB, free: 5.238 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002704/0.1185, allocations: 2.177 MB / 369.3 MB, free: 3.055 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001661/0.1202, allocations: 1.244 MB / 370.5 MB, free: 1.789 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009039/0.1211, allocations: 0.7203 MB / 371.2 MB, free: 1.066 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008967/0.122, allocations: 0.743 MB / 372 MB, free: 328 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002668/0.1223, allocations: 204 kB / 372.2 MB, free: 124 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1496/0.2719, allocations: 279.5 kB / 372.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005933/0.2725, allocations: 0.4889 MB / 372.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007775/0.2733, allocations: 0.7989 MB / 373.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00242/0.2757, allocations: 2.276 MB / 376 MB, free: 12.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2757, allocations: 0 / 376 MB, free: 12.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2757, allocations: 1.25 kB / 376 MB, free: 12.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.457e-05/0.2758, allocations: 0 / 376 MB, free: 12.21 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.003193/0.279, allocations: 1.932 MB / 378 MB, free: 11.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.279, allocations: 9.312 kB / 378 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.2802, allocations: 226.5 kB / 378.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.2816, allocations: 0.9001 MB / 379.1 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/0.2817, allocations: 207.1 kB / 379.3 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002025/0.282, allocations: 146.4 kB / 379.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002517/0.2845, allocations: 1.478 MB / 380.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/0.2845, allocations: 4.344 kB / 380.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.2847, allocations: 53.66 kB / 381 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.639e-05/0.2847, allocations: 47.89 kB / 381 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001743/0.2865, allocations: 0.9803 MB / 382 MB, free: 9.832 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006413/0.2929, allocations: 5.884 MB / 387.9 MB, free: 5.781 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.2945, allocations: 1.222 MB / 389.1 MB, free: 4.953 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006968/0.2952, allocations: 0.5252 MB / 389.6 MB, free: 4.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.176e-05/0.2953, allocations: 25.27 kB / 389.6 MB, free: 4.676 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/0.2963, allocations: 0.8927 MB / 390.5 MB, free: 4.133 MB / 302.1 MB Notification: Performance of pre-optimization done (n=131): time 3.386e-06/0.2963, allocations: 0 / 390.5 MB, free: 4.133 MB / 302.1 MB Notification: Performance of matching and sorting (n=131): time 0.002527/0.2989, allocations: 1.457 MB / 392 MB, free: 3.523 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001592/0.2991, allocations: 0.6066 MB / 392.6 MB, free: 2.824 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.3003, allocations: 0.9566 MB / 393.6 MB, free: 2.395 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001881/0.3005, allocations: 118.6 kB / 393.7 MB, free: 2.312 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00039/0.3009, allocations: 0.5277 MB / 394.2 MB, free: 1.918 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002544/0.3012, allocations: 335.4 kB / 394.5 MB, free: 1.684 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004588/0.3016, allocations: 363.4 kB / 394.9 MB, free: 1.527 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.646e-05/0.3017, allocations: 301.1 kB / 395.2 MB, free: 1.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007989/0.3025, allocations: 473.4 kB / 395.6 MB, free: 1.043 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009983/0.3035, allocations: 0.9115 MB / 396.6 MB, free: 268 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/0.3054, allocations: 1.374 MB / 397.9 MB, free: 15.21 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/0.3054, allocations: 4.125 kB / 397.9 MB, free: 15.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.002737/0.3082, allocations: 1.561 MB / 399.5 MB, free: 14.46 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.3083, allocations: 106.4 kB / 399.6 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.3083, allocations: 11.22 kB / 399.6 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.709e-05/0.3084, allocations: 20.19 kB / 399.6 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005901/0.309, allocations: 178.3 kB / 399.8 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.537e-05/0.309, allocations: 23.53 kB / 399.8 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008014/0.3098, allocations: 150.4 kB / 400 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.3099, allocations: 65.75 kB / 400 MB, free: 14.21 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 178 ($PRE.tankController.makeProduct.T1.enableFire,$PRE.tankController.makeProduct.T3.enableFire,$PRE.tankController.makeProduct.T2.enableFire,$PRE.tankController.makeProduct.T4.enableFire,$PRE.tankController.T1.enableFire,$PRE.tankController.T2.enableFire,$PRE.tankController.T3.enableFire,$PRE.tankController.T4.enableFire,$PRE.tankController.T5.enableFire,$PRE.tankController.T6.enableFire,$PRE.start.pre_reset[1],$PRE.start.pre_reset[2],$PRE.stop.pre_reset[1],$PRE.stop.pre_reset[2],$PRE.shut.pre_reset[1],$PRE.shut.pre_reset[2],$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition12,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition10,stateGraphRoot.activeSteps,valve3.valveControl,valve2.valveControl,shut.on,$PRE.shut.on,shut.reset[2],shut.reset[1],stop.on,$PRE.stop.on,stop.reset[2],stop.reset[1],start.on,$PRE.start.on,start.reset[2],start.reset[1],tankController.T6.enableFire,tankController.T6.localCondition,tankController.emptyTanks.oldActive,$PRE.tankController.emptyTanks.oldActive,tankController.emptyTanks.newActive,$PRE.tankController.emptyTanks.newActive,tankController.emptyTanks.localActive,$PRE.tankController.emptyTanks.localActive,tankController.emptyTanks.active,tankController.T5.enableFire,tankController.T4.enableFire,tankController.s2.oldActive,$PRE.tankController.s2.oldActive,tankController.s2.newActive,$PRE.tankController.s2.newActive,tankController.s2.outPort[2].available,tankController.s2.localActive,$PRE.tankController.s2.localActive,tankController.s2.active,tankController.T3.enableFire,tankController.T2.enableFire,tankController.T2.localCondition,tankController.T1.enableFire,tankController.makeProduct.T4.t_start,$PRE.tankController.makeProduct.T4.t_start,tankController.makeProduct.T4.fire,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait2.oldActive,$PRE.tankController.makeProduct.wait2.oldActive,tankController.makeProduct.wait2.newActive,$PRE.tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.localActive,$PRE.tankController.makeProduct.wait2.localActive,tankController.makeProduct.wait2.active,tankController.makeProduct.T2.t_start,$PRE.tankController.makeProduct.T2.t_start,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.enableFire,tankController.makeProduct.wait1.oldActive,$PRE.tankController.makeProduct.wait1.oldActive,tankController.makeProduct.wait1.newActive,$PRE.tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.localActive,$PRE.tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait1.active,tankController.makeProduct.emptyTank2.oldActive,$PRE.tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.emptyTank2.newActive,$PRE.tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.localActive,$PRE.tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.T3.enableFire,tankController.makeProduct.T3.localCondition,tankController.makeProduct.fillTank2.oldActive,$PRE.tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.fillTank2.newActive,$PRE.tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.localActive,$PRE.tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank2.active,tankController.makeProduct.T1.enableFire,tankController.makeProduct.T1.localCondition,tankController.makeProduct.fillTank1.oldActive,$PRE.tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.fillTank1.newActive,$PRE.tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.localActive,$PRE.tankController.makeProduct.fillTank1.localActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.activeSteps,tankController.makeProduct.newActive,$PRE.tankController.makeProduct.newActive,tankController.makeProduct.active,tankController.s1.oldActive,$PRE.tankController.s1.oldActive,tankController.s1.newActive,$PRE.tankController.s1.newActive,tankController.s1.inPort[2].occupied,tankController.s1.localActive,$PRE.tankController.s1.localActive,tankController.s1.active,$whenCondition13,$whenCondition14,$whenCondition15,shut.pre_reset[2],shut.pre_reset[1],shut.table.combiTimeTable.nextTimeEventScaled,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEvent,shut.table.y,$PRE.shut.table.y,$PRE.shut.reset[2],$PRE.shut.reset[1],$whenCondition9,$whenCondition7,$whenCondition8,stop.pre_reset[2],stop.pre_reset[1],stop.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,stop.table.y,$PRE.stop.table.y,$PRE.stop.reset[2],$PRE.stop.reset[1],$whenCondition6,$whenCondition4,$whenCondition5,start.pre_reset[2],start.pre_reset[1],start.table.combiTimeTable.nextTimeEventScaled,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEvent,start.table.y,$PRE.start.table.y,$PRE.start.reset[2],$PRE.start.reset[1],$whenCondition3,$whenCondition1,$whenCondition2,tankController.makeProduct.T1.t_start,$PRE.tankController.makeProduct.T1.t_start,tankController.makeProduct.T3.t_start,$PRE.tankController.makeProduct.T3.t_start,tankController.T1.t_start,$PRE.tankController.T1.t_start,tankController.T2.t_start,$PRE.tankController.T2.t_start,tankController.T3.t_start,$PRE.tankController.T3.t_start,tankController.T4.t_start,$PRE.tankController.T4.t_start,tankController.T5.t_start,$PRE.tankController.T5.t_start,tankController.T6.t_start,$PRE.tankController.T6.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,tankController.makeProduct.T4.condition,tankController.makeProduct.T2.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 209 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001045/0.311, allocations: 0.6438 MB / 400.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/0.3112, allocations: 114.9 kB / 400.8 MB, free: 13.69 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.3115, allocations: 115.3 kB / 400.9 MB, free: 13.6 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.3115, allocations: 12.59 kB / 400.9 MB, free: 13.6 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-05/0.3115, allocations: 2.875 kB / 400.9 MB, free: 13.6 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.3116, allocations: 6.828 kB / 400.9 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004007/0.3156, allocations: 2.651 MB / 403.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.3156, allocations: 0 / 403.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003251/0.3159, allocations: 72.55 kB / 403.6 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.375e-05/0.316, allocations: 12.97 kB / 403.7 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.421e-05/0.316, allocations: 34.14 kB / 403.7 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.316, allocations: 8.281 kB / 403.7 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.3161, allocations: 0 / 403.7 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002866/0.3189, allocations: 1.863 MB / 405.6 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000467/0.3194, allocations: 291.4 kB / 405.8 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/0.3196, allocations: 62.78 kB / 405.9 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003878/0.32, allocations: 43.91 kB / 406 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003046/0.3203, allocations: 143.6 kB / 406.1 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/0.3205, allocations: 47.42 kB / 406.1 MB, free: 10.33 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009343/0.3214, allocations: 0.6035 MB / 406.7 MB, free: 9.812 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3214, allocations: 0 / 406.7 MB, free: 9.812 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001249/0.3227, allocations: 339 kB / 407.1 MB, free: 9.48 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (tank1.level,tank2.level) * Number of discrete variables: 105 (tankController.T6.t_start,tankController.T5.t_start,tankController.T4.t_start,tankController.T3.t_start,tankController.T2.t_start,tankController.T1.t_start,tankController.makeProduct.T3.t_start,tankController.makeProduct.T1.t_start,tankController.T3.enableFire,tankController.s1.localActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.T2.enableFire,tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait2.localActive,tankController.s2.localActive,tankController.emptyTanks.localActive,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,tankController.s1.active,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.makeProduct.active,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,tankController.makeProduct.fillTank1.localActive,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.T1.localCondition,tankController.makeProduct.T1.enableFire,tankController.makeProduct.fillTank2.active,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.T3.localCondition,tankController.makeProduct.T3.enableFire,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.wait1.active,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.t_start,tankController.makeProduct.wait2.active,tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.oldActive,tankController.makeProduct.T4.fire,tankController.makeProduct.T4.t_start,tankController.T1.enableFire,tankController.T2.localCondition,tankController.T2.enableFire,tankController.s2.active,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.active,tankController.emptyTanks.newActive,tankController.emptyTanks.oldActive,tankController.T6.localCondition,tankController.T6.enableFire,start.reset[1],start.reset[2],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],start.pre_reset[2],stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],stop.pre_reset[2],shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,shut.pre_reset[1],shut.pre_reset[2],valve2.valveControl,valve3.valveControl,stateGraphRoot.activeSteps) * Number of discrete states: 50 (start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,tankController.emptyTanks.newActive,tankController.s2.newActive,tankController.makeProduct.newActive,tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait1.newActive,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank1.newActive,tankController.s1.newActive,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,$whenCondition3,start.on,$whenCondition2,$whenCondition1,start.pre_reset[2],start.pre_reset[1],start.reset[1],start.reset[2],start.table.y,tankController.makeProduct.T1.t_start,tankController.makeProduct.T3.t_start,tankController.T1.t_start,tankController.T2.t_start,tankController.T3.t_start,tankController.T4.t_start,tankController.T5.t_start,tankController.T6.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 24 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001806/0.3245, allocations: 0.5553 MB / 407.6 MB, free: 9.098 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003696/0.3282, allocations: 1.62 MB / 409.2 MB, free: 7.504 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/0.3282, allocations: 5.688 kB / 409.3 MB, free: 7.5 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001213/0.3294, allocations: 0.8241 MB / 410.1 MB, free: 6.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.3307, allocations: 250.7 kB / 410.3 MB, free: 6.422 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004265/0.3349, allocations: 2.326 MB / 412.6 MB, free: 4.047 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000933/0.3359, allocations: 1.158 MB / 413.8 MB, free: 2.859 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004335/0.3363, allocations: 107.4 kB / 413.9 MB, free: 2.754 MB / 318.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3363, allocations: 0 / 413.9 MB, free: 2.754 MB / 318.1 MB Notification: Performance of Templates: time 0.02914/0.3655, allocations: 17.71 MB / 431.6 MB, free: 1.086 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.ControlledTanks.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.ControlledTanks.sim & ./Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.ControlledTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/StateGraph/Examples/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches