Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.Limiters.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Blocks.Limiters") Notification: Performance of loadModel(ModelicaTest): time 1.838/1.838, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.292e-05/2.316e-05, allocations: 0 / 277.8 MB, free: 15.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08648/0.08653, allocations: 48.7 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3815/0.4681, allocations: 75.67 MB / 402.2 MB, free: 10.23 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001578/0.4683, allocations: 63.84 kB / 402.3 MB, free: 10.22 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01512/0.4834, allocations: 3.722 MB / 406 MB, free: 8.742 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.175e-06/0.4835, allocations: 0 / 406 MB, free: 8.742 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.463e-05/0.4835, allocations: 3.75 kB / 406 MB, free: 8.742 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005945/0.4841, allocations: 453 kB / 406.4 MB, free: 8.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.4842, allocations: 11.44 kB / 406.4 MB, free: 8.336 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.846e-05/0.4843, allocations: 19.19 kB / 406.5 MB, free: 8.328 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004834/0.4848, allocations: 260.8 kB / 406.7 MB, free: 8.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.898e-05/0.4849, allocations: 88.66 kB / 406.8 MB, free: 7.992 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.4849, allocations: 3.844 kB / 406.8 MB, free: 7.992 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.4852, allocations: 143.2 kB / 406.9 MB, free: 7.914 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.4852, allocations: 3.844 kB / 406.9 MB, free: 7.914 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.4853, allocations: 0 / 406.9 MB, free: 7.914 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.363e-06/0.4853, allocations: 7.781 kB / 407 MB, free: 7.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.4855, allocations: 60.14 kB / 407 MB, free: 7.906 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.4866, allocations: 499 kB / 407.5 MB, free: 7.535 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.4868, allocations: 74.47 kB / 407.6 MB, free: 7.508 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.951e-05/0.4869, allocations: 30.89 kB / 407.6 MB, free: 7.496 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.4869, allocations: 7.797 kB / 407.6 MB, free: 7.492 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.4869, allocations: 38.5 kB / 407.6 MB, free: 7.445 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.769e-06/0.487, allocations: 0 / 407.6 MB, free: 7.445 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002743/0.4872, allocations: 88.73 kB / 407.7 MB, free: 7.402 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.4873, allocations: 102.8 kB / 407.8 MB, free: 7.277 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.4874, allocations: 142.5 kB / 408 MB, free: 7.176 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.4875, allocations: 32.8 kB / 408 MB, free: 7.145 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.141e-05/0.4876, allocations: 176 kB / 408.2 MB, free: 6.984 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.4876, allocations: 15.22 kB / 408.2 MB, free: 6.973 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.151e-06/0.4876, allocations: 0 / 408.2 MB, free: 6.973 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.988e-05/0.4877, allocations: 326.1 kB / 408.5 MB, free: 6.652 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.739e-05/0.4878, allocations: 25.75 kB / 408.5 MB, free: 6.652 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.697e-05/0.4879, allocations: 48.17 kB / 408.6 MB, free: 6.625 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.674e-05/0.488, allocations: 30.23 kB / 408.6 MB, free: 6.617 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.997e-06/0.488, allocations: 0 / 408.6 MB, free: 6.617 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002198/0.4882, allocations: 104.4 kB / 408.7 MB, free: 6.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4882, allocations: 7.672 kB / 408.7 MB, free: 6.566 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.4882, allocations: 4.312 kB / 408.7 MB, free: 6.562 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.4883, allocations: 0 / 408.7 MB, free: 6.562 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.4885, allocations: 42.56 kB / 408.8 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.627e-06/0.4886, allocations: 3.938 kB / 408.8 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.4887, allocations: 23.64 kB / 408.8 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.4887, allocations: 0 / 408.8 MB, free: 6.539 MB / 314.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 7.836e-05/0.4888, allocations: 110.1 kB / 408.9 MB, free: 6.434 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.126e-05/0.4889, allocations: 23.5 kB / 408.9 MB, free: 6.418 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.678e-05/0.489, allocations: 16.14 kB / 408.9 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.72e-06/0.489, allocations: 0 / 408.9 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.313e-06/0.489, allocations: 0 / 408.9 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.8e-06/0.489, allocations: 0 / 408.9 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.4893, allocations: 228.8 kB / 409.2 MB, free: 6.191 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4893, allocations: 3.938 kB / 409.2 MB, free: 6.188 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/0.4896, allocations: 50.67 kB / 409.2 MB, free: 6.172 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.625e-06/0.4896, allocations: 3.875 kB / 409.2 MB, free: 6.172 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.4896, allocations: 0 / 409.2 MB, free: 6.172 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.4896, allocations: 3.953 kB / 409.2 MB, free: 6.168 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4896, allocations: 4 kB / 409.2 MB, free: 6.164 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000331/0.49, allocations: 208.9 kB / 409.4 MB, free: 6.023 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.67e-05/0.4901, allocations: 101.6 kB / 409.5 MB, free: 5.918 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.4901, allocations: 3.25 kB / 409.5 MB, free: 5.918 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003985/0.4906, allocations: 50.83 kB / 409.6 MB, free: 5.902 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.4906, allocations: 7.797 kB / 409.6 MB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.4906, allocations: 11.55 kB / 409.6 MB, free: 5.891 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001009/0.4908, allocations: 129.6 kB / 409.7 MB, free: 5.805 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.99e-07/0.4908, allocations: 0 / 409.7 MB, free: 5.805 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003564/0.4911, allocations: 23.19 kB / 409.8 MB, free: 5.801 MB / 314.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001169/0.4913, allocations: 109.8 kB / 409.9 MB, free: 5.707 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001904/0.4915, allocations: 56.58 kB / 409.9 MB, free: 5.699 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.463e-06/0.4915, allocations: 0 / 409.9 MB, free: 5.699 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.575e-05/0.4916, allocations: 28.88 kB / 409.9 MB, free: 5.695 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.4919, allocations: 11.5 kB / 410 MB, free: 5.695 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003957/0.4923, allocations: 175.4 kB / 410.1 MB, free: 5.555 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.4924, allocations: 0.7074 MB / 410.8 MB, free: 4.844 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.065e-05/0.4925, allocations: 19.11 kB / 410.9 MB, free: 4.832 MB / 314.7 MB Notification: Performance of SimCode: time 1.594e-06/0.4925, allocations: 0 / 410.9 MB, free: 4.832 MB / 314.7 MB Notification: Performance of Templates: time 0.003338/0.4959, allocations: 1.566 MB / 412.4 MB, free: 4.051 MB / 314.7 MB