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.001129/0.001129, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 221.5 MB / 230.3 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 99.88 kB / 281.2 MB, free: 5.309 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.249e-05/2.253e-05, allocations: 4 kB / 337 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1604, allocations: 50.42 MB / 387.5 MB, free: 7.547 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.021/1.182, allocations: 302.4 MB / 0.6737 GB, free: 25.81 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/1.182, allocations: 87.77 kB / 0.6738 GB, free: 25.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.173/2.356, allocations: 224.5 MB / 0.8931 GB, free: 63.57 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.796e-06/2.356, allocations: 1.062 kB / 0.8931 GB, free: 63.57 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000408/2.356, allocations: 64.27 kB / 0.8931 GB, free: 63.57 MB / 442.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.01062/2.367, allocations: 2.452 MB / 0.8955 GB, free: 62.68 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.247e-05/2.367, allocations: 8.719 kB / 0.8955 GB, free: 62.68 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002543/2.369, allocations: 291.6 kB / 0.8958 GB, free: 62.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005273/2.375, allocations: 1.47 MB / 0.8972 GB, free: 62.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003752/2.375, allocations: 226.5 kB / 0.8974 GB, free: 62.12 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005897/2.376, allocations: 140.9 kB / 0.8976 GB, free: 62.12 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004765/2.38, allocations: 1.965 MB / 0.8995 GB, free: 62.11 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004331/2.385, allocations: 2.433 MB / 0.9019 GB, free: 61.64 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-05/2.385, allocations: 5.203 kB / 0.9019 GB, free: 61.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000228/2.385, allocations: 15.08 kB / 0.9019 GB, free: 61.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001859/2.385, allocations: 98.88 kB / 0.902 GB, free: 61.64 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01808/2.403, allocations: 9.724 MB / 0.9115 GB, free: 57.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003423/2.407, allocations: 1.933 MB / 0.9134 GB, free: 56.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001914/2.409, allocations: 1.023 MB / 0.9144 GB, free: 56.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01029/2.419, allocations: 5.339 MB / 0.9196 GB, free: 54.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002643/2.422, allocations: 1.436 MB / 0.921 GB, free: 53.81 MB / 442.7 MB Notification: Performance of pre-optimization done (n=207): time 4.759e-06/2.422, allocations: 0 / 0.921 GB, free: 53.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=217): time 0.02511/2.447, allocations: 8.241 MB / 0.929 GB, free: 51.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000385/2.447, allocations: 0.7631 MB / 0.9298 GB, free: 50.61 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002073/2.45, allocations: 1.15 MB / 0.9309 GB, free: 50.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004993/2.45, allocations: 85.84 kB / 0.931 GB, free: 50.37 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009144/2.451, allocations: 0.9059 MB / 0.9319 GB, free: 50.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007862/2.452, allocations: 0.5684 MB / 0.9324 GB, free: 49.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/2.452, allocations: 3.875 kB / 0.9324 GB, free: 49.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002251/2.452, allocations: 410.7 kB / 0.9328 GB, free: 49.38 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/2.454, allocations: 0.8745 MB / 0.9337 GB, free: 49.37 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001904/2.456, allocations: 1.562 MB / 0.9352 GB, free: 48.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005409/2.461, allocations: 1.604 MB / 0.9368 GB, free: 48.58 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.621e-05/2.461, allocations: 6.438 kB / 0.9368 GB, free: 48.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.009585/2.471, allocations: 3.385 MB / 0.9401 GB, free: 48.37 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001314/2.471, allocations: 104.9 kB / 0.9402 GB, free: 48.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.45e-05/2.471, allocations: 21.25 kB / 0.9402 GB, free: 48.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/2.472, allocations: 0.5729 MB / 0.9408 GB, free: 48.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/2.474, allocations: 401.3 kB / 0.9411 GB, free: 48.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003636/2.477, allocations: 2.575 MB / 0.9437 GB, free: 46.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002694/2.48, allocations: 117.4 kB / 0.9438 GB, free: 46.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003587/2.48, allocations: 123.5 kB / 0.9439 GB, free: 46.67 MB / 442.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 () * 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.001035/2.481, allocations: 411.7 kB / 0.9443 GB, free: 46.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000896/2.482, allocations: 189.3 kB / 0.9445 GB, free: 46.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008924/2.491, allocations: 3.193 MB / 0.9476 GB, free: 46.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-05/2.491, allocations: 27.45 kB / 0.9476 GB, free: 46.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.072e-05/2.491, allocations: 3.625 kB / 0.9476 GB, free: 46.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-05/2.491, allocations: 14.77 kB / 0.9476 GB, free: 46.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01377/2.505, allocations: 5.443 MB / 0.9529 GB, free: 45.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-05/2.505, allocations: 3.656 kB / 0.9529 GB, free: 45.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/2.506, allocations: 252.8 kB / 0.9532 GB, free: 45.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001084/2.507, allocations: 0.5469 MB / 0.9537 GB, free: 45.72 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002566/2.508, allocations: 50.41 kB / 0.9538 GB, free: 45.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003464/2.511, allocations: 2.54 MB / 0.9562 GB, free: 44.15 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.11e-05/2.511, allocations: 10.22 kB / 0.9563 GB, free: 44.15 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01042/2.522, allocations: 4.45 MB / 0.9606 GB, free: 43.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002024/2.524, allocations: 0.5472 MB / 0.9611 GB, free: 43.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001033/2.525, allocations: 48.84 kB / 0.9612 GB, free: 43.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002414/2.527, allocations: 104.7 kB / 0.9613 GB, free: 43.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000756/2.528, allocations: 270.9 kB / 0.9615 GB, free: 43.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000337/2.528, allocations: 100.2 kB / 0.9616 GB, free: 43.33 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00168/2.53, allocations: 0.7729 MB / 0.9624 GB, free: 43.22 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.91e-07/2.53, allocations: 0 / 0.9624 GB, free: 43.22 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004292/2.534, allocations: 0.6548 MB / 0.963 GB, free: 43.2 MB / 442.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) * 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.002829/2.537, allocations: 0.933 MB / 0.9639 GB, free: 43.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006209/2.543, allocations: 2.631 MB / 0.9665 GB, free: 42.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/2.544, allocations: 0 / 0.9665 GB, free: 42.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002709/2.546, allocations: 1.637 MB / 0.9681 GB, free: 42.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003894/2.55, allocations: 0.5761 MB / 0.9687 GB, free: 42.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/2.561, allocations: 3.465 MB / 0.9721 GB, free: 41.81 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001858/2.563, allocations: 1.637 MB / 0.9737 GB, free: 41.07 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002552/2.565, allocations: 0.5376 MB / 0.9742 GB, free: 41.05 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005785/2.566, allocations: 217.5 kB / 0.9744 GB, free: 41.04 MB / 442.7 MB Notification: Performance of SimCode: time 1.072e-06/2.566, allocations: 0 / 0.9744 GB, free: 41.04 MB / 442.7 MB Notification: Performance of Templates: time 0.0648/2.631, allocations: 36.82 MB / 1.01 GB, free: 34.71 MB / 442.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/jenkins/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