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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.166/2.166, allocations: 235.1 MB / 243 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.939e-05/1.951e-05, allocations: 4 kB / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2726, allocations: 54.85 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1258/0.3984, allocations: 83.66 MB / 441.7 MB, free: 11.17 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.3987, allocations: 63.97 kB / 441.8 MB, free: 11.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0573/0.456, allocations: 13.47 MB / 455.2 MB, free: 13.61 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.187e-06/0.4561, allocations: 0 / 455.2 MB, free: 13.61 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.093e-05/0.4561, allocations: 19.94 kB / 455.2 MB, free: 13.59 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.002229/0.4584, allocations: 0.947 MB / 456.2 MB, free: 12.6 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.4584, allocations: 8.031 kB / 456.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002374/0.4587, allocations: 83.05 kB / 456.3 MB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.4601, allocations: 0.5349 MB / 456.8 MB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.032e-05/0.4602, allocations: 19.95 kB / 456.8 MB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.876e-05/0.4603, allocations: 35.88 kB / 456.9 MB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008271/0.4611, allocations: 298.6 kB / 457.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00097/0.4621, allocations: 422.6 kB / 457.6 MB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.4622, allocations: 0 / 457.6 MB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.157e-05/0.4622, allocations: 3.938 kB / 457.6 MB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.4622, allocations: 15.94 kB / 457.6 MB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003398/0.4657, allocations: 1.373 MB / 459 MB, free: 9.715 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/0.4676, allocations: 0.6714 MB / 459.6 MB, free: 9.008 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004161/0.4681, allocations: 177.7 kB / 459.8 MB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.387e-05/0.4681, allocations: 15.92 kB / 459.8 MB, free: 8.812 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.4682, allocations: 42.55 kB / 459.9 MB, free: 8.762 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 3.9e-06/0.4682, allocations: 0 / 459.9 MB, free: 8.762 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.001086/0.4693, allocations: 385.7 kB / 460.2 MB, free: 8.375 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.313e-05/0.4694, allocations: 136.3 kB / 460.4 MB, free: 8.211 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006266/0.47, allocations: 390.3 kB / 460.8 MB, free: 7.824 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.887e-05/0.4701, allocations: 25.7 kB / 460.8 MB, free: 7.793 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002611/0.4704, allocations: 318.9 kB / 461.1 MB, free: 7.477 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.4706, allocations: 149.8 kB / 461.2 MB, free: 7.328 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.4706, allocations: 0 / 461.2 MB, free: 7.328 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.4708, allocations: 326.8 kB / 461.6 MB, free: 7 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003766/0.4712, allocations: 144.8 kB / 461.7 MB, free: 6.859 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004344/0.4716, allocations: 191.3 kB / 461.9 MB, free: 6.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.472, allocations: 140.8 kB / 462 MB, free: 6.523 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.006e-06/0.472, allocations: 0 / 462 MB, free: 6.523 MB / 394.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009753/0.473, allocations: 379.8 kB / 462.4 MB, free: 6.148 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.4732, allocations: 183.7 kB / 462.6 MB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.138e-06/0.4732, allocations: 4 kB / 462.6 MB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.4732, allocations: 4.031 kB / 462.6 MB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.4744, allocations: 191.8 kB / 462.8 MB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.616e-06/0.4745, allocations: 4 kB / 462.8 MB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007313/0.4752, allocations: 99.61 kB / 462.9 MB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.343e-05/0.4753, allocations: 19.98 kB / 462.9 MB, free: 5.641 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.4753, allocations: 4 kB / 462.9 MB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008079/0.4761, allocations: 302.4 kB / 463.2 MB, free: 5.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.517e-06/0.4762, allocations: 4 kB / 463.2 MB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.4762, allocations: 4 kB / 463.2 MB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009679/0.4771, allocations: 159.8 kB / 463.4 MB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.912e-06/0.4772, allocations: 4 kB / 463.4 MB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003985/0.4776, allocations: 79.5 kB / 463.4 MB, free: 5.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-05/0.4776, allocations: 12 kB / 463.4 MB, free: 5.082 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.000181/0.4778, allocations: 112.9 kB / 463.6 MB, free: 4.965 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.4781, allocations: 55.34 kB / 463.6 MB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/0.4783, allocations: 70.03 kB / 463.7 MB, free: 4.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.256e-06/0.4783, allocations: 4 kB / 463.7 MB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.904e-06/0.4783, allocations: 7.984 kB / 463.7 MB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.283e-06/0.4783, allocations: 4 kB / 463.7 MB, free: 4.824 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002179/0.4805, allocations: 0.9991 MB / 464.7 MB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.001e-06/0.4806, allocations: 0 / 464.7 MB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009466/0.4815, allocations: 155.8 kB / 464.8 MB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.4815, allocations: 0 / 464.8 MB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.382e-05/0.4816, allocations: 11.94 kB / 464.9 MB, free: 3.613 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.166e-05/0.4816, allocations: 15.94 kB / 464.9 MB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.4816, allocations: 0 / 464.9 MB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.4832, allocations: 0.7788 MB / 465.6 MB, free: 2.793 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003213/0.4835, allocations: 180.2 kB / 465.8 MB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.4837, allocations: 3.953 kB / 465.8 MB, free: 2.594 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007603/0.4844, allocations: 91.91 kB / 465.9 MB, free: 2.504 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.4846, allocations: 35.94 kB / 466 MB, free: 2.469 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.565e-05/0.4847, allocations: 19.98 kB / 466 MB, free: 2.449 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000484/0.4852, allocations: 291 kB / 466.3 MB, free: 2.168 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.54e-07/0.4852, allocations: 0 / 466.3 MB, free: 2.168 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008611/0.486, allocations: 171.4 kB / 466.4 MB, free: 2 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.0001861/0.4862, allocations: 115.1 kB / 466.5 MB, free: 1.879 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.4876, allocations: 0.5344 MB / 467.1 MB, free: 1.348 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.099e-06/0.4876, allocations: 0 / 467.1 MB, free: 1.348 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004557/0.4881, allocations: 191.8 kB / 467.3 MB, free: 1.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008491/0.4889, allocations: 121.4 kB / 467.4 MB, free: 1.043 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2393/0.7283, allocations: 1.029 MB / 468.4 MB, free: 97.38 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006021/0.7289, allocations: 0.8941 MB / 469.3 MB, free: 96.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003861/0.7293, allocations: 52.25 kB / 469.4 MB, free: 96.68 MB / 394.7 MB Notification: Performance of SimCode: time 2.407e-06/0.7294, allocations: 0 / 469.4 MB, free: 96.68 MB / 394.7 MB Notification: Performance of Templates: time 0.0148/0.7442, allocations: 7.19 MB / 476.5 MB, free: 96.39 MB / 394.7 MB