Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 174 kB / 17.36 MB, free: 4.32 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.6 MB / 223.7 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007481/0.0007481, allocations: 98.28 kB / 272.1 MB, free: 8.109 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002719/0.0002719, allocations: 8 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2448, allocations: 47.58 MB / 376.6 MB, free: 45.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.02055/0.2654, allocations: 28.14 MB / 404.7 MB, free: 19.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0103/0.2757, allocations: 10.46 MB / 415.2 MB, free: 8.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001856/0.2777, allocations: 59.56 kB / 415.3 MB, free: 8.602 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002137/0.2798, allocations: 0.8711 MB / 416.1 MB, free: 7.727 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003407/0.2832, allocations: 1.435 MB / 417.6 MB, free: 6.285 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004825/0.2881, allocations: 2.008 MB / 419.6 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006035/0.2941, allocations: 5.94 MB / 425.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003072/0.2972, allocations: 1.742 MB / 427.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003216/0.3004, allocations: 1.451 MB / 428.7 MB, free: 11.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002466/0.3029, allocations: 1.486 MB / 430.2 MB, free: 9.594 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004614/0.3034, allocations: 116 kB / 430.3 MB, free: 9.48 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002087/0.3055, allocations: 0.7333 MB / 431 MB, free: 8.746 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000679/0.3062, allocations: 0.6266 MB / 431.7 MB, free: 8.117 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001375/0.3076, allocations: 1.179 MB / 432.8 MB, free: 6.926 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004106/0.3117, allocations: 3.784 MB / 436.6 MB, free: 3.129 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3117, allocations: 4 kB / 436.6 MB, free: 3.125 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.496e-06/0.3117, allocations: 0 / 436.6 MB, free: 3.125 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.397e-05/0.3118, allocations: 3.938 kB / 436.6 MB, free: 3.121 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 521 * Number of variables: 521 Notification: Performance of Generate backend data structure: time 0.004841/0.3167, allocations: 2.451 MB / 439.1 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.3167, allocations: 8.031 kB / 439.1 MB, free: 0.543 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006969/0.3174, allocations: 285.8 kB / 439.4 MB, free: 268 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002202/0.3196, allocations: 1.413 MB / 440.8 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002494/0.3199, allocations: 299.3 kB / 441.1 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003147/0.3202, allocations: 220 kB / 441.3 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004313/0.3245, allocations: 2.718 MB / 444 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.111e-05/0.3246, allocations: 3.938 kB / 444 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002003/0.3248, allocations: 95.98 kB / 444.1 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001201/0.3249, allocations: 99.69 kB / 444.2 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003629/0.3286, allocations: 2.169 MB / 446.4 MB, free: 9.008 MB / 330.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.01243/0.341, allocations: 10.3 MB / 456.7 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002615/0.3437, allocations: 1.864 MB / 458.5 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001496/0.3452, allocations: 1.014 MB / 459.6 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006888/0.3521, allocations: 4.735 MB / 464.3 MB, free: 6.312 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0022/0.3543, allocations: 1.426 MB / 465.7 MB, free: 4.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=193): time 3.406e-06/0.3543, allocations: 4 kB / 465.7 MB, free: 4.816 MB / 346.7 MB Notification: Performance of matching and sorting (n=203): time 0.01264/0.367, allocations: 6.222 MB / 471.9 MB, free: 14.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002451/0.3673, allocations: 0.543 MB / 472.5 MB, free: 13.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002202/0.3695, allocations: 1.634 MB / 474.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003157/0.3698, allocations: 109.7 kB / 474.2 MB, free: 12.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007944/0.3706, allocations: 0.8999 MB / 475.1 MB, free: 11.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005784/0.3712, allocations: 0.5782 MB / 475.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.3714, allocations: 52 kB / 475.8 MB, free: 10.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.3715, allocations: 415.2 kB / 476.2 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/0.3731, allocations: 0.9069 MB / 477.1 MB, free: 9.148 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002017/0.3752, allocations: 1.578 MB / 478.6 MB, free: 7.289 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003418/0.3786, allocations: 2.41 MB / 481.1 MB, free: 4.609 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.3786, allocations: 4 kB / 481.1 MB, free: 4.605 MB / 362.7 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.005353/0.384, allocations: 3.033 MB / 484.1 MB, free: 1.535 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.526e-05/0.3841, allocations: 97.09 kB / 484.2 MB, free: 1.422 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.103e-05/0.3841, allocations: 20 kB / 484.2 MB, free: 1.402 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.3854, allocations: 0.5762 MB / 484.8 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/0.3868, allocations: 391.2 kB / 485.2 MB, free: 444 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.3889, allocations: 2.266 MB / 487.4 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/0.3906, allocations: 159.8 kB / 487.6 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002248/0.3909, allocations: 116 kB / 487.7 MB, free: 13.82 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 160 ($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,$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,$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,$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,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 (311): * Single equations (assignments): 305 * 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.001235/0.3921, allocations: 0.7636 MB / 488.5 MB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003042/0.3924, allocations: 205.6 kB / 488.7 MB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005112/0.3975, allocations: 3.019 MB / 491.7 MB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.379e-05/0.3976, allocations: 20 kB / 491.7 MB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.3976, allocations: 0 / 491.7 MB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.982e-05/0.3976, allocations: 15.95 kB / 491.7 MB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008904/0.4065, allocations: 5.374 MB / 497.1 MB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.4066, allocations: 0 / 497.1 MB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.4076, allocations: 251.5 kB / 497.3 MB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001117/0.4088, allocations: 0.5567 MB / 497.9 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001743/0.409, allocations: 59.95 kB / 498 MB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002196/0.4112, allocations: 2.231 MB / 0.4885 GB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4112, allocations: 0 / 0.4885 GB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.178/0.5891, allocations: 4.033 MB / 0.4924 GB, free: 111.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009159/0.5901, allocations: 0.5359 MB / 0.4929 GB, free: 111.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003105/0.5904, allocations: 62.69 kB / 0.493 GB, free: 111.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.5915, allocations: 134.9 kB / 0.4931 GB, free: 111.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000444/0.592, allocations: 246 kB / 0.4933 GB, free: 111.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001606/0.5921, allocations: 94.72 kB / 0.4934 GB, free: 111.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001348/0.5935, allocations: 1.025 MB / 0.4944 GB, free: 110.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5935, allocations: 1.531 kB / 0.4944 GB, free: 110.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001999/0.5955, allocations: 0.6718 MB / 0.4951 GB, free: 110.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 106 (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,stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,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: 36 (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.reset[1],shut.reset[2],shut.table.y,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.reset[1],stop.reset[2],stop.table.y,$whenCondition3,start.on,$whenCondition2,$whenCondition1,start.reset[1],start.reset[2],start.table.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (211): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 16 * 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.001728/0.5972, allocations: 0.8969 MB / 0.496 GB, free: 110.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004625/0.6019, allocations: 2.626 MB / 0.4985 GB, free: 109.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.6019, allocations: 1.062 kB / 0.4985 GB, free: 109.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002341/0.6042, allocations: 1.443 MB / 0.4999 GB, free: 108.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00294/0.6072, allocations: 0.7096 MB / 0.5006 GB, free: 108.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006938/0.6142, allocations: 5.27 MB / 0.5058 GB, free: 105.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008076/0.615, allocations: 1.577 MB / 0.5073 GB, free: 104.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001816/0.6168, allocations: 0.5634 MB / 0.5079 GB, free: 103.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005051/0.6173, allocations: 223.3 kB / 0.5081 GB, free: 103.3 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.6173, allocations: 0 / 0.5081 GB, free: 103.3 MB / 378.7 MB Notification: Performance of Templates: time 0.05289/0.6702, allocations: 40.39 MB / 0.5475 GB, free: 62.88 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","../files/Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches