Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.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.Tanks.TanksWithOverflow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|lowerTank.level|lowerTank.medium.h|upperTank.level|upperTank.medium.h|hysteresis.y",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.TanksWithOverflow") translateModel(Modelica.Fluid.Examples.Tanks.TanksWithOverflow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|lowerTank.level|lowerTank.medium.h|upperTank.level|upperTank.medium.h|hysteresis.y",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.TanksWithOverflow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000875/0.0008749, allocations: 177.5 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.357/1.357, allocations: 205.6 MB / 223.7 MB, free: 8.957 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.00077/0.0007701, allocations: 94.34 kB / 272.1 MB, free: 8.137 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002912/0.0002912, allocations: 4 kB / 329 MB, free: 15.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2388, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.TanksWithOverflow): time 0.02443/0.2633, allocations: 37.21 MB / 413.8 MB, free: 9.332 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01556/0.2789, allocations: 14.16 MB / 428 MB, free: 10.23 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/0.2806, allocations: 43.62 kB / 428 MB, free: 10.19 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.2819, allocations: 405.8 kB / 428.4 MB, free: 9.793 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004257/0.2862, allocations: 1.747 MB / 430.2 MB, free: 8.039 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005896/0.2921, allocations: 2.311 MB / 432.5 MB, free: 5.723 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005338/0.2974, allocations: 5.177 MB / 437.6 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001584/0.299, allocations: 1.019 MB / 438.7 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002714/0.3018, allocations: 1.351 MB / 440 MB, free: 14.15 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002254/0.304, allocations: 1.378 MB / 441.4 MB, free: 12.76 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000219/0.3043, allocations: 76 kB / 441.5 MB, free: 12.69 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004301/0.3086, allocations: 1.922 MB / 443.4 MB, free: 10.76 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006139/0.3092, allocations: 498.5 kB / 443.9 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001055/0.3103, allocations: 0.7481 MB / 444.6 MB, free: 9.516 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005321/0.3156, allocations: 3.229 MB / 447.9 MB, free: 6.277 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3156, allocations: 0 / 447.9 MB, free: 6.277 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3156, allocations: 0 / 447.9 MB, free: 6.277 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.747e-05/0.3157, allocations: 0 / 447.9 MB, free: 6.277 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: 271 * Number of variables: 271 Notification: Performance of Generate backend data structure: time 0.004491/0.3202, allocations: 1.773 MB / 449.6 MB, free: 4.453 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.3202, allocations: 11.97 kB / 449.6 MB, free: 4.441 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004606/0.3207, allocations: 162.2 kB / 449.8 MB, free: 4.281 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.3221, allocations: 0.8979 MB / 450.7 MB, free: 3.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001898/0.3223, allocations: 238.4 kB / 450.9 MB, free: 3.074 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/0.3225, allocations: 104 kB / 451 MB, free: 2.973 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00271/0.3252, allocations: 1.783 MB / 452.8 MB, free: 1.133 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.3253, allocations: 4 kB / 452.8 MB, free: 1.129 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.3254, allocations: 43.98 kB / 452.9 MB, free: 1.086 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001286/0.3256, allocations: 102 kB / 453 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002736/0.3283, allocations: 1.765 MB / 454.7 MB, free: 15.21 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.01104/0.3394, allocations: 6.959 MB / 461.7 MB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002504/0.3419, allocations: 1.505 MB / 463.2 MB, free: 6.438 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/0.3432, allocations: 0.8821 MB / 464.1 MB, free: 5.555 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008183/0.344, allocations: 0.6568 MB / 464.7 MB, free: 4.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.3441, allocations: 43.56 kB / 464.8 MB, free: 4.719 MB / 346.7 MB Notification: Performance of pre-optimization done (n=116): time 3.276e-06/0.3441, allocations: 0 / 464.8 MB, free: 4.719 MB / 346.7 MB Notification: Performance of matching and sorting (n=128): time 0.01589/0.36, allocations: 6.664 MB / 471.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.79e-05/0.3601, allocations: 171.5 kB / 471.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.3616, allocations: 1.092 MB / 472.7 MB, free: 12.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001298/0.3617, allocations: 45.7 kB / 472.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004125/0.3621, allocations: 0.5043 MB / 473.2 MB, free: 12.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003803/0.3625, allocations: 433.8 kB / 473.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.319e-05/0.3626, allocations: 24 kB / 473.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3628, allocations: 357.9 kB / 474 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/0.3641, allocations: 0.8354 MB / 474.9 MB, free: 10.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001523/0.3656, allocations: 1.065 MB / 475.9 MB, free: 9.273 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002676/0.3683, allocations: 1.808 MB / 477.7 MB, free: 7.398 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3683, allocations: 3.938 kB / 477.7 MB, free: 7.395 MB / 362.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.004602/0.3729, allocations: 2.608 MB / 480.4 MB, free: 4.762 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002344/0.3732, allocations: 239.5 kB / 480.6 MB, free: 4.465 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.3732, allocations: 4 kB / 480.6 MB, free: 4.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003486/0.3767, allocations: 1.307 MB / 481.9 MB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009588/0.3777, allocations: 211.7 kB / 482.1 MB, free: 2.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006481/0.3842, allocations: 6.368 MB / 488.5 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.3856, allocations: 91.91 kB / 488.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/0.3858, allocations: 59.97 kB / 488.6 MB, free: 12.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.706e-06/0.3858, allocations: 4 kB / 488.6 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003985/0.3898, allocations: 2.33 MB / 491 MB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.3898, allocations: 4 kB / 491 MB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002432/0.3922, allocations: 1.027 MB / 492 MB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.3932, allocations: 223.7 kB / 492.2 MB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006101/0.3994, allocations: 6.099 MB / 498.3 MB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.4009, allocations: 95.94 kB / 498.4 MB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/0.4011, allocations: 55.97 kB / 498.5 MB, free: 1.848 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 12 (upperTank.regularFlow[1],upperTank.regularFlow[2],upperTank.regularFlow[3],upperTank.inFlow[1],upperTank.inFlow[2],upperTank.inFlow[3],lowerTank.regularFlow[1],lowerTank.regularFlow[2],lowerTank.inFlow[1],lowerTank.inFlow[2],$PRE.hysteresis.y,hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,3), (4,11), (4,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0008451/0.4019, allocations: 457.2 kB / 498.9 MB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000229/0.4021, allocations: 138.2 kB / 499 MB, free: 1.254 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004878/0.407, allocations: 2.796 MB / 0.4901 GB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/0.4071, allocations: 12.19 kB / 0.4901 GB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.4071, allocations: 4 kB / 0.4901 GB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/0.4071, allocations: 19.89 kB / 0.4901 GB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006967/0.4141, allocations: 4.518 MB / 0.4945 GB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.4141, allocations: 0 / 0.4945 GB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00079/0.4149, allocations: 155.8 kB / 0.4947 GB, free: 9.656 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003177/0.4181, allocations: 1.303 MB / 0.4959 GB, free: 8.34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/0.4182, allocations: 43.91 kB / 0.496 GB, free: 8.297 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006638/0.4249, allocations: 6.377 MB / 0.5022 GB, free: 1.574 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4249, allocations: 4.031 kB / 0.5022 GB, free: 1.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1823/0.6072, allocations: 3.928 MB / 0.506 GB, free: 127.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009901/0.6082, allocations: 444.4 kB / 0.5065 GB, free: 127.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002181/0.6084, allocations: 26.88 kB / 0.5065 GB, free: 127.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.6095, allocations: 98.03 kB / 0.5066 GB, free: 127.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004501/0.61, allocations: 139.8 kB / 0.5067 GB, free: 127.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001745/0.6102, allocations: 53.84 kB / 0.5068 GB, free: 127.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001298/0.6115, allocations: 0.746 MB / 0.5075 GB, free: 127.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6115, allocations: 0 / 0.5075 GB, free: 127.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00371/0.6152, allocations: 1.054 MB / 0.5085 GB, free: 127 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (upperTank.level,upperTank.medium.T,lowerTank.level,lowerTank.medium.T) * Number of discrete variables: 11 (upperTank.regularFlow[1],upperTank.regularFlow[2],upperTank.regularFlow[3],upperTank.inFlow[1],upperTank.inFlow[2],upperTank.inFlow[3],lowerTank.regularFlow[1],lowerTank.regularFlow[2],lowerTank.inFlow[1],lowerTank.inFlow[2],hysteresis.y) * Number of discrete states: 1 (hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,4), (4,14), (4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001982/0.6172, allocations: 0.7383 MB / 0.5093 GB, free: 126.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008397/0.6256, allocations: 3.779 MB / 0.5129 GB, free: 125.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/0.6257, allocations: 5.469 kB / 0.5129 GB, free: 125.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002842/0.6285, allocations: 1.418 MB / 0.5143 GB, free: 124.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002848/0.6314, allocations: 0.5895 MB / 0.5149 GB, free: 124.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00542/0.6368, allocations: 3.71 MB / 0.5185 GB, free: 122.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006643/0.6375, allocations: 1.263 MB / 0.5198 GB, free: 121.4 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001709/0.6392, allocations: 0.5852 MB / 0.5203 GB, free: 121.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/0.6395, allocations: 119.5 kB / 0.5205 GB, free: 121.1 MB / 394.7 MB Notification: Performance of SimCode: time 1.262e-06/0.6396, allocations: 4 kB / 0.5205 GB, free: 121.1 MB / 394.7 MB Notification: Performance of Templates: time 0.05129/0.6909, allocations: 43.89 MB / 0.5633 GB, free: 77.54 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.makefile (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.TanksWithOverflow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.pipe 2>&1)