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: 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.351/2.351, allocations: 234.9 MB / 251.1 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004432/0.0004434, allocations: 8 kB / 314.9 MB, free: 9.555 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3543, allocations: 54.86 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1577/0.5121, allocations: 81.83 MB / 451.6 MB, free: 8.801 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.5124, allocations: 67.97 kB / 451.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02013/0.5325, allocations: 4.001 MB / 455.7 MB, free: 4.727 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.356e-06/0.5326, allocations: 11.94 kB / 455.7 MB, free: 4.715 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.5326, allocations: 7.875 kB / 455.7 MB, free: 4.707 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.0009311/0.5335, allocations: 454.8 kB / 456.1 MB, free: 4.215 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.5336, allocations: 8.031 kB / 456.2 MB, free: 4.207 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.368e-05/0.5337, allocations: 15.81 kB / 456.2 MB, free: 4.191 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.534, allocations: 206.9 kB / 456.4 MB, free: 3.949 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.534, allocations: 8 kB / 456.4 MB, free: 3.941 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.5341, allocations: 4 kB / 456.4 MB, free: 3.938 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006973/0.5348, allocations: 192.1 kB / 456.6 MB, free: 3.734 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.5348, allocations: 3.953 kB / 456.6 MB, free: 3.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/0.5349, allocations: 8 kB / 456.6 MB, free: 3.723 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.5349, allocations: 4 kB / 456.6 MB, free: 3.719 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007852/0.5357, allocations: 147.9 kB / 456.7 MB, free: 3.574 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.537, allocations: 468.3 kB / 457.2 MB, free: 3.066 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.5387, allocations: 310.5 kB / 457.5 MB, free: 2.754 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.5387, allocations: 4 kB / 457.5 MB, free: 2.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.5388, allocations: 38.56 kB / 457.5 MB, free: 2.703 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 5.49e-06/0.5388, allocations: 0 / 457.5 MB, free: 2.703 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001431/0.5402, allocations: 285.3 kB / 457.8 MB, free: 2.418 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.827e-05/0.5403, allocations: 106.8 kB / 457.9 MB, free: 2.289 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.5405, allocations: 158.2 kB / 458.1 MB, free: 2.129 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.5406, allocations: 33.64 kB / 458.1 MB, free: 2.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.31e-05/0.5407, allocations: 166.5 kB / 458.3 MB, free: 1.926 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/0.5407, allocations: 27.78 kB / 458.3 MB, free: 1.898 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/0.5407, allocations: 0 / 458.3 MB, free: 1.898 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.5409, allocations: 314.8 kB / 458.6 MB, free: 1.582 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004405/0.5413, allocations: 87.94 kB / 458.7 MB, free: 1.496 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004562/0.5418, allocations: 102.5 kB / 458.8 MB, free: 1.387 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004281/0.5422, allocations: 83.91 kB / 458.9 MB, free: 1.305 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.5423, allocations: 0 / 458.9 MB, free: 1.305 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0009237/0.5432, allocations: 201.6 kB / 459.1 MB, free: 1.102 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.53e-05/0.5433, allocations: 97 kB / 459.2 MB, free: 1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5433, allocations: 0 / 459.2 MB, free: 1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.5433, allocations: 0 / 459.2 MB, free: 1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/0.5436, allocations: 43.95 kB / 459.2 MB, free: 0.957 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.5437, allocations: 0 / 459.2 MB, free: 0.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003055/0.544, allocations: 43.83 kB / 459.2 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.544, allocations: 4 kB / 459.3 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.404e-06/0.544, allocations: 5.875 kB / 459.3 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003921/0.5444, allocations: 91.88 kB / 459.3 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-06/0.5444, allocations: 0 / 459.3 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.5445, allocations: 8 kB / 459.4 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.5446, allocations: 19.98 kB / 459.4 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-06/0.5446, allocations: 3.938 kB / 459.4 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.5448, allocations: 23.92 kB / 459.4 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.5448, allocations: 0 / 459.4 MB, free: 0.7617 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.0001878/0.545, allocations: 189.1 kB / 459.6 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/0.5451, allocations: 15.86 kB / 459.6 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.473e-05/0.5452, allocations: 20.7 kB / 459.6 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.5452, allocations: 3.938 kB / 459.6 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5452, allocations: 0 / 459.6 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5452, allocations: 0 / 459.6 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003654/0.5456, allocations: 217.5 kB / 459.8 MB, free: 268 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5456, allocations: 4 kB / 459.8 MB, free: 264 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003211/0.5459, allocations: 43.92 kB / 459.9 MB, free: 220 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.5459, allocations: 0 / 459.9 MB, free: 220 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.546, allocations: 7.938 kB / 459.9 MB, free: 212 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.546, allocations: 0 / 459.9 MB, free: 212 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.546, allocations: 0 / 459.9 MB, free: 212 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.5474, allocations: 391.9 kB / 460.3 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.994e-05/0.5475, allocations: 89.05 kB / 460.4 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.934e-05/0.5476, allocations: 4.016 kB / 460.4 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005229/0.5481, allocations: 51.95 kB / 460.4 MB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.5482, allocations: 19.92 kB / 460.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.5482, allocations: 4 kB / 460.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001256/0.5484, allocations: 115.2 kB / 460.6 MB, free: 15.51 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5484, allocations: 0 / 460.6 MB, free: 15.51 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004265/0.5488, allocations: 39.84 kB / 460.6 MB, free: 15.47 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.0001625/0.549, allocations: 103.2 kB / 460.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.5501, allocations: 223.8 kB / 460.9 MB, free: 15.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.5501, allocations: 4 kB / 460.9 MB, free: 15.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004395/0.5506, allocations: 83.94 kB / 461 MB, free: 15.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.551, allocations: 19.98 kB / 461 MB, free: 15.04 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.552, allocations: 333.2 kB / 461.3 MB, free: 14.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.5524, allocations: 0.7087 MB / 462.1 MB, free: 13.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.294e-05/0.5525, allocations: 15.44 kB / 462.1 MB, free: 13.93 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5525, allocations: 3.938 kB / 462.1 MB, free: 13.93 MB / 394.7 MB Notification: Performance of Templates: time 0.004897/0.5574, allocations: 1.604 MB / 463.7 MB, free: 12.34 MB / 394.7 MB