Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.StrictLimiters.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadModel(ModelicaTest): time 1.935/1.935, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.121e-05/2.12e-05, allocations: 0 / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2752, allocations: 48.69 MB / 320 MB, free: 14.38 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1201/0.3954, allocations: 77.84 MB / 397.8 MB, free: 2.598 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.3956, allocations: 59.97 kB / 397.9 MB, free: 2.539 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08624/0.4819, allocations: 18.22 MB / 416.1 MB, free: 300 kB / 346.7 MB Notification: Performance of FrontEnd: time 5.761e-06/0.4819, allocations: 4 kB / 416.1 MB, free: 296 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.561e-05/0.482, allocations: 12 kB / 416.1 MB, free: 284 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.002568/0.4846, allocations: 1.029 MB / 417.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.4847, allocations: 12.03 kB / 417.2 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003418/0.485, allocations: 91.02 kB / 417.3 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.4868, allocations: 0.6051 MB / 417.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.822e-05/0.4869, allocations: 16 kB / 417.9 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.487, allocations: 24 kB / 417.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008258/0.4879, allocations: 306.6 kB / 418.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.4889, allocations: 440.2 kB / 418.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.4889, allocations: 0 / 418.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.019e-05/0.489, allocations: 4 kB / 418.6 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.4891, allocations: 15.94 kB / 418.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003497/0.4926, allocations: 1.404 MB / 420.1 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.4939, allocations: 0.6601 MB / 420.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000419/0.4944, allocations: 181.7 kB / 420.9 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.211e-05/0.4945, allocations: 11.98 kB / 420.9 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.4945, allocations: 38.56 kB / 420.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 4.018e-06/0.4945, allocations: 0 / 420.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.001082/0.4956, allocations: 397.8 kB / 421.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.97e-05/0.4957, allocations: 132.5 kB / 421.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006278/0.4964, allocations: 390.4 kB / 421.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.854e-05/0.4964, allocations: 25.7 kB / 421.9 MB, free: 10.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002732/0.4967, allocations: 326.9 kB / 422.2 MB, free: 9.914 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/0.4969, allocations: 153.7 kB / 422.3 MB, free: 9.762 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.497, allocations: 0 / 422.3 MB, free: 9.762 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.4971, allocations: 330.8 kB / 422.7 MB, free: 9.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003615/0.4975, allocations: 136.9 kB / 422.8 MB, free: 9.297 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004486/0.498, allocations: 187.3 kB / 423 MB, free: 9.105 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003663/0.4984, allocations: 148.7 kB / 423.1 MB, free: 8.957 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.975e-06/0.4984, allocations: 0 / 423.1 MB, free: 8.957 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009529/0.4994, allocations: 379.8 kB / 423.5 MB, free: 8.582 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.4994, allocations: 7.984 kB / 423.5 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.326e-06/0.4994, allocations: 3.938 kB / 423.5 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.4994, allocations: 4 kB / 423.5 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.5006, allocations: 183.7 kB / 423.7 MB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.5006, allocations: 4 kB / 423.7 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006287/0.5013, allocations: 91.62 kB / 423.8 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.934e-05/0.5014, allocations: 19.98 kB / 423.8 MB, free: 8.273 MB / 362.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 (54): * Single equations (assignments): 54 * 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.0001672/0.5015, allocations: 108.9 kB / 423.9 MB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.5017, allocations: 63.25 kB / 424 MB, free: 8.098 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.5028, allocations: 408.5 kB / 424.4 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.833e-06/0.5028, allocations: 4 kB / 424.4 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.354e-06/0.5028, allocations: 4 kB / 424.4 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.962e-06/0.5029, allocations: 4 kB / 424.4 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/0.5051, allocations: 1.026 MB / 425.4 MB, free: 6.602 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.381e-06/0.5052, allocations: 0 / 425.4 MB, free: 6.602 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008964/0.5061, allocations: 151.8 kB / 425.6 MB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.927e-06/0.5061, allocations: 0 / 425.6 MB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-05/0.5062, allocations: 11.98 kB / 425.6 MB, free: 6.441 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.968e-06/0.5062, allocations: 12 kB / 425.6 MB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.993e-06/0.5062, allocations: 0 / 425.6 MB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.5078, allocations: 0.7942 MB / 426.4 MB, free: 5.617 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003165/0.5081, allocations: 184.1 kB / 426.5 MB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.793e-05/0.5082, allocations: 4 kB / 426.6 MB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006746/0.5089, allocations: 67.94 kB / 426.6 MB, free: 5.348 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.5091, allocations: 43.94 kB / 426.7 MB, free: 5.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.558e-05/0.5091, allocations: 19.94 kB / 426.7 MB, free: 5.285 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004971/0.5096, allocations: 306.9 kB / 427 MB, free: 4.988 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.09e-07/0.5097, allocations: 0 / 427 MB, free: 4.988 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006452/0.5103, allocations: 103.6 kB / 427.1 MB, free: 4.887 MB / 362.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 (46): * Single equations (assignments): 46 * 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.0001723/0.5105, allocations: 99.19 kB / 427.2 MB, free: 4.781 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008735/0.5114, allocations: 353.7 kB / 427.5 MB, free: 4.434 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.192e-06/0.5114, allocations: 4 kB / 427.5 MB, free: 4.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004481/0.5119, allocations: 207.8 kB / 427.7 MB, free: 4.227 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007999/0.5127, allocations: 114 kB / 427.8 MB, free: 4.113 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.5157, allocations: 1.04 MB / 428.9 MB, free: 3.035 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006848/0.5164, allocations: 0.9019 MB / 429.8 MB, free: 2.105 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003058/0.5168, allocations: 55.41 kB / 429.8 MB, free: 2.051 MB / 362.7 MB Notification: Performance of SimCode: time 1.523e-06/0.5168, allocations: 0 / 429.8 MB, free: 2.051 MB / 362.7 MB Notification: Performance of Templates: time 0.01382/0.5306, allocations: 7.133 MB / 437 MB, free: 10.95 MB / 378.7 MB