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.StrictLimiters.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.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.139/2.139, allocations: 234.9 MB / 250.5 MB, free: 9.465 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004423/0.0004424, allocations: 23.94 kB / 314.4 MB, free: 9.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2755, allocations: 54.85 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1254/0.4009, allocations: 84.41 MB / 453.7 MB, free: 6.176 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/0.4012, allocations: 67.97 kB / 453.7 MB, free: 6.109 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05771/0.4589, allocations: 13.59 MB / 467.3 MB, free: 8.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.627e-06/0.459, allocations: 0 / 467.3 MB, free: 8.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.268e-05/0.4591, allocations: 16 kB / 467.3 MB, free: 8.465 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.002616/0.4617, allocations: 1.055 MB / 468.4 MB, free: 7.359 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.4618, allocations: 8.031 kB / 468.4 MB, free: 7.352 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002423/0.462, allocations: 90.97 kB / 468.5 MB, free: 7.262 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.4634, allocations: 0.5346 MB / 469 MB, free: 6.688 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.218e-05/0.4635, allocations: 32.95 kB / 469.1 MB, free: 6.652 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.4636, allocations: 47.91 kB / 469.1 MB, free: 6.605 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.4654, allocations: 0.6224 MB / 469.7 MB, free: 5.957 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.4654, allocations: 0 / 469.7 MB, free: 5.957 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.49e-05/0.4655, allocations: 20 kB / 469.7 MB, free: 5.938 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.4655, allocations: 8 kB / 469.8 MB, free: 5.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001864/0.4674, allocations: 0.5465 MB / 470.3 MB, free: 5.383 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003559/0.471, allocations: 1.457 MB / 471.8 MB, free: 3.871 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003492/0.4745, allocations: 1.048 MB / 472.8 MB, free: 2.789 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.123e-05/0.4746, allocations: 15.92 kB / 472.8 MB, free: 2.773 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.171e-05/0.4747, allocations: 42.52 kB / 472.9 MB, free: 2.723 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 4.208e-06/0.4747, allocations: 4 kB / 472.9 MB, free: 2.719 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.003537/0.4782, allocations: 0.9941 MB / 473.9 MB, free: 1.715 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.4784, allocations: 136.5 kB / 474 MB, free: 1.551 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000726/0.4791, allocations: 406.3 kB / 474.4 MB, free: 1.145 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.042e-05/0.4792, allocations: 37.7 kB / 474.4 MB, free: 1.102 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.4795, allocations: 322.9 kB / 474.7 MB, free: 0.7852 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/0.4797, allocations: 157.7 kB / 474.9 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.4798, allocations: 8 kB / 474.9 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.4799, allocations: 334.8 kB / 475.2 MB, free: 292 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2456/0.7255, allocations: 295.3 kB / 475.5 MB, free: 93.56 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/0.7269, allocations: 355.2 kB / 475.9 MB, free: 93.53 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.7281, allocations: 305.6 kB / 476.2 MB, free: 93.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.494e-06/0.7281, allocations: 3.375 kB / 476.2 MB, free: 93.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002383/0.7305, allocations: 0.7065 MB / 476.9 MB, free: 93.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.58e-05/0.7306, allocations: 188.5 kB / 477.1 MB, free: 93.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.7306, allocations: 0 / 477.1 MB, free: 93.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.809e-05/0.7307, allocations: 2.844 kB / 477.1 MB, free: 93.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.7318, allocations: 195.1 kB / 477.3 MB, free: 93.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.7319, allocations: 1.969 kB / 477.3 MB, free: 93.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006721/0.7326, allocations: 109.3 kB / 477.4 MB, free: 93.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.703e-05/0.7326, allocations: 17.44 kB / 477.4 MB, free: 93.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.7327, allocations: 3.844 kB / 477.4 MB, free: 93.3 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001603/0.7343, allocations: 0.5313 MB / 477.9 MB, free: 93.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.213e-06/0.7343, allocations: 1.812 kB / 477.9 MB, free: 93.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.999e-06/0.7343, allocations: 1.125 kB / 477.9 MB, free: 93.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009413/0.7353, allocations: 160 kB / 478.1 MB, free: 93.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.7353, allocations: 3.891 kB / 478.1 MB, free: 93.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.7357, allocations: 82.81 kB / 478.2 MB, free: 93.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.74e-05/0.7357, allocations: 13.64 kB / 478.2 MB, free: 93.29 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.000367/0.7361, allocations: 259.3 kB / 478.4 MB, free: 93.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/0.7363, allocations: 60.23 kB / 478.5 MB, free: 93.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.7365, allocations: 69.66 kB / 478.6 MB, free: 93.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.7365, allocations: 7 kB / 478.6 MB, free: 93.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.999e-06/0.7365, allocations: 2.312 kB / 478.6 MB, free: 93.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.512e-06/0.7366, allocations: 2.391 kB / 478.6 MB, free: 93.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003192/0.7398, allocations: 1.337 MB / 479.9 MB, free: 92.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.079e-06/0.7398, allocations: 1.344 kB / 479.9 MB, free: 92.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009048/0.7407, allocations: 153.3 kB / 480.1 MB, free: 92.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.195e-06/0.7407, allocations: 2.844 kB / 480.1 MB, free: 92.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.613e-05/0.7408, allocations: 18.73 kB / 480.1 MB, free: 92.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.895e-06/0.7408, allocations: 1.438 kB / 480.1 MB, free: 92.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.093e-06/0.7408, allocations: 5.078 kB / 480.1 MB, free: 92.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003398/0.7442, allocations: 1.267 MB / 481.3 MB, free: 92.53 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/0.7446, allocations: 180.9 kB / 481.5 MB, free: 92.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.7447, allocations: 10.19 kB / 481.5 MB, free: 92.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007097/0.7454, allocations: 101.1 kB / 481.6 MB, free: 92.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.7456, allocations: 40.66 kB / 481.7 MB, free: 92.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.326e-05/0.7456, allocations: 18.28 kB / 481.7 MB, free: 92.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005184/0.7462, allocations: 331 kB / 482 MB, free: 92.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.79e-07/0.7462, allocations: 0 / 482 MB, free: 92.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000883/0.7471, allocations: 195.7 kB / 482.2 MB, free: 92.29 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.0001478/0.7472, allocations: 121.1 kB / 482.3 MB, free: 92.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002846/0.7501, allocations: 0.9722 MB / 483.3 MB, free: 92.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.7501, allocations: 0 / 483.3 MB, free: 92.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.7512, allocations: 360.8 kB / 483.6 MB, free: 92.15 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008163/0.752, allocations: 126.1 kB / 483.8 MB, free: 92.15 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003552/0.7556, allocations: 1.616 MB / 485.4 MB, free: 91.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.7559, allocations: 0.8929 MB / 486.3 MB, free: 90.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003056/0.7562, allocations: 52.33 kB / 486.3 MB, free: 90.7 MB / 394.7 MB Notification: Performance of SimCode: time 1.656e-06/0.7563, allocations: 0 / 486.3 MB, free: 90.7 MB / 394.7 MB Notification: Performance of Templates: time 0.0114/0.7677, allocations: 7.222 MB / 493.6 MB, free: 88.66 MB / 394.7 MB