Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.StrictLimiters.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.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadModel(ModelicaTest): time 2.376/2.376, allocations: 234.9 MB / 251.1 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006223/0.0006229, allocations: 12 kB / 314.9 MB, free: 9.617 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3662, allocations: 54.85 MB / 369.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1532/0.5195, allocations: 84.41 MB / 454.2 MB, free: 6.223 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/0.5198, allocations: 71.91 kB / 454.3 MB, free: 6.152 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06611/0.5859, allocations: 13.55 MB / 467.8 MB, free: 8.566 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.586, allocations: 0 / 467.8 MB, free: 8.566 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001131/0.5861, allocations: 15.94 kB / 467.8 MB, free: 8.551 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.003656/0.5898, allocations: 1.055 MB / 468.9 MB, free: 7.445 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.5898, allocations: 12.03 kB / 468.9 MB, free: 7.434 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003713/0.5902, allocations: 82.97 kB / 469 MB, free: 7.352 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/0.5919, allocations: 0.5308 MB / 469.5 MB, free: 6.777 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.707e-05/0.592, allocations: 36.95 kB / 469.5 MB, free: 6.738 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.5922, allocations: 43.91 kB / 469.6 MB, free: 6.695 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002383/0.5946, allocations: 0.6302 MB / 470.2 MB, free: 6.039 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.5947, allocations: 0 / 470.2 MB, free: 6.039 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.081e-05/0.5948, allocations: 16 kB / 470.2 MB, free: 6.023 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.5948, allocations: 11.98 kB / 470.2 MB, free: 6.012 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002692/0.5975, allocations: 0.5582 MB / 470.8 MB, free: 5.453 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004592/0.6021, allocations: 1.465 MB / 472.3 MB, free: 3.934 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005169/0.6074, allocations: 1.034 MB / 473.3 MB, free: 2.863 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.875e-05/0.6075, allocations: 11.98 kB / 473.3 MB, free: 2.852 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.6075, allocations: 42.52 kB / 473.4 MB, free: 2.801 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 3.025e-06/0.6076, allocations: 0 / 473.4 MB, free: 2.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.005083/0.6127, allocations: 0.9973 MB / 474.4 MB, free: 1.793 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.6128, allocations: 136.5 kB / 474.5 MB, free: 1.629 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009435/0.6138, allocations: 475.1 kB / 475 MB, free: 1.156 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001367/0.6139, allocations: 33.7 kB / 475 MB, free: 1.117 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003177/0.6143, allocations: 322.9 kB / 475.3 MB, free: 0.7969 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/0.6145, allocations: 161.6 kB / 475.5 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-05/0.6146, allocations: 8 kB / 475.5 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.6147, allocations: 326.8 kB / 475.8 MB, free: 308 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001559/0.6163, allocations: 308.7 kB / 476.1 MB, free: 0 / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3124/0.9287, allocations: 348.9 kB / 476.4 MB, free: 93.76 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00232/0.9311, allocations: 304.4 kB / 476.7 MB, free: 93.76 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/0.9311, allocations: 1.188 kB / 476.7 MB, free: 93.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.004809/0.936, allocations: 0.71 MB / 477.4 MB, free: 93.72 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.171e-05/0.9361, allocations: 101.5 kB / 477.5 MB, free: 93.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.9361, allocations: 5.234 kB / 477.5 MB, free: 93.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.4e-05/0.9362, allocations: 2.375 kB / 477.5 MB, free: 93.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002424/0.9386, allocations: 191.3 kB / 477.7 MB, free: 93.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.951e-05/0.9387, allocations: 1.406 kB / 477.7 MB, free: 93.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/0.9401, allocations: 114.8 kB / 477.8 MB, free: 93.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-05/0.9402, allocations: 19.97 kB / 477.9 MB, free: 93.62 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.9402, allocations: 4.719 kB / 477.9 MB, free: 93.62 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003063/0.9433, allocations: 0.5289 MB / 478.4 MB, free: 93.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.9434, allocations: 1.969 kB / 478.4 MB, free: 93.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.9434, allocations: 1.469 kB / 478.4 MB, free: 93.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001926/0.9453, allocations: 158.8 kB / 478.6 MB, free: 93.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.9454, allocations: 5.781 kB / 478.6 MB, free: 93.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008128/0.9462, allocations: 82.88 kB / 478.6 MB, free: 93.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.914e-05/0.9463, allocations: 16.38 kB / 478.7 MB, free: 93.61 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (52): * Single equations (assignments): 52 * 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.0005747/0.9469, allocations: 264.5 kB / 478.9 MB, free: 93.42 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002908/0.9472, allocations: 59.44 kB / 479 MB, free: 93.42 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.9475, allocations: 69.36 kB / 479 MB, free: 93.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.9475, allocations: 7.094 kB / 479 MB, free: 93.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.9475, allocations: 1.125 kB / 479 MB, free: 93.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.9476, allocations: 3.484 kB / 479.1 MB, free: 93.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005757/0.9533, allocations: 1.334 MB / 480.4 MB, free: 93.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/0.9534, allocations: 0 / 480.4 MB, free: 93.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001829/0.9552, allocations: 157.5 kB / 480.5 MB, free: 93.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.325e-05/0.9553, allocations: 1.375 kB / 480.5 MB, free: 93.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.924e-05/0.9554, allocations: 13.91 kB / 480.6 MB, free: 93.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.9554, allocations: 3.453 kB / 480.6 MB, free: 93.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.9554, allocations: 1.375 kB / 480.6 MB, free: 93.1 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006611/0.962, allocations: 1.257 MB / 481.8 MB, free: 92.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005133/0.9626, allocations: 177.8 kB / 482 MB, free: 92.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/0.9628, allocations: 12.39 kB / 482 MB, free: 92.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/0.9642, allocations: 95.41 kB / 482.1 MB, free: 92.72 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002166/0.9645, allocations: 42.11 kB / 482.1 MB, free: 92.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-05/0.9646, allocations: 15.08 kB / 482.2 MB, free: 92.72 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008277/0.9654, allocations: 327.4 kB / 482.5 MB, free: 92.64 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.9654, allocations: 0 / 482.5 MB, free: 92.64 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0015/0.967, allocations: 203 kB / 482.7 MB, free: 92.62 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (slewRateLimiter1.y,slewRateLimiter2.y,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * 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 (44): * Single equations (assignments): 44 * 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.0002388/0.9672, allocations: 113.2 kB / 482.8 MB, free: 92.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005719/0.973, allocations: 0.9758 MB / 483.8 MB, free: 92.49 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/0.973, allocations: 0 / 483.8 MB, free: 92.49 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00209/0.9751, allocations: 367.8 kB / 484.1 MB, free: 92.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.9763, allocations: 120.8 kB / 484.2 MB, free: 92.47 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005222/0.9816, allocations: 1.619 MB / 485.9 MB, free: 91.74 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.982, allocations: 0.8968 MB / 486.7 MB, free: 91.03 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004437/0.9825, allocations: 55.58 kB / 486.8 MB, free: 91.02 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.9825, allocations: 0 / 486.8 MB, free: 91.02 MB / 394.7 MB Notification: Performance of Templates: time 0.0151/0.9976, allocations: 7.231 MB / 494 MB, free: 88.92 MB / 394.7 MB