Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Limiters.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.554/2.554, allocations: 234.9 MB / 250.5 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006613/0.0006614, allocations: 16 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.375, allocations: 54.85 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1505/0.5256, allocations: 81.84 MB / 451.2 MB, free: 8.656 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.5259, allocations: 67.97 kB / 451.3 MB, free: 8.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02103/0.547, allocations: 4.029 MB / 455.3 MB, free: 4.555 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.547, allocations: 0 / 455.3 MB, free: 4.555 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.097e-05/0.5471, allocations: 4 kB / 455.3 MB, free: 4.551 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009614/0.548, allocations: 458.8 kB / 455.7 MB, free: 4.055 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.5481, allocations: 11.97 kB / 455.8 MB, free: 4.043 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.344e-05/0.5482, allocations: 46.55 kB / 455.8 MB, free: 3.988 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.828e-05/0.5483, allocations: 11.91 kB / 455.8 MB, free: 3.977 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.5486, allocations: 202.9 kB / 456 MB, free: 3.738 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.5486, allocations: 8 kB / 456 MB, free: 3.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/0.5487, allocations: 4 kB / 456 MB, free: 3.727 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007143/0.5494, allocations: 188 kB / 456.2 MB, free: 3.527 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.5494, allocations: 0 / 456.2 MB, free: 3.527 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.11e-05/0.5495, allocations: 8 kB / 456.2 MB, free: 3.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.5495, allocations: 0 / 456.2 MB, free: 3.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000773/0.5503, allocations: 155.9 kB / 456.4 MB, free: 3.367 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.5516, allocations: 460.3 kB / 456.8 MB, free: 2.867 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.5533, allocations: 310.4 kB / 457.1 MB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.436e-05/0.5533, allocations: 4.062 kB / 457.1 MB, free: 2.551 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.26e-05/0.5534, allocations: 46.48 kB / 457.2 MB, free: 2.496 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.996e-06/0.5534, allocations: 0 / 457.2 MB, free: 2.496 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.00143/0.5549, allocations: 281.6 kB / 457.4 MB, free: 2.215 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/0.5549, allocations: 102.8 kB / 457.5 MB, free: 2.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.5551, allocations: 144.7 kB / 457.7 MB, free: 1.945 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.5552, allocations: 29.7 kB / 457.7 MB, free: 1.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.397e-05/0.5553, allocations: 166.5 kB / 457.9 MB, free: 1.746 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.628e-05/0.5553, allocations: 27.78 kB / 457.9 MB, free: 1.719 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/0.5554, allocations: 0 / 457.9 MB, free: 1.719 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.5555, allocations: 318.8 kB / 458.2 MB, free: 1.398 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004206/0.5559, allocations: 79.94 kB / 458.3 MB, free: 1.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004624/0.5564, allocations: 106.5 kB / 458.4 MB, free: 1.207 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/0.5568, allocations: 83.97 kB / 458.5 MB, free: 1.125 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.5569, allocations: 0 / 458.5 MB, free: 1.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0009579/0.5578, allocations: 205.6 kB / 458.7 MB, free: 0.918 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.42e-05/0.5579, allocations: 89 kB / 458.8 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.5579, allocations: 3.938 kB / 458.8 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.558, allocations: 4 kB / 458.8 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.5583, allocations: 47.95 kB / 458.8 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.5583, allocations: 4.484 kB / 458.8 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/0.5586, allocations: 39.84 kB / 458.9 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.5587, allocations: 11.92 kB / 458.9 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.5587, allocations: 4 kB / 458.9 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000379/0.5591, allocations: 87.94 kB / 459 MB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.5591, allocations: 4 kB / 459 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-06/0.5591, allocations: 0 / 459 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.5593, allocations: 19.98 kB / 459 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.5593, allocations: 0 / 459 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.5594, allocations: 19.92 kB / 459 MB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.5595, allocations: 0 / 459 MB, free: 0.582 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001862/0.5597, allocations: 205.1 kB / 459.2 MB, free: 380 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.307e-05/0.5597, allocations: 11.86 kB / 459.2 MB, free: 368 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.367e-05/0.5598, allocations: 16.7 kB / 459.2 MB, free: 344 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.5598, allocations: 3.984 kB / 459.2 MB, free: 340 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.5598, allocations: 0 / 459.2 MB, free: 340 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.5598, allocations: 0 / 459.2 MB, free: 340 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003311/0.5602, allocations: 225.5 kB / 459.5 MB, free: 64 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.5602, allocations: 0 / 459.5 MB, free: 64 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003173/0.5605, allocations: 43.92 kB / 459.5 MB, free: 20 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.5605, allocations: 0 / 459.5 MB, free: 20 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.5606, allocations: 0 / 459.5 MB, free: 20 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.5606, allocations: 4 kB / 459.5 MB, free: 16 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5606, allocations: 0 / 459.5 MB, free: 16 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.5621, allocations: 395.2 kB / 459.9 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.559e-05/0.5622, allocations: 85 kB / 460 MB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.5622, allocations: 7.984 kB / 460 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005227/0.5628, allocations: 56.02 kB / 460 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/0.5628, allocations: 7.984 kB / 460 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.5629, allocations: 0 / 460 MB, free: 15.44 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001373/0.563, allocations: 119.2 kB / 460.2 MB, free: 15.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.785e-06/0.563, allocations: 0 / 460.2 MB, free: 15.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004697/0.5635, allocations: 51.78 kB / 460.2 MB, free: 15.27 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slewRateLimiter.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001989/0.5655, allocations: 0.9193 MB / 461.1 MB, free: 14.33 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.5667, allocations: 215.9 kB / 461.3 MB, free: 14.12 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.5667, allocations: 0 / 461.3 MB, free: 14.12 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004513/0.5672, allocations: 95.86 kB / 461.4 MB, free: 14.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.5676, allocations: 21.92 kB / 461.5 MB, free: 14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003115/0.5707, allocations: 0.9592 MB / 462.4 MB, free: 12.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.5712, allocations: 0.7048 MB / 463.1 MB, free: 12.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.5713, allocations: 35.42 kB / 463.2 MB, free: 12.22 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5713, allocations: 0 / 463.2 MB, free: 12.22 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.59/3.161, allocations: 2.097 MB / 465.3 MB, free: 10.14 MB / 394.7 MB