Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 2.138/2.138, allocations: 209.3 MB / 225.4 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004454/0.0004452, allocations: 12 kB / 283.1 MB, free: 9.707 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.349, allocations: 48.69 MB / 331.8 MB, free: 6.484 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1344/0.4835, allocations: 75.76 MB / 407.5 MB, free: 2.699 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.4838, allocations: 71.91 kB / 407.6 MB, free: 2.629 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01948/0.5033, allocations: 3.739 MB / 411.4 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5034, allocations: 4 kB / 411.4 MB, free: 14.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.5034, allocations: 4 kB / 411.4 MB, free: 14.88 MB / 346.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.00105/0.5045, allocations: 474.7 kB / 411.8 MB, free: 14.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.5045, allocations: 8.031 kB / 411.8 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.503e-05/0.5046, allocations: 15.91 kB / 411.9 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007677/0.5054, allocations: 247.3 kB / 412.1 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.5056, allocations: 89.11 kB / 412.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.5056, allocations: 11.91 kB / 412.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006558/0.5063, allocations: 180.1 kB / 412.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.5063, allocations: 0 / 412.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.5064, allocations: 0 / 412.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.5064, allocations: 4 kB / 412.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007549/0.5071, allocations: 148.5 kB / 412.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.5088, allocations: 492.3 kB / 413 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009617/0.5098, allocations: 194.4 kB / 413.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.5099, allocations: 0 / 413.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/0.5099, allocations: 46.67 kB / 413.2 MB, free: 12.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.993e-06/0.5099, allocations: 0 / 413.2 MB, free: 12.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.001242/0.5112, allocations: 241.5 kB / 413.5 MB, free: 12.58 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.5113, allocations: 102.8 kB / 413.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.5115, allocations: 163.3 kB / 413.7 MB, free: 12.28 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.5116, allocations: 29.7 kB / 413.8 MB, free: 12.24 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.5117, allocations: 182.6 kB / 413.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.5117, allocations: 19.66 kB / 414 MB, free: 12.04 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.04e-05/0.5117, allocations: 0 / 414 MB, free: 12.04 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.5119, allocations: 318.8 kB / 414.3 MB, free: 11.72 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.5121, allocations: 39.92 kB / 414.3 MB, free: 11.68 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.5124, allocations: 80.2 kB / 414.4 MB, free: 11.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.5126, allocations: 43.95 kB / 414.4 MB, free: 11.55 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.5126, allocations: 8.031 kB / 414.4 MB, free: 11.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005184/0.5132, allocations: 129.6 kB / 414.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.5132, allocations: 12.14 kB / 414.6 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.5132, allocations: 4.047 kB / 414.6 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.5132, allocations: 7.938 kB / 414.6 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/0.5136, allocations: 39.97 kB / 414.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.5136, allocations: 7.938 kB / 414.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.5138, allocations: 23.89 kB / 414.7 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.5138, allocations: 0 / 414.7 MB, free: 11.31 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (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 0.00016/0.514, allocations: 125.8 kB / 414.8 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/0.5141, allocations: 8.156 kB / 414.8 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.62e-05/0.5141, allocations: 17.36 kB / 414.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.5142, allocations: 0 / 414.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.5142, allocations: 8 kB / 414.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5142, allocations: 0 / 414.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000331/0.5145, allocations: 225.5 kB / 415 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.5145, allocations: 0 / 415 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003875/0.5149, allocations: 51.95 kB / 415.1 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.515, allocations: 4 kB / 415.1 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.515, allocations: 0 / 415.1 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.515, allocations: 3.953 kB / 415.1 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.515, allocations: 4 kB / 415.1 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.5162, allocations: 347.2 kB / 415.4 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.5164, allocations: 105 kB / 415.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.24e-05/0.5165, allocations: 3.984 kB / 415.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004917/0.517, allocations: 48.03 kB / 415.6 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.517, allocations: 7.938 kB / 415.6 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.5171, allocations: 8 kB / 415.6 MB, free: 10.28 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001379/0.5172, allocations: 120 kB / 415.7 MB, free: 10.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.304e-06/0.5172, allocations: 0 / 415.7 MB, free: 10.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003544/0.5176, allocations: 27.94 kB / 415.7 MB, free: 10.13 MB / 346.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 (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.0001564/0.5177, allocations: 103.2 kB / 415.8 MB, free: 10.02 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006296/0.5184, allocations: 120 kB / 416 MB, free: 9.902 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/0.5184, allocations: 8 kB / 416 MB, free: 9.895 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003557/0.5188, allocations: 71.89 kB / 416 MB, free: 9.824 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.5191, allocations: 23.05 kB / 416.1 MB, free: 9.805 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009004/0.52, allocations: 327.6 kB / 416.4 MB, free: 9.453 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.5204, allocations: 0.7082 MB / 417.1 MB, free: 8.719 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.59e-05/0.5205, allocations: 23.42 kB / 417.1 MB, free: 8.695 MB / 346.7 MB Notification: Performance of SimCode: time 1.232e-06/0.5205, allocations: 0 / 417.1 MB, free: 8.695 MB / 346.7 MB Notification: Performance of Templates: time 0.004972/0.5254, allocations: 1.554 MB / 418.7 MB, free: 7.152 MB / 346.7 MB