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.15/2.15, allocations: 235 MB / 248.1 MB, free: 14.4 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.845e-05/2.865e-05, allocations: 4 kB / 309.7 MB, free: 1.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3201, allocations: 54.85 MB / 364.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1262/0.4463, allocations: 84.33 MB / 448.9 MB, free: 12.15 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.4466, allocations: 68.55 kB / 448.9 MB, free: 12.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06053/0.5071, allocations: 13.56 MB / 462.5 MB, free: 14.53 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.509e-06/0.5072, allocations: 3.984 kB / 462.5 MB, free: 14.53 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.482e-05/0.5072, allocations: 20 kB / 462.5 MB, free: 14.51 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.002322/0.5096, allocations: 0.9545 MB / 463.5 MB, free: 13.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.5096, allocations: 8.031 kB / 463.5 MB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002281/0.5099, allocations: 82.97 kB / 463.5 MB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.5113, allocations: 0.5346 MB / 464.1 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.198e-05/0.5113, allocations: 32.95 kB / 464.1 MB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.5115, allocations: 47.91 kB / 464.2 MB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.5126, allocations: 473.1 kB / 464.6 MB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.5126, allocations: 0 / 464.6 MB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.998e-05/0.5127, allocations: 24 kB / 464.6 MB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.5127, allocations: 8 kB / 464.7 MB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008958/0.5136, allocations: 307.1 kB / 465 MB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003579/0.5172, allocations: 1.46 MB / 466.4 MB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002091/0.5194, allocations: 0.6963 MB / 467.1 MB, free: 9.688 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004676/0.5198, allocations: 185.7 kB / 467.3 MB, free: 9.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.517e-05/0.5199, allocations: 11.95 kB / 467.3 MB, free: 9.488 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.52, allocations: 34.56 kB / 467.3 MB, free: 9.445 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 4.498e-06/0.52, allocations: 0 / 467.3 MB, free: 9.445 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.001169/0.5212, allocations: 417.2 kB / 467.7 MB, free: 9.027 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.646e-05/0.5213, allocations: 136.5 kB / 467.9 MB, free: 8.863 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006839/0.522, allocations: 405 kB / 468.3 MB, free: 8.461 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.908e-05/0.5221, allocations: 37.7 kB / 468.3 MB, free: 8.418 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/0.5223, allocations: 318.9 kB / 468.6 MB, free: 8.105 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000188/0.5226, allocations: 162.5 kB / 468.8 MB, free: 7.945 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.5226, allocations: 4 kB / 468.8 MB, free: 7.941 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.5228, allocations: 330.8 kB / 469.1 MB, free: 7.609 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004132/0.5232, allocations: 140.9 kB / 469.2 MB, free: 7.473 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000486/0.5237, allocations: 196.2 kB / 469.4 MB, free: 7.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000401/0.5241, allocations: 149.6 kB / 469.6 MB, free: 7.125 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.514e-06/0.5241, allocations: 0 / 469.6 MB, free: 7.125 MB / 394.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001058/0.5252, allocations: 399.9 kB / 470 MB, free: 6.727 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.5253, allocations: 191 kB / 470.2 MB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.531e-06/0.5254, allocations: 5.344 kB / 470.2 MB, free: 6.527 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.5254, allocations: 4 kB / 470.2 MB, free: 6.523 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.5267, allocations: 195.8 kB / 470.4 MB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.5267, allocations: 0 / 470.4 MB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000725/0.5275, allocations: 111.6 kB / 470.5 MB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/0.5276, allocations: 19.98 kB / 470.5 MB, free: 6.203 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.5276, allocations: 4 kB / 470.5 MB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008972/0.5285, allocations: 342.4 kB / 470.8 MB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.235e-06/0.5285, allocations: 0 / 470.8 MB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.5285, allocations: 7.953 kB / 470.8 MB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.5296, allocations: 155.8 kB / 471 MB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.5296, allocations: 7.938 kB / 471 MB, free: 5.699 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004027/0.53, allocations: 79.64 kB / 471.1 MB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.908e-05/0.5301, allocations: 16 kB / 471.1 MB, free: 5.605 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 () * 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.0001988/0.5303, allocations: 124.9 kB / 471.2 MB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/0.5305, allocations: 67.17 kB / 471.3 MB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001921/0.5307, allocations: 65.8 kB / 471.3 MB, free: 5.348 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.5307, allocations: 15.94 kB / 471.4 MB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.459e-06/0.5308, allocations: 4 kB / 471.4 MB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.5308, allocations: 0 / 471.4 MB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/0.5332, allocations: 1.077 MB / 472.4 MB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.914e-06/0.5332, allocations: 3.953 kB / 472.4 MB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.5342, allocations: 155.8 kB / 472.6 MB, free: 4.035 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.838e-06/0.5342, allocations: 3.938 kB / 472.6 MB, free: 4.031 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.156e-05/0.5343, allocations: 19.98 kB / 472.6 MB, free: 4.012 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.5343, allocations: 4 kB / 472.6 MB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.35e-06/0.5344, allocations: 0 / 472.6 MB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.5361, allocations: 0.81 MB / 473.4 MB, free: 3.168 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003121/0.5364, allocations: 180.2 kB / 473.6 MB, free: 2.973 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.5365, allocations: 8 kB / 473.6 MB, free: 2.965 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007561/0.5373, allocations: 95.92 kB / 473.7 MB, free: 2.871 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.5374, allocations: 39.94 kB / 473.7 MB, free: 2.832 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.185e-05/0.5375, allocations: 15.98 kB / 473.8 MB, free: 2.816 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005441/0.5381, allocations: 321.6 kB / 474.1 MB, free: 2.504 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.52e-07/0.5381, allocations: 0 / 474.1 MB, free: 2.504 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008996/0.539, allocations: 203.3 kB / 474.3 MB, free: 2.305 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 () * 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.0001953/0.5392, allocations: 119.1 kB / 474.4 MB, free: 2.176 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001493/0.5407, allocations: 0.5602 MB / 474.9 MB, free: 1.621 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.28e-06/0.5407, allocations: 0 / 474.9 MB, free: 1.621 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005107/0.5413, allocations: 211.3 kB / 475.2 MB, free: 1.414 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009132/0.5422, allocations: 131.7 kB / 475.3 MB, free: 1.293 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/0.5454, allocations: 1.048 MB / 476.3 MB, free: 216 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006591/0.5461, allocations: 0.8941 MB / 477.2 MB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003252/0.5465, allocations: 55.41 kB / 477.3 MB, free: 15.23 MB / 410.7 MB Notification: Performance of SimCode: time 1.797e-06/0.5465, allocations: 3.938 kB / 477.3 MB, free: 15.23 MB / 410.7 MB Notification: Performance of Templates: time 0.01387/0.5604, allocations: 7.22 MB / 484.5 MB, free: 8.039 MB / 410.7 MB