Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Limiters") Notification: Performance of loadModel(ModelicaTest): time 2.099/2.099, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004416/0.0004417, allocations: 12 kB / 314.4 MB, free: 9.559 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.2995, allocations: 54.86 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1216/0.4212, allocations: 81.84 MB / 451.1 MB, free: 8.762 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.4214, allocations: 63.92 kB / 451.2 MB, free: 8.699 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0178/0.4392, allocations: 4.02 MB / 455.2 MB, free: 4.672 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.646e-06/0.4393, allocations: 4 kB / 455.2 MB, free: 4.668 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.216e-05/0.4393, allocations: 4 kB / 455.2 MB, free: 4.664 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.000713/0.44, allocations: 450.8 kB / 455.6 MB, free: 4.176 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.4401, allocations: 8.031 kB / 455.7 MB, free: 4.168 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.4402, allocations: 15.81 kB / 455.7 MB, free: 4.152 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.4405, allocations: 210.8 kB / 455.9 MB, free: 3.906 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.4405, allocations: 8 kB / 455.9 MB, free: 3.898 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.4405, allocations: 4 kB / 455.9 MB, free: 3.895 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005311/0.4411, allocations: 184.1 kB / 456.1 MB, free: 3.699 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.4411, allocations: 7.938 kB / 456.1 MB, free: 3.691 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.4412, allocations: 12 kB / 456.1 MB, free: 3.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.338e-06/0.4412, allocations: 3.938 kB / 456.1 MB, free: 3.676 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005396/0.4417, allocations: 151.9 kB / 456.2 MB, free: 3.527 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.4428, allocations: 464.3 kB / 456.7 MB, free: 3.023 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.4439, allocations: 310.5 kB / 457 MB, free: 2.711 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.444, allocations: 8.141 kB / 457 MB, free: 2.703 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.444, allocations: 42.5 kB / 457 MB, free: 2.652 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 3.094e-06/0.444, allocations: 0 / 457 MB, free: 2.652 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001029/0.4451, allocations: 285.4 kB / 457.3 MB, free: 2.367 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.904e-05/0.4452, allocations: 106.8 kB / 457.4 MB, free: 2.238 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.4454, allocations: 137.3 kB / 457.6 MB, free: 2.098 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.4454, allocations: 29.7 kB / 457.6 MB, free: 2.062 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.948e-05/0.4455, allocations: 166.5 kB / 457.7 MB, free: 1.898 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.4456, allocations: 27.78 kB / 457.8 MB, free: 1.871 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.139e-06/0.4456, allocations: 0 / 457.8 MB, free: 1.871 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.4457, allocations: 318.8 kB / 458.1 MB, free: 1.551 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002954/0.446, allocations: 79.94 kB / 458.2 MB, free: 1.473 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/0.4464, allocations: 106.5 kB / 458.3 MB, free: 1.359 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.4467, allocations: 83.97 kB / 458.4 MB, free: 1.277 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.4467, allocations: 4 kB / 458.4 MB, free: 1.273 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006492/0.4474, allocations: 201.6 kB / 458.6 MB, free: 1.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.773e-05/0.4474, allocations: 93 kB / 458.6 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.452e-06/0.4475, allocations: 0 / 458.6 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.4475, allocations: 4 kB / 458.6 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.4477, allocations: 35.97 kB / 458.7 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.877e-06/0.4477, allocations: 3.938 kB / 458.7 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.448, allocations: 47.83 kB / 458.7 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.448, allocations: 11.92 kB / 458.7 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.448, allocations: 4 kB / 458.7 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002921/0.4483, allocations: 83.95 kB / 458.8 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.801e-06/0.4483, allocations: 0 / 458.8 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.168e-06/0.4483, allocations: 0 / 458.8 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.4485, allocations: 19.98 kB / 458.8 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.736e-06/0.4485, allocations: 0 / 458.8 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.83e-05/0.4486, allocations: 23.92 kB / 458.9 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.907e-06/0.4486, allocations: 0 / 458.9 MB, free: 0.7422 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.0001769/0.4488, allocations: 201.1 kB / 459.1 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.914e-05/0.4489, allocations: 11.86 kB / 459.1 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.676e-05/0.4489, allocations: 12.72 kB / 459.1 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.449, allocations: 0 / 459.1 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.349e-06/0.449, allocations: 3.984 kB / 459.1 MB, free: 0.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.022e-06/0.449, allocations: 4 kB / 459.1 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003357/0.4493, allocations: 229.5 kB / 459.3 MB, free: 228 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.4493, allocations: 3.938 kB / 459.3 MB, free: 224 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/0.4496, allocations: 35.97 kB / 459.4 MB, free: 188 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.455e-06/0.4496, allocations: 3.953 kB / 459.4 MB, free: 184 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.4496, allocations: 4 kB / 459.4 MB, free: 180 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.127e-06/0.4496, allocations: 0 / 459.4 MB, free: 180 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.731e-06/0.4497, allocations: 0 / 459.4 MB, free: 180 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.4507, allocations: 391.8 kB / 459.8 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.848e-05/0.4508, allocations: 89.03 kB / 459.8 MB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.4508, allocations: 8.016 kB / 459.8 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003399/0.4512, allocations: 51.95 kB / 459.9 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.4512, allocations: 11.98 kB / 459.9 MB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.4513, allocations: 4 kB / 459.9 MB, free: 15.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001187/0.4514, allocations: 118.1 kB / 460 MB, free: 15.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.28e-07/0.4514, allocations: 0 / 460 MB, free: 15.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004595/0.4519, allocations: 43.84 kB / 460.1 MB, free: 15.44 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.000145/0.452, allocations: 99.19 kB / 460.2 MB, free: 15.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007802/0.4528, allocations: 231.8 kB / 460.4 MB, free: 15.11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.192e-06/0.4529, allocations: 0 / 460.4 MB, free: 15.11 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003115/0.4532, allocations: 87.94 kB / 460.5 MB, free: 15.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.4535, allocations: 23.97 kB / 460.5 MB, free: 15 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007683/0.4543, allocations: 331.4 kB / 460.8 MB, free: 14.64 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.4547, allocations: 0.7126 MB / 461.5 MB, free: 13.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.427e-05/0.4548, allocations: 11.44 kB / 461.6 MB, free: 13.89 MB / 394.7 MB Notification: Performance of SimCode: time 1.703e-06/0.4548, allocations: 0 / 461.6 MB, free: 13.89 MB / 394.7 MB Notification: Performance of Templates: time 0.003974/0.4587, allocations: 1.597 MB / 463.2 MB, free: 12.31 MB / 394.7 MB