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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.877/1.877, allocations: 209.4 MB / 217.3 MB, free: 4.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.106e-05/1.11e-05, allocations: 0 / 271.3 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2581, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1122/0.3704, allocations: 75.01 MB / 395 MB, free: 5.449 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001717/0.3706, allocations: 63.97 kB / 395.1 MB, free: 5.387 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01605/0.3867, allocations: 3.709 MB / 398.8 MB, free: 1.676 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.81e-06/0.3867, allocations: 0 / 398.8 MB, free: 1.676 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.3867, allocations: 8 kB / 398.8 MB, free: 1.668 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000734/0.3875, allocations: 450.1 kB / 399.2 MB, free: 1.184 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.3875, allocations: 8.031 kB / 399.2 MB, free: 1.176 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.47e-05/0.3876, allocations: 15.81 kB / 399.3 MB, free: 1.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000572/0.3882, allocations: 262.7 kB / 399.5 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.3883, allocations: 81.11 kB / 399.6 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.261e-05/0.3884, allocations: 4 kB / 399.6 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001823/0.3886, allocations: 59.98 kB / 399.7 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.3889, allocations: 126.5 kB / 399.8 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.3889, allocations: 4 kB / 399.8 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.3889, allocations: 0 / 399.8 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.186e-06/0.389, allocations: 0 / 399.8 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.3901, allocations: 472.7 kB / 400.2 MB, free: 64 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.3904, allocations: 74.56 kB / 400.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.885e-05/0.3904, allocations: 25.08 kB / 400.3 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.3905, allocations: 0 / 400.3 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.3905, allocations: 38.56 kB / 400.4 MB, free: 15.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.971e-06/0.3905, allocations: 0 / 400.4 MB, free: 15.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002831/0.3908, allocations: 85.62 kB / 400.5 MB, free: 15.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.107e-05/0.3909, allocations: 110.8 kB / 400.6 MB, free: 15.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.3911, allocations: 134.9 kB / 400.7 MB, free: 15.54 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.3911, allocations: 25.7 kB / 400.7 MB, free: 15.51 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.3912, allocations: 178.3 kB / 400.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.3913, allocations: 19.72 kB / 400.9 MB, free: 15.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.859e-06/0.3913, allocations: 0 / 400.9 MB, free: 15.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3915, allocations: 318.8 kB / 401.2 MB, free: 15 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.517e-05/0.3916, allocations: 24 kB / 401.3 MB, free: 14.97 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.744e-05/0.3917, allocations: 42.58 kB / 401.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.662e-05/0.3918, allocations: 31.95 kB / 401.3 MB, free: 14.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.536e-06/0.3918, allocations: 0 / 401.3 MB, free: 14.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002306/0.392, allocations: 89.67 kB / 401.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.392, allocations: 8 kB / 401.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.59e-06/0.3921, allocations: 0 / 401.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3921, allocations: 3.984 kB / 401.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.3923, allocations: 51.86 kB / 401.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.276e-06/0.3924, allocations: 0 / 401.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.3925, allocations: 23.83 kB / 401.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.3925, allocations: 288 / 401.5 MB, free: 14.71 MB / 346.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 0.0001025/0.3926, allocations: 109 kB / 401.6 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.061e-05/0.3927, allocations: 11.91 kB / 401.6 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.714e-05/0.3928, allocations: 20.55 kB / 401.6 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.054e-06/0.3928, allocations: 0 / 401.6 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.283e-06/0.3928, allocations: 11.89 kB / 401.6 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.823e-06/0.3928, allocations: 0 / 401.6 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.3931, allocations: 190.1 kB / 401.8 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.141e-06/0.3931, allocations: 0 / 401.8 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.3934, allocations: 55.95 kB / 401.9 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.668e-06/0.3934, allocations: 0 / 401.9 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.3935, allocations: 8.047 kB / 401.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.066e-06/0.3935, allocations: 0 / 401.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.644e-06/0.3935, allocations: 3.938 kB / 401.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/0.3938, allocations: 207.3 kB / 402.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.394, allocations: 105 kB / 402.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.394, allocations: 4.062 kB / 402.2 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003397/0.3944, allocations: 43.95 kB / 402.3 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.3944, allocations: 11.98 kB / 402.3 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.3944, allocations: 4 kB / 402.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001021/0.3946, allocations: 107.3 kB / 402.4 MB, free: 13.76 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.57e-07/0.3946, allocations: 0 / 402.4 MB, free: 13.76 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003465/0.3949, allocations: 23.94 kB / 402.4 MB, free: 13.73 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 () * 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.0001301/0.3951, allocations: 95.25 kB / 402.5 MB, free: 13.63 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001817/0.3953, allocations: 51.92 kB / 402.5 MB, free: 13.58 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.98e-06/0.3953, allocations: 0 / 402.5 MB, free: 13.58 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.667e-05/0.3954, allocations: 28 kB / 402.6 MB, free: 13.55 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.3956, allocations: 19.94 kB / 402.6 MB, free: 13.54 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.3961, allocations: 165.3 kB / 402.7 MB, free: 13.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.3965, allocations: 0.7079 MB / 403.5 MB, free: 12.61 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.362e-05/0.3965, allocations: 19.42 kB / 403.5 MB, free: 12.59 MB / 346.7 MB Notification: Performance of SimCode: time 1.455e-06/0.3965, allocations: 4 kB / 403.5 MB, free: 12.59 MB / 346.7 MB Notification: Performance of Templates: time 0.003682/0.4002, allocations: 1.51 MB / 405 MB, free: 11.09 MB / 346.7 MB