Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009671/0.0009672, allocations: 203.1 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.261/1.261, allocations: 229.5 MB / 247.7 MB, free: 6.344 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000753/0.000753, allocations: 103.3 kB / 299.9 MB, free: 5.363 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001921/0.0001921, allocations: 4 kB / 360.6 MB, free: 8.508 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1736, allocations: 51.41 MB / 412 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.01836/0.192, allocations: 28.42 MB / 440.5 MB, free: 13.03 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01192/0.2039, allocations: 10.89 MB / 451.4 MB, free: 1.332 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.2053, allocations: 59.56 kB / 451.4 MB, free: 1.273 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001979/0.2073, allocations: 0.8866 MB / 452.3 MB, free: 392 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003029/0.2103, allocations: 1.482 MB / 453.8 MB, free: 14.89 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004451/0.2148, allocations: 2.059 MB / 455.8 MB, free: 12.83 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006033/0.2208, allocations: 6.018 MB / 461.9 MB, free: 6.789 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002396/0.2233, allocations: 1.76 MB / 463.6 MB, free: 4.996 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0021/0.2254, allocations: 1.475 MB / 465.1 MB, free: 3.516 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001822/0.2272, allocations: 1.521 MB / 466.6 MB, free: 1.988 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003533/0.2276, allocations: 120 kB / 466.7 MB, free: 1.871 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001823/0.2294, allocations: 0.7333 MB / 467.5 MB, free: 1.137 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00067/0.2301, allocations: 0.65 MB / 468.1 MB, free: 496 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00125/0.2314, allocations: 1.21 MB / 469.3 MB, free: 15.26 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003938/0.2353, allocations: 3.825 MB / 473.2 MB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2353, allocations: 4 kB / 473.2 MB, free: 11.42 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.2353, allocations: 0 / 473.2 MB, free: 11.42 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.545e-05/0.2354, allocations: 3.938 kB / 473.2 MB, free: 11.42 MB / 346.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.00466/0.24, allocations: 2.553 MB / 475.7 MB, free: 8.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.2401, allocations: 12.03 kB / 475.7 MB, free: 8.719 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007373/0.2408, allocations: 297.7 kB / 476 MB, free: 8.426 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/0.2431, allocations: 1.445 MB / 477.5 MB, free: 6.926 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002605/0.2434, allocations: 311.4 kB / 477.8 MB, free: 6.594 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003228/0.2437, allocations: 216 kB / 478 MB, free: 6.383 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004449/0.2481, allocations: 2.75 MB / 480.7 MB, free: 3.469 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.895e-05/0.2482, allocations: 7.938 kB / 480.7 MB, free: 3.461 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002129/0.2484, allocations: 87.98 kB / 480.8 MB, free: 3.375 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001023/0.2485, allocations: 99.69 kB / 480.9 MB, free: 3.277 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003831/0.2524, allocations: 2.189 MB / 483.1 MB, free: 1.086 MB / 346.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01293/0.2653, allocations: 10.37 MB / 493.5 MB, free: 6.328 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002823/0.2682, allocations: 2.068 MB / 495.5 MB, free: 4.125 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.2699, allocations: 1.091 MB / 496.6 MB, free: 3.012 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007644/0.2775, allocations: 5.522 MB / 0.4904 GB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002176/0.2797, allocations: 1.523 MB / 0.4919 GB, free: 11.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=207): time 3.356e-06/0.2798, allocations: 0 / 0.4919 GB, free: 11.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=217): time 0.01493/0.2947, allocations: 8.543 MB / 0.5002 GB, free: 2.793 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003175/0.295, allocations: 0.7711 MB / 0.501 GB, free: 1.852 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002039/0.2971, allocations: 1.651 MB / 0.5026 GB, free: 192 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002571/0.2974, allocations: 129.7 kB / 0.5027 GB, free: 56 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1541/0.4515, allocations: 0.8837 MB / 0.5036 GB, free: 94.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007663/0.4523, allocations: 0.6102 MB / 0.5042 GB, free: 94.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.4524, allocations: 55.59 kB / 0.5042 GB, free: 94.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.4526, allocations: 409.8 kB / 0.5046 GB, free: 93.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001758/0.4544, allocations: 0.9521 MB / 0.5055 GB, free: 93.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002014/0.4564, allocations: 1.68 MB / 0.5072 GB, free: 92.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003138/0.4595, allocations: 2.562 MB / 0.5097 GB, free: 90.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.4596, allocations: 3.969 kB / 0.5097 GB, free: 90.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.00509/0.4646, allocations: 3.166 MB / 0.5128 GB, free: 89.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.866e-05/0.4647, allocations: 107.7 kB / 0.5129 GB, free: 89.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/0.4648, allocations: 20.81 kB / 0.5129 GB, free: 89.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.4658, allocations: 0.5784 MB / 0.5135 GB, free: 89.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.4671, allocations: 402.5 kB / 0.5138 GB, free: 89.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.4686, allocations: 2.265 MB / 0.5161 GB, free: 87.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.4702, allocations: 165.4 kB / 0.5162 GB, free: 87.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001905/0.4704, allocations: 129 kB / 0.5163 GB, free: 87.28 MB / 378.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,tankController.s1.active,$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.normal.stateGraphRoot.suspend,tankController.normal.stateGraphRoot.resume,tankController.normal.active,$PRE.tankController.normal.newActive,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.active,$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.T1.condition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.active,$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.T3.condition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.active,$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.wait1.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.T2.enableFire,tankController.normal.T2.fire,$PRE.tankController.normal.T2.t_start,tankController.normal.T2.t_start,tankController.normal.wait2.active,$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.T4.enableFire,tankController.normal.T4.fire,$PRE.tankController.normal.T4.t_start,tankController.normal.T4.t_start,tankController.T1.enableFire,tankController.T2.condition,tankController.T2.enableFire,tankController.T3.enableFire,tankController.s2.active,$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.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.active,$PRE.tankController.emptyTanks.localActive,tankController.emptyTanks.localActive,$PRE.tankController.emptyTanks.newActive,tankController.emptyTanks.newActive,$PRE.tankController.emptyTanks.oldActive,tankController.emptyTanks.oldActive,tankController.T6.condition,tankController.T6.enableFire,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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,3), (4,4), (2,3)} Notification: Performance of prepare postOptimizeDAE: time 0.00103/0.4715, allocations: 0.8061 MB / 0.5171 GB, free: 86.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002648/0.4717, allocations: 212.4 kB / 0.5173 GB, free: 86.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004411/0.4762, allocations: 3.072 MB / 0.5203 GB, free: 85.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-05/0.4762, allocations: 31.98 kB / 0.5204 GB, free: 85.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.4762, allocations: 4 kB / 0.5204 GB, free: 85.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.802e-05/0.4762, allocations: 11.97 kB / 0.5204 GB, free: 85.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006892/0.4831, allocations: 5.51 MB / 0.5258 GB, free: 79.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.238e-06/0.4832, allocations: 4 kB / 0.5258 GB, free: 79.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009674/0.4841, allocations: 255.5 kB / 0.526 GB, free: 79.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009329/0.4851, allocations: 0.5687 MB / 0.5266 GB, free: 78.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/0.4852, allocations: 69.12 kB / 0.5266 GB, free: 78.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/0.4867, allocations: 2.224 MB / 0.5288 GB, free: 76.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4867, allocations: 4 kB / 0.5288 GB, free: 76.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00539/0.4921, allocations: 4.257 MB / 0.533 GB, free: 71.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008687/0.493, allocations: 0.5567 MB / 0.5335 GB, free: 71.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003398/0.4934, allocations: 79.97 kB / 0.5336 GB, free: 71.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.4945, allocations: 139.8 kB / 0.5337 GB, free: 71.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004429/0.495, allocations: 257.7 kB / 0.534 GB, free: 70.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001719/0.4952, allocations: 95.88 kB / 0.534 GB, free: 70.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001149/0.4963, allocations: 1.047 MB / 0.5351 GB, free: 69.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4963, allocations: 1.094 kB / 0.5351 GB, free: 69.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001878/0.4982, allocations: 0.6913 MB / 0.5357 GB, free: 69.1 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 120 (tankController.normal.stateGraphRoot.suspend,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.s2.localActive,tankController.emptyTanks.localActive,$cse1,$cse2,$cse5,$cse6,$cse7,$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.normal.stateGraphRoot.resume,tankController.normal.active,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.active,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.condition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.active,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.condition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.active,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.active,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.active,tankController.normal.wait2.newActive,tankController.normal.wait2.oldActive,tankController.normal.T4.fire,tankController.normal.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,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,stop.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,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,$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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 24 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,3), (4,4), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001571/0.4998, allocations: 0.9246 MB / 0.5366 GB, free: 68.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004217/0.504, allocations: 2.816 MB / 0.5394 GB, free: 65.51 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.301e-06/0.5041, allocations: 2.234 kB / 0.5394 GB, free: 65.51 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002448/0.5065, allocations: 1.713 MB / 0.5411 GB, free: 63.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003471/0.51, allocations: 0.7355 MB / 0.5418 GB, free: 63.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006956/0.517, allocations: 5.447 MB / 0.5471 GB, free: 57.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008172/0.5178, allocations: 1.591 MB / 0.5487 GB, free: 55.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001779/0.5196, allocations: 0.565 MB / 0.5492 GB, free: 55.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005473/0.5202, allocations: 231.3 kB / 0.5494 GB, free: 55.11 MB / 378.7 MB Notification: Performance of SimCode: time 8.52e-07/0.5202, allocations: 0 / 0.5494 GB, free: 55.11 MB / 378.7 MB Notification: Performance of Templates: time 0.05431/0.5745, allocations: 41.24 MB / 0.5897 GB, free: 14.21 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile (rm -f Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches