Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 182.6 kB / 16.71 MB, free: 4.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 225.7 MB / 243.2 MB, free: 8.512 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007203/0.0007204, allocations: 94.59 kB / 294.4 MB, free: 9.523 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002363/0.0002364, allocations: 11.94 kB / 354.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.187, allocations: 50.41 MB / 404.6 MB, free: 31.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.0179/0.205, allocations: 28.17 MB / 432.7 MB, free: 2.734 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01107/0.2161, allocations: 10.61 MB / 443.4 MB, free: 7.355 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.2177, allocations: 59.56 kB / 443.4 MB, free: 7.297 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002046/0.2198, allocations: 0.8789 MB / 444.3 MB, free: 6.414 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003001/0.2228, allocations: 1.423 MB / 445.7 MB, free: 4.984 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004541/0.2273, allocations: 2.063 MB / 447.8 MB, free: 2.918 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006358/0.2337, allocations: 5.964 MB / 453.7 MB, free: 12.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002669/0.2364, allocations: 1.745 MB / 455.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002555/0.239, allocations: 1.471 MB / 457 MB, free: 9.68 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002144/0.2411, allocations: 1.513 MB / 458.5 MB, free: 8.16 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004004/0.2415, allocations: 120 kB / 458.6 MB, free: 8.043 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001738/0.2433, allocations: 0.7333 MB / 459.3 MB, free: 7.309 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005958/0.2439, allocations: 0.6501 MB / 460 MB, free: 6.656 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001187/0.2451, allocations: 1.202 MB / 461.2 MB, free: 5.441 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003647/0.2488, allocations: 3.806 MB / 465 MB, free: 1.625 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2488, allocations: 4 kB / 465 MB, free: 1.621 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2488, allocations: 0 / 465 MB, free: 1.621 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.182e-05/0.2488, allocations: 0 / 465 MB, free: 1.621 MB / 330.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.004341/0.2532, allocations: 2.545 MB / 467.5 MB, free: 14.94 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2532, allocations: 8.031 kB / 467.5 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006408/0.2539, allocations: 289.8 kB / 467.8 MB, free: 14.65 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001924/0.2558, allocations: 1.425 MB / 469.2 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002226/0.2561, allocations: 307.5 kB / 469.5 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002836/0.2563, allocations: 224 kB / 469.8 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004057/0.2604, allocations: 2.765 MB / 472.5 MB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.773e-05/0.2605, allocations: 3.938 kB / 472.5 MB, free: 9.691 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001961/0.2607, allocations: 95.98 kB / 472.6 MB, free: 9.598 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.471e-05/0.2608, allocations: 99.69 kB / 472.7 MB, free: 9.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003666/0.2644, allocations: 2.181 MB / 474.9 MB, free: 7.316 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.01203/0.2765, allocations: 10.36 MB / 485.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002603/0.2791, allocations: 2.061 MB / 487.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/0.2807, allocations: 1.094 MB / 488.4 MB, free: 9.258 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007019/0.2877, allocations: 5.506 MB / 493.9 MB, free: 3.402 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002065/0.2898, allocations: 1.523 MB / 495.4 MB, free: 1.789 MB / 362.7 MB Notification: Performance of pre-optimization done (n=207): time 3.236e-06/0.2898, allocations: 0 / 495.4 MB, free: 1.789 MB / 362.7 MB Notification: Performance of matching and sorting (n=217): time 0.01391/0.3037, allocations: 8.513 MB / 0.4921 GB, free: 9.086 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002864/0.304, allocations: 0.7633 MB / 0.4929 GB, free: 8.152 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00194/0.306, allocations: 1.614 MB / 0.4945 GB, free: 6.523 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002894/0.3063, allocations: 129.7 kB / 0.4946 GB, free: 6.391 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006694/0.307, allocations: 0.8889 MB / 0.4955 GB, free: 5.488 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005498/0.3075, allocations: 0.6013 MB / 0.496 GB, free: 4.879 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.3077, allocations: 56 kB / 0.4961 GB, free: 4.824 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3078, allocations: 411.6 kB / 0.4965 GB, free: 4.418 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001559/0.3094, allocations: 0.954 MB / 0.4974 GB, free: 3.461 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001992/0.3114, allocations: 1.674 MB / 0.4991 GB, free: 1.488 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1601/0.4715, allocations: 2.568 MB / 0.5016 GB, free: 98.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.062e-05/0.4715, allocations: 5.719 kB / 0.5016 GB, free: 98.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.005117/0.4767, allocations: 3.162 MB / 0.5047 GB, free: 97.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.18e-05/0.4768, allocations: 107.2 kB / 0.5048 GB, free: 96.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/0.4768, allocations: 19.59 kB / 0.5048 GB, free: 96.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/0.4779, allocations: 0.5858 MB / 0.5054 GB, free: 96.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.4792, allocations: 399 kB / 0.5057 GB, free: 96.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/0.481, allocations: 2.265 MB / 0.5079 GB, free: 94.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.4826, allocations: 171.8 kB / 0.5081 GB, free: 94.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002769/0.4829, allocations: 119.9 kB / 0.5082 GB, free: 94.86 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.00135/0.4843, allocations: 0.8074 MB / 0.509 GB, free: 94.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000338/0.4846, allocations: 214.6 kB / 0.5092 GB, free: 94.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004385/0.489, allocations: 3.073 MB / 0.5122 GB, free: 93.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/0.489, allocations: 23.31 kB / 0.5122 GB, free: 93.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.4891, allocations: 6.703 kB / 0.5122 GB, free: 93.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.946e-05/0.4891, allocations: 12.53 kB / 0.5123 GB, free: 93.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006983/0.4961, allocations: 5.505 MB / 0.5176 GB, free: 89.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.4961, allocations: 4 kB / 0.5176 GB, free: 89.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009345/0.4971, allocations: 251.5 kB / 0.5179 GB, free: 89.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009538/0.498, allocations: 0.5556 MB / 0.5184 GB, free: 88.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001506/0.4982, allocations: 67.95 kB / 0.5185 GB, free: 88.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/0.4997, allocations: 2.235 MB / 0.5207 GB, free: 86.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.4998, allocations: 7.938 kB / 0.5207 GB, free: 86.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005496/0.5053, allocations: 4.241 MB / 0.5248 GB, free: 81.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000839/0.5061, allocations: 0.5577 MB / 0.5254 GB, free: 81.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00032/0.5064, allocations: 71.97 kB / 0.5254 GB, free: 81.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.5076, allocations: 143.6 kB / 0.5256 GB, free: 81.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004285/0.508, allocations: 260.3 kB / 0.5258 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001639/0.5082, allocations: 95.94 kB / 0.5259 GB, free: 80.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001082/0.5093, allocations: 1.027 MB / 0.5269 GB, free: 79.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5093, allocations: 0 / 0.5269 GB, free: 79.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001789/0.5111, allocations: 0.686 MB / 0.5276 GB, free: 79.16 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.001498/0.5126, allocations: 0.9355 MB / 0.5285 GB, free: 78.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004097/0.5167, allocations: 2.815 MB / 0.5312 GB, free: 75.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.5167, allocations: 4 kB / 0.5312 GB, free: 75.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002406/0.5191, allocations: 1.717 MB / 0.5329 GB, free: 73.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003212/0.5223, allocations: 0.7157 MB / 0.5336 GB, free: 73.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006842/0.5292, allocations: 5.414 MB / 0.5389 GB, free: 67.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007702/0.53, allocations: 1.587 MB / 0.5405 GB, free: 66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0018/0.5318, allocations: 0.5532 MB / 0.541 GB, free: 65.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005334/0.5323, allocations: 231.3 kB / 0.5412 GB, free: 65.21 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5323, allocations: 0 / 0.5412 GB, free: 65.21 MB / 378.7 MB Notification: Performance of Templates: time 0.05312/0.5855, allocations: 41.08 MB / 0.5813 GB, free: 24.47 MB / 378.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