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.139/2.139, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.044e-05/3.055e-05, allocations: 7.984 kB / 309.7 MB, free: 1.336 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3213, allocations: 54.86 MB / 364.5 MB, free: 5.551 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.4441, allocations: 81.75 MB / 446.3 MB, free: 14.74 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.4444, allocations: 65.41 kB / 446.3 MB, free: 14.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01847/0.4629, allocations: 4.021 MB / 450.4 MB, free: 10.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.058e-06/0.4629, allocations: 7.938 kB / 450.4 MB, free: 10.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.4629, allocations: 0 / 450.4 MB, free: 10.68 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.0006741/0.4636, allocations: 434.2 kB / 450.8 MB, free: 10.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.4637, allocations: 8.031 kB / 450.8 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.62e-05/0.4638, allocations: 19.8 kB / 450.8 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.4641, allocations: 206.8 kB / 451 MB, free: 9.941 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.4641, allocations: 8 kB / 451 MB, free: 9.934 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.4642, allocations: 4.844 kB / 451 MB, free: 9.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003131/0.4645, allocations: 125.7 kB / 451.2 MB, free: 9.793 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.4645, allocations: 4 kB / 451.2 MB, free: 9.789 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.4645, allocations: 4 kB / 451.2 MB, free: 9.785 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.203e-06/0.4646, allocations: 4 kB / 451.2 MB, free: 9.781 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.4647, allocations: 59.86 kB / 451.2 MB, free: 9.723 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.4658, allocations: 440.6 kB / 451.7 MB, free: 9.242 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005943/0.4664, allocations: 166.5 kB / 451.8 MB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.564e-05/0.4665, allocations: 28.86 kB / 451.9 MB, free: 9.039 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.4666, allocations: 0.8438 kB / 451.9 MB, free: 9.039 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.4666, allocations: 38.56 kB / 451.9 MB, free: 8.992 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.879e-06/0.4666, allocations: 0 / 451.9 MB, free: 8.992 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003048/0.467, allocations: 85.48 kB / 452 MB, free: 8.902 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.957e-05/0.4671, allocations: 114.8 kB / 452.1 MB, free: 8.766 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.4672, allocations: 140.9 kB / 452.2 MB, free: 8.625 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.4673, allocations: 25.7 kB / 452.3 MB, free: 8.594 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.4674, allocations: 170.6 kB / 452.4 MB, free: 8.426 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/0.4675, allocations: 35.69 kB / 452.5 MB, free: 8.391 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.303e-06/0.4675, allocations: 1.031 kB / 452.5 MB, free: 8.391 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4676, allocations: 314.8 kB / 452.8 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.226e-05/0.4677, allocations: 27.94 kB / 452.8 MB, free: 8.047 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.4679, allocations: 58.62 kB / 452.8 MB, free: 7.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.263e-05/0.4679, allocations: 16 kB / 452.9 MB, free: 7.965 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.413e-06/0.468, allocations: 0 / 452.9 MB, free: 7.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002282/0.4682, allocations: 81.62 kB / 452.9 MB, free: 7.879 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.014e-05/0.4683, allocations: 97 kB / 453 MB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4683, allocations: 0 / 453 MB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.4683, allocations: 0 / 453 MB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.4686, allocations: 47.98 kB / 453.1 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.4686, allocations: 5.359 kB / 453.1 MB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.4688, allocations: 35.97 kB / 453.1 MB, free: 7.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.4688, allocations: 0 / 453.1 MB, free: 7.691 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.4689, allocations: 5.406 kB / 453.1 MB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001421/0.469, allocations: 51.97 kB / 453.2 MB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.912e-06/0.469, allocations: 0 / 453.2 MB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.328e-06/0.469, allocations: 3.938 kB / 453.2 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.4692, allocations: 19.98 kB / 453.2 MB, free: 7.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.949e-06/0.4692, allocations: 0 / 453.2 MB, free: 7.613 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.4693, allocations: 23.89 kB / 453.2 MB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.4693, allocations: 4 kB / 453.2 MB, free: 7.586 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 () * 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.0001022/0.4695, allocations: 105 kB / 453.3 MB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.21e-05/0.4695, allocations: 15.86 kB / 453.3 MB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.629e-05/0.4696, allocations: 12.62 kB / 453.4 MB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.4696, allocations: 0 / 453.4 MB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.766e-06/0.4696, allocations: 11.91 kB / 453.4 MB, free: 7.434 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.75e-06/0.4697, allocations: 0 / 453.4 MB, free: 7.434 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003396/0.47, allocations: 229.5 kB / 453.6 MB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.47, allocations: 0 / 453.6 MB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.4703, allocations: 43.92 kB / 453.6 MB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.4703, allocations: 0 / 453.6 MB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.4703, allocations: 3.938 kB / 453.6 MB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.427e-06/0.4703, allocations: 0 / 453.6 MB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.069e-06/0.4704, allocations: 4 kB / 453.6 MB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/0.4708, allocations: 227.3 kB / 453.9 MB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.008e-05/0.4708, allocations: 85.05 kB / 454 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.4709, allocations: 7.891 kB / 454 MB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003619/0.4713, allocations: 56.02 kB / 454 MB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/0.4713, allocations: 7.984 kB / 454 MB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.4714, allocations: 0 / 454 MB, free: 6.699 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001208/0.4715, allocations: 118.5 kB / 454.1 MB, free: 6.586 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.11e-07/0.4715, allocations: 0 / 454.1 MB, free: 6.586 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004414/0.472, allocations: 40 kB / 454.2 MB, free: 6.547 MB / 378.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 (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.0001594/0.4721, allocations: 111.1 kB / 454.3 MB, free: 6.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002802/0.4724, allocations: 84.53 kB / 454.4 MB, free: 6.348 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.444e-06/0.4724, allocations: 0 / 454.4 MB, free: 6.348 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.908e-05/0.4726, allocations: 31.94 kB / 454.4 MB, free: 6.316 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.4729, allocations: 16.64 kB / 454.4 MB, free: 6.301 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004505/0.4733, allocations: 173.1 kB / 454.6 MB, free: 6.105 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.4737, allocations: 0.7087 MB / 455.3 MB, free: 5.371 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.799e-05/0.4738, allocations: 15.44 kB / 455.3 MB, free: 5.355 MB / 378.7 MB Notification: Performance of SimCode: time 1.598e-06/0.4738, allocations: 0 / 455.3 MB, free: 5.355 MB / 378.7 MB Notification: Performance of Templates: time 0.003879/0.4777, allocations: 1.593 MB / 456.9 MB, free: 3.773 MB / 378.7 MB