Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|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.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|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.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 176.8 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 223.3 MB / 241.4 MB, free: 9.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000864/0.0008641, allocations: 104.7 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003345, allocations: 15.94 kB / 352.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2829, allocations: 50.4 MB / 402.7 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7621/1.045, allocations: 303.3 MB / 0.6895 GB, free: 178 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/1.045, allocations: 89.16 kB / 0.6896 GB, free: 178 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8236/1.869, allocations: 226.1 MB / 0.9103 GB, free: 84.57 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.801e-06/1.869, allocations: 0 / 0.9103 GB, free: 84.57 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000274/1.869, allocations: 69.06 kB / 0.9104 GB, free: 84.55 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.009293/1.879, allocations: 2.665 MB / 0.913 GB, free: 83.05 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/1.879, allocations: 12.75 kB / 0.913 GB, free: 83.05 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/1.88, allocations: 292.5 kB / 0.9133 GB, free: 82.93 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004407/1.885, allocations: 1.526 MB / 0.9148 GB, free: 82.51 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003353/1.885, allocations: 308 kB / 0.9151 GB, free: 82.38 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005541/1.886, allocations: 223.5 kB / 0.9153 GB, free: 82.38 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006843/1.893, allocations: 2.776 MB / 0.918 GB, free: 81.89 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.056e-05/1.893, allocations: 6 kB / 0.918 GB, free: 81.89 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003417/1.893, allocations: 94.41 kB / 0.9181 GB, free: 81.89 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001367/1.893, allocations: 101 kB / 0.9182 GB, free: 81.89 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00596/1.899, allocations: 2.181 MB / 0.9203 GB, free: 81.87 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02273/1.922, allocations: 10.14 MB / 0.9302 GB, free: 77.38 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003814/1.926, allocations: 2.053 MB / 0.9322 GB, free: 76.86 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002252/1.928, allocations: 1.104 MB / 0.9333 GB, free: 76.78 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01087/1.939, allocations: 5.496 MB / 0.9387 GB, free: 74.19 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003034/1.942, allocations: 1.529 MB / 0.9402 GB, free: 73.82 MB / 458.7 MB Notification: Performance of pre-optimization done (n=207): time 8.446e-06/1.942, allocations: 0 / 0.9402 GB, free: 73.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=217): time 0.02252/1.965, allocations: 8.515 MB / 0.9485 GB, free: 70.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002453/1.965, allocations: 0.7689 MB / 0.9492 GB, free: 69.71 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003359/1.968, allocations: 1.63 MB / 0.9508 GB, free: 69.04 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003558/1.969, allocations: 123.5 kB / 0.951 GB, free: 68.96 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009129/1.97, allocations: 0.9025 MB / 0.9518 GB, free: 68.27 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007224/1.97, allocations: 0.5966 MB / 0.9524 GB, free: 67.84 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/1.971, allocations: 51.59 kB / 0.9525 GB, free: 67.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000198/1.971, allocations: 415.2 kB / 0.9529 GB, free: 67.45 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002316/1.973, allocations: 0.9529 MB / 0.9538 GB, free: 67.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002926/1.976, allocations: 1.678 MB / 0.9554 GB, free: 65.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004843/1.981, allocations: 2.571 MB / 0.9579 GB, free: 64.27 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.121e-05/1.981, allocations: 3.875 kB / 0.958 GB, free: 64.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.007803/1.989, allocations: 3.181 MB / 0.9611 GB, free: 62.99 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/1.989, allocations: 107.2 kB / 0.9612 GB, free: 62.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.875e-05/1.989, allocations: 19.56 kB / 0.9612 GB, free: 62.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001564/1.991, allocations: 0.5848 MB / 0.9617 GB, free: 62.76 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/1.993, allocations: 393.1 kB / 0.9621 GB, free: 62.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/1.995, allocations: 2.266 MB / 0.9643 GB, free: 60.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002678/1.998, allocations: 166.4 kB / 0.9645 GB, free: 60.83 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00046/1.998, allocations: 130.5 kB / 0.9646 GB, free: 60.81 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 188 ($PRE.tankController.normal.T1.enableFire,$PRE.tankController.normal.T3.enableFire,$PRE.tankController.normal.T2.enableFire,$PRE.tankController.normal.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.tankController.T6.t_start,tankController.T6.t_start,$PRE.tankController.T5.t_start,tankController.T5.t_start,$PRE.tankController.T4.t_start,tankController.T4.t_start,$PRE.tankController.T3.t_start,tankController.T3.t_start,$PRE.tankController.T2.t_start,tankController.T2.t_start,$PRE.tankController.T1.t_start,tankController.T1.t_start,$PRE.tankController.normal.T3.t_start,tankController.normal.T3.t_start,$PRE.tankController.normal.T1.t_start,tankController.normal.T1.t_start,$whenCondition12,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition10,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition8,$whenCondition7,$whenCondition9,$PRE.shut.reset[1],$PRE.shut.reset[2],$PRE.shut.table.y,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEventScaled,shut.pre_reset[1],shut.pre_reset[2],$whenCondition5,$whenCondition4,$whenCondition6,$PRE.stop.reset[1],$PRE.stop.reset[2],$PRE.stop.table.y,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],stop.pre_reset[2],$whenCondition2,$whenCondition1,$whenCondition3,$PRE.start.reset[1],$PRE.start.reset[2],$PRE.start.table.y,start.table.y,start.table.combiTimeTable.nextTimeEvent,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],start.pre_reset[2],tankController.stateGraphRoot.resume,tankController.stateGraphRoot.suspend,tankController.normal.T4.condition,tankController.normal.T2.condition,$whenCondition15,$whenCondition14,$whenCondition13,$PRE.tankController.s1.localActive,tankController.s1.localActive,tankController.s1.inPort[2].occupied,$PRE.tankController.s1.newActive,tankController.s1.newActive,$PRE.tankController.s1.oldActive,tankController.s1.oldActive,tankController.s1.active,tankController.normal.stateGraphRoot.suspend,tankController.normal.stateGraphRoot.resume,tankController.normal.active,$PRE.tankController.normal.newActive,tankController.normal.newActive,tankController.normal.activeSteps,$PRE.tankController.normal.fillTank1.localActive,tankController.normal.fillTank1.localActive,$PRE.tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.newActive,$PRE.tankController.normal.fillTank1.oldActive,tankController.normal.fillTank1.oldActive,tankController.normal.fillTank1.active,tankController.normal.T1.enableFire,tankController.normal.T1.condition,$PRE.tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.localActive,$PRE.tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.newActive,$PRE.tankController.normal.fillTank2.oldActive,tankController.normal.fillTank2.oldActive,tankController.normal.fillTank2.active,tankController.normal.T3.enableFire,tankController.normal.T3.condition,$PRE.tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.localActive,$PRE.tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.newActive,$PRE.tankController.normal.emptyTank2.oldActive,tankController.normal.emptyTank2.oldActive,tankController.normal.emptyTank2.active,$PRE.tankController.normal.wait1.localActive,tankController.normal.wait1.localActive,$PRE.tankController.normal.wait1.newActive,tankController.normal.wait1.newActive,$PRE.tankController.normal.wait1.oldActive,tankController.normal.wait1.oldActive,tankController.normal.wait1.active,tankController.normal.T2.enableFire,tankController.normal.T2.fire,$PRE.tankController.normal.T2.t_start,tankController.normal.T2.t_start,$PRE.tankController.normal.wait2.localActive,tankController.normal.wait2.localActive,$PRE.tankController.normal.wait2.newActive,tankController.normal.wait2.newActive,$PRE.tankController.normal.wait2.oldActive,tankController.normal.wait2.oldActive,tankController.normal.wait2.active,tankController.normal.T4.enableFire,tankController.normal.T4.fire,$PRE.tankController.normal.T4.t_start,tankController.normal.T4.t_start,tankController.T1.enableFire,tankController.T2.enableFire,tankController.T2.condition,tankController.T3.enableFire,$PRE.tankController.s2.localActive,tankController.s2.localActive,tankController.s2.outPort[2].available,$PRE.tankController.s2.newActive,tankController.s2.newActive,$PRE.tankController.s2.oldActive,tankController.s2.oldActive,tankController.s2.active,tankController.T4.enableFire,tankController.T5.enableFire,$PRE.tankController.emptyTanks.localActive,tankController.emptyTanks.localActive,$PRE.tankController.emptyTanks.newActive,tankController.emptyTanks.newActive,$PRE.tankController.emptyTanks.oldActive,tankController.emptyTanks.oldActive,tankController.emptyTanks.active,tankController.T6.enableFire,tankController.T6.condition,tankController.valve2,tankController.valve3,tankController.stateGraphRoot.activeSteps,start.reset[1],start.reset[2],$PRE.start.on,start.on,stop.reset[1],stop.reset[2],$PRE.stop.on,stop.on,shut.reset[1],shut.reset[2],$PRE.shut.on,shut.on,tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 3,4 4,2 3} Notification: Performance of prepare postOptimizeDAE: time 0.002146/2, allocations: 0.8008 MB / 0.9654 GB, free: 60.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009342/2.001, allocations: 210.2 kB / 0.9656 GB, free: 60.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008046/2.009, allocations: 3.089 MB / 0.9686 GB, free: 59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.18e-05/2.009, allocations: 27.47 kB / 0.9686 GB, free: 59 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-05/2.009, allocations: 3.344 kB / 0.9686 GB, free: 59 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-05/2.009, allocations: 14.39 kB / 0.9687 GB, free: 59 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0134/2.023, allocations: 5.559 MB / 0.9741 GB, free: 56.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.257e-05/2.023, allocations: 2.406 kB / 0.9741 GB, free: 56.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001424/2.024, allocations: 259.5 kB / 0.9743 GB, free: 56.65 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001433/2.026, allocations: 0.5602 MB / 0.9749 GB, free: 56.52 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002927/2.026, allocations: 73.08 kB / 0.975 GB, free: 56.49 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/2.028, allocations: 2.236 MB / 0.9771 GB, free: 54.68 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/2.028, allocations: 2.75 kB / 0.9771 GB, free: 54.68 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006844/2.035, allocations: 4.278 MB / 0.9813 GB, free: 51.59 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/2.036, allocations: 0.5638 MB / 0.9819 GB, free: 51.09 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006977/2.037, allocations: 81.41 kB / 0.982 GB, free: 51.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001696/2.039, allocations: 140 kB / 0.9821 GB, free: 50.91 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005582/2.039, allocations: 286.3 kB / 0.9824 GB, free: 50.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002686/2.04, allocations: 99.28 kB / 0.9825 GB, free: 50.66 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001841/2.041, allocations: 1.024 MB / 0.9835 GB, free: 49.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.41e-07/2.041, allocations: 0 / 0.9835 GB, free: 49.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003116/2.045, allocations: 0.7502 MB / 0.9842 GB, free: 49.07 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level) * Number of discrete variables: 120 (tankController.s1.localActive,tankController.normal.fillTank1.localActive,tankController.normal.fillTank2.localActive,tankController.normal.T2.enableFire,tankController.normal.emptyTank2.localActive,tankController.normal.T4.enableFire,tankController.normal.wait1.localActive,tankController.normal.wait2.localActive,tankController.normal.stateGraphRoot.suspend,tankController.s2.localActive,tankController.emptyTanks.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.s1.active,tankController.normal.stateGraphRoot.resume,tankController.normal.active,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.fillTank1.active,tankController.normal.T1.enableFire,tankController.normal.T1.condition,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.fillTank2.active,tankController.normal.T3.enableFire,tankController.normal.T3.condition,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.emptyTank2.active,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.wait1.active,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.newActive,tankController.normal.wait2.oldActive,tankController.normal.wait2.active,tankController.normal.T4.fire,tankController.normal.T4.t_start,tankController.T1.enableFire,tankController.T2.enableFire,tankController.T2.condition,tankController.T3.enableFire,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.s2.active,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.newActive,tankController.emptyTanks.oldActive,tankController.emptyTanks.active,tankController.T6.enableFire,tankController.T6.condition,tankController.valve2,tankController.valve3,tankController.stateGraphRoot.activeSteps,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],tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2],tankController.normal.T1.t_start,tankController.normal.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 discrete states: 50 (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.normal.T3.t_start,tankController.normal.T1.t_start,start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEvent,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,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition3,start.on,$whenCondition2,$whenCondition1,start.pre_reset[2],start.pre_reset[1],start.reset[1],start.reset[2],start.table.y,tankController.emptyTanks.newActive,tankController.s2.newActive,tankController.normal.newActive,tankController.normal.wait2.newActive,tankController.normal.wait1.newActive,tankController.normal.emptyTank2.newActive,tankController.normal.fillTank2.newActive,tankController.normal.fillTank1.newActive,tankController.s1.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (222): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 24 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 3,4 4,2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002402/2.047, allocations: 1.011 MB / 0.9852 GB, free: 48.46 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005226/2.052, allocations: 2.845 MB / 0.988 GB, free: 45.92 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/2.052, allocations: 6.906 kB / 0.988 GB, free: 45.91 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002985/2.055, allocations: 1.723 MB / 0.9896 GB, free: 44.34 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004657/2.06, allocations: 0.7186 MB / 0.9903 GB, free: 43.83 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/2.07, allocations: 5.241 MB / 0.9955 GB, free: 39.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001706/2.072, allocations: 1.598 MB / 0.997 GB, free: 37.96 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002908/2.075, allocations: 0.5608 MB / 0.9976 GB, free: 37.57 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009594/2.076, allocations: 227.7 kB / 0.9978 GB, free: 37.37 MB / 458.7 MB Notification: Performance of SimCode: time 1.112e-06/2.076, allocations: 0 / 0.9978 GB, free: 37.37 MB / 458.7 MB Notification: Performance of Templates: time 0.3099/2.386, allocations: 42.27 MB / 1.039 GB, free: 78.8 MB / 458.7 MB make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","../files/Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches