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.274/2.274, allocations: 234.9 MB / 250.5 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004416/0.0004418, allocations: 12 kB / 314.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2786, allocations: 54.88 MB / 369.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004071/0.2827, allocations: 2.684 MB / 371.9 MB, free: 8.129 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002589/0.2853, allocations: 1.12 MB / 373 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004096/0.2858, allocations: 19.88 kB / 373 MB, free: 6.988 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.2859, allocations: 39.52 kB / 373 MB, free: 6.949 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006059/0.2865, allocations: 151.4 kB / 373.2 MB, free: 6.801 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.2878, allocations: 391.3 kB / 373.6 MB, free: 6.418 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009645/0.2888, allocations: 0.5317 MB / 374.1 MB, free: 5.883 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004186/0.2892, allocations: 200.3 kB / 374.3 MB, free: 5.688 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004773/0.2897, allocations: 270.7 kB / 374.6 MB, free: 5.422 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000386/0.2901, allocations: 254.6 kB / 374.8 MB, free: 5.172 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.993e-05/0.2902, allocations: 20 kB / 374.8 MB, free: 5.152 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.691e-05/0.2903, allocations: 20 kB / 374.9 MB, free: 5.133 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.2904, allocations: 91.52 kB / 374.9 MB, free: 5.043 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.2906, allocations: 117.3 kB / 375.1 MB, free: 4.922 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006767/0.2913, allocations: 0.4955 MB / 375.6 MB, free: 4.426 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.161e-06/0.2913, allocations: 0 / 375.6 MB, free: 4.426 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.691e-06/0.2913, allocations: 0 / 375.6 MB, free: 4.426 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.719e-06/0.2913, allocations: 0 / 375.6 MB, free: 4.426 MB / 298.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.00241/0.2937, allocations: 1.044 MB / 376.6 MB, free: 3.332 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.2938, allocations: 8.031 kB / 376.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.294, allocations: 83.06 kB / 376.7 MB, free: 3.242 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008899/0.2949, allocations: 470.7 kB / 377.1 MB, free: 2.738 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.75e-05/0.295, allocations: 33 kB / 377.2 MB, free: 2.707 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.2951, allocations: 43.91 kB / 377.2 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.2968, allocations: 0.642 MB / 377.9 MB, free: 1.992 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.2969, allocations: 3.938 kB / 377.9 MB, free: 1.988 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.734e-05/0.2969, allocations: 16 kB / 377.9 MB, free: 1.973 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.297, allocations: 11.95 kB / 377.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/0.2989, allocations: 0.5973 MB / 378.5 MB, free: 1.367 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003775/0.3027, allocations: 1.527 MB / 380 MB, free: 15.78 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002593/0.3053, allocations: 0.8232 MB / 380.8 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.782e-05/0.3054, allocations: 11.98 kB / 380.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/0.3055, allocations: 46.5 kB / 380.9 MB, free: 14.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 4.098e-06/0.3055, allocations: 0 / 380.9 MB, free: 14.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.006228/0.3118, allocations: 2.068 MB / 383 MB, free: 12.74 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/0.3119, allocations: 187.9 kB / 383.1 MB, free: 12.51 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007442/0.3127, allocations: 471.1 kB / 383.6 MB, free: 12.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.936e-05/0.3128, allocations: 37.7 kB / 383.6 MB, free: 12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000271/0.3131, allocations: 315 kB / 384 MB, free: 11.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.3133, allocations: 177.4 kB / 384.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.3134, allocations: 12 kB / 384.1 MB, free: 11.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.3135, allocations: 330.8 kB / 384.5 MB, free: 11.17 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.3147, allocations: 328.9 kB / 384.8 MB, free: 10.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.3159, allocations: 403 kB / 385.2 MB, free: 10.44 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.317, allocations: 328.6 kB / 385.5 MB, free: 10.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.365e-06/0.317, allocations: 7.938 kB / 385.5 MB, free: 10.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002408/0.3194, allocations: 0.7574 MB / 386.3 MB, free: 9.344 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.3195, allocations: 99.61 kB / 386.4 MB, free: 9.238 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.084e-06/0.3195, allocations: 0 / 386.4 MB, free: 9.238 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.3196, allocations: 7.984 kB / 386.4 MB, free: 9.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.3207, allocations: 211.7 kB / 386.6 MB, free: 9.023 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.3207, allocations: 4 kB / 386.6 MB, free: 9.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006428/0.3213, allocations: 103.9 kB / 386.7 MB, free: 8.918 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.777e-05/0.3214, allocations: 19.98 kB / 386.7 MB, free: 8.898 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.3214, allocations: 10.66 kB / 386.7 MB, free: 8.891 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001695/0.3231, allocations: 0.5451 MB / 387.3 MB, free: 8.344 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.153e-06/0.3232, allocations: 0 / 387.3 MB, free: 8.344 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.3232, allocations: 4 kB / 387.3 MB, free: 8.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008635/0.3241, allocations: 163.8 kB / 387.4 MB, free: 8.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.3241, allocations: 0 / 387.4 MB, free: 8.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003881/0.3245, allocations: 67.89 kB / 387.5 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.762e-05/0.3246, allocations: 15.98 kB / 387.5 MB, free: 8.098 MB / 314.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 (56): * Single equations (assignments): 56 * 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.0004335/0.325, allocations: 257 kB / 387.7 MB, free: 7.836 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/0.3252, allocations: 67.2 kB / 387.8 MB, free: 7.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001827/0.3254, allocations: 70 kB / 387.9 MB, free: 7.699 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.436e-06/0.3254, allocations: 4 kB / 387.9 MB, free: 7.695 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.781e-06/0.3255, allocations: 0 / 387.9 MB, free: 7.695 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.3255, allocations: 7.984 kB / 387.9 MB, free: 7.688 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003772/0.3293, allocations: 1.477 MB / 389.4 MB, free: 6.145 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.3293, allocations: 4 kB / 389.4 MB, free: 6.141 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009613/0.3303, allocations: 167.9 kB / 389.5 MB, free: 5.977 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/0.3303, allocations: 4 kB / 389.5 MB, free: 5.973 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.935e-05/0.3304, allocations: 15.98 kB / 389.6 MB, free: 5.957 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-05/0.3304, allocations: 12 kB / 389.6 MB, free: 5.945 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.91e-06/0.3304, allocations: 0 / 389.6 MB, free: 5.945 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003749/0.3342, allocations: 1.365 MB / 390.9 MB, free: 4.555 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000375/0.3346, allocations: 180.3 kB / 391.1 MB, free: 4.359 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.3347, allocations: 11.98 kB / 391.1 MB, free: 4.348 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007304/0.3355, allocations: 107.9 kB / 391.2 MB, free: 4.242 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.3356, allocations: 43.92 kB / 391.3 MB, free: 4.199 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.273e-05/0.3357, allocations: 15.95 kB / 391.3 MB, free: 4.184 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005565/0.3363, allocations: 330.8 kB / 391.6 MB, free: 3.863 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.46e-07/0.3363, allocations: 0 / 391.6 MB, free: 3.863 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008224/0.3371, allocations: 160 kB / 391.8 MB, free: 3.707 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,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 (48): * Single equations (assignments): 48 * 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.0001869/0.3373, allocations: 115.2 kB / 391.9 MB, free: 3.582 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003275/0.3406, allocations: 1.031 MB / 392.9 MB, free: 2.547 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.988e-06/0.3407, allocations: 0 / 392.9 MB, free: 2.547 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.3419, allocations: 395.7 kB / 393.3 MB, free: 2.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009129/0.3428, allocations: 130.1 kB / 393.4 MB, free: 2.035 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00419/0.3471, allocations: 1.671 MB / 395.1 MB, free: 328 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006993/0.3478, allocations: 0.8985 MB / 396 MB, free: 15.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003312/0.3481, allocations: 59.41 kB / 396.1 MB, free: 15.34 MB / 330.7 MB Notification: Performance of SimCode: time 1.682e-06/0.3482, allocations: 0 / 396.1 MB, free: 15.34 MB / 330.7 MB Notification: Performance of Templates: time 0.01475/0.3629, allocations: 7.319 MB / 403.4 MB, free: 8.039 MB / 330.7 MB