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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.82/1.82, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004358/0.0004359, allocations: 15.98 kB / 282.5 MB, free: 9.633 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2847, allocations: 48.7 MB / 331.2 MB, free: 6.465 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.003288/0.2881, allocations: 2.683 MB / 333.9 MB, free: 4.801 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002665/0.2908, allocations: 1.186 MB / 335.1 MB, free: 3.973 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004685/0.2913, allocations: 15.12 kB / 335.1 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.948e-05/0.2914, allocations: 44.59 kB / 335.1 MB, free: 3.938 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005884/0.292, allocations: 153.9 kB / 335.3 MB, free: 3.832 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.294, allocations: 0.6454 MB / 335.9 MB, free: 3.488 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009721/0.295, allocations: 0.5964 MB / 336.5 MB, free: 3.168 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000395/0.2954, allocations: 206.1 kB / 336.7 MB, free: 3.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005399/0.296, allocations: 326.5 kB / 337 MB, free: 2.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000365/0.2964, allocations: 256.6 kB / 337.3 MB, free: 2.805 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.422e-05/0.2965, allocations: 19.38 kB / 337.3 MB, free: 2.805 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.116e-05/0.2966, allocations: 23.84 kB / 337.3 MB, free: 2.801 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.2967, allocations: 97.72 kB / 337.4 MB, free: 2.746 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.947e-05/0.2968, allocations: 121.5 kB / 337.5 MB, free: 2.652 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000524/0.2973, allocations: 0.4934 MB / 338 MB, free: 2.281 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.004e-06/0.2973, allocations: 0 / 338 MB, free: 2.281 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.202e-06/0.2974, allocations: 1.656 kB / 338 MB, free: 2.281 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.2974, allocations: 0 / 338 MB, free: 2.281 MB / 266.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.001935/0.2993, allocations: 1.01 MB / 339 MB, free: 1.512 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.2994, allocations: 8.906 kB / 339 MB, free: 1.512 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/0.2995, allocations: 78.38 kB / 339.1 MB, free: 1.473 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007185/0.3003, allocations: 479.4 kB / 339.6 MB, free: 1.059 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.95e-05/0.3003, allocations: 34.81 kB / 339.6 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.854e-05/0.3004, allocations: 45.22 kB / 339.7 MB, free: 1.027 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.3019, allocations: 0.6103 MB / 340.3 MB, free: 0.668 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.302, allocations: 0 / 340.3 MB, free: 0.668 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.896e-05/0.302, allocations: 20.81 kB / 340.3 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.3021, allocations: 9.688 kB / 340.3 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/0.3038, allocations: 0.5747 MB / 340.9 MB, free: 428 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003508/0.3073, allocations: 1.528 MB / 342.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002642/0.31, allocations: 0.9928 MB / 343.4 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.425e-05/0.3101, allocations: 13.75 kB / 343.4 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/0.3101, allocations: 46.33 kB / 343.5 MB, free: 14.61 MB / 282.7 MB Notification: Performance of pre-optimization done (n=48): time 3.615e-06/0.3102, allocations: 0 / 343.5 MB, free: 14.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=50): time 0.005834/0.316, allocations: 1.975 MB / 345.4 MB, free: 13.57 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.3162, allocations: 186.9 kB / 345.6 MB, free: 13.35 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007804/0.317, allocations: 484 kB / 346.1 MB, free: 13.06 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.687e-05/0.3171, allocations: 43.84 kB / 346.1 MB, free: 13.01 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.3174, allocations: 315 kB / 346.4 MB, free: 12.72 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/0.3176, allocations: 176.8 kB / 346.6 MB, free: 12.57 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.3176, allocations: 10.34 kB / 346.6 MB, free: 12.56 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.3178, allocations: 326.6 kB / 346.9 MB, free: 12.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.3188, allocations: 306.2 kB / 347.2 MB, free: 12.11 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.3199, allocations: 376.3 kB / 347.6 MB, free: 11.92 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009866/0.3209, allocations: 309.5 kB / 347.9 MB, free: 11.8 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.113e-06/0.321, allocations: 4 kB / 347.9 MB, free: 11.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002304/0.3233, allocations: 0.7273 MB / 348.6 MB, free: 11.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.3233, allocations: 5.281 kB / 348.6 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.407e-06/0.3233, allocations: 1.156 kB / 348.6 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.3234, allocations: 2.625 kB / 348.6 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.3244, allocations: 200.1 kB / 348.8 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/0.3244, allocations: 10.67 kB / 348.9 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006383/0.3251, allocations: 92.42 kB / 348.9 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.378e-05/0.3252, allocations: 15 kB / 349 MB, free: 11.38 MB / 282.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 (58): * Single equations (assignments): 58 * 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.0003565/0.3255, allocations: 171.9 kB / 349.1 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/0.3257, allocations: 70.83 kB / 349.2 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002078/0.3278, allocations: 0.6898 MB / 349.9 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.3279, allocations: 5.438 kB / 349.9 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.327e-06/0.3279, allocations: 1.812 kB / 349.9 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/0.3279, allocations: 3.984 kB / 349.9 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003642/0.3315, allocations: 1.438 MB / 351.3 MB, free: 9.852 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.957e-06/0.3316, allocations: 0 / 351.3 MB, free: 9.852 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009297/0.3325, allocations: 163.9 kB / 351.5 MB, free: 9.691 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.158e-05/0.3326, allocations: 3.984 kB / 351.5 MB, free: 9.688 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.276e-05/0.3326, allocations: 16 kB / 351.5 MB, free: 9.672 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.918e-06/0.3326, allocations: 0 / 351.5 MB, free: 9.672 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/0.3327, allocations: 4 kB / 351.5 MB, free: 9.668 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003492/0.3362, allocations: 1.311 MB / 352.8 MB, free: 8.336 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003406/0.3365, allocations: 176.3 kB / 353 MB, free: 8.145 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.3367, allocations: 19.98 kB / 353 MB, free: 8.125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006994/0.3374, allocations: 87.94 kB / 353.1 MB, free: 8.039 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.3375, allocations: 43.67 kB / 353.2 MB, free: 7.996 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.608e-05/0.3376, allocations: 20 kB / 353.2 MB, free: 7.977 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005307/0.3381, allocations: 338.8 kB / 353.5 MB, free: 7.648 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.73e-07/0.3381, allocations: 0 / 353.5 MB, free: 7.648 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006069/0.3388, allocations: 96 kB / 353.6 MB, free: 7.555 MB / 282.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 (50): * Single equations (assignments): 50 * 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.000171/0.3389, allocations: 123 kB / 353.7 MB, free: 7.426 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002216/0.3412, allocations: 0.6894 MB / 354.4 MB, free: 6.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.339e-06/0.3412, allocations: 0 / 354.4 MB, free: 6.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.3423, allocations: 375.9 kB / 354.8 MB, free: 6.363 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008785/0.3432, allocations: 123.1 kB / 354.9 MB, free: 6.246 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004131/0.3474, allocations: 1.675 MB / 356.6 MB, free: 4.527 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006812/0.3481, allocations: 0.9059 MB / 357.5 MB, free: 3.594 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00031/0.3484, allocations: 55.41 kB / 357.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of SimCode: time 1.694e-06/0.3484, allocations: 3.938 kB / 357.5 MB, free: 3.535 MB / 282.7 MB Notification: Performance of Templates: time 0.01414/0.3626, allocations: 7.257 MB / 364.8 MB, free: 12.3 MB / 298.7 MB