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.Continuous.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.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.Continuous") Notification: Performance of loadModel(ModelicaTest): time 1.823/1.823, allocations: 209.3 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004364/0.0004366, allocations: 8 kB / 282.5 MB, free: 9.645 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2815, allocations: 48.7 MB / 331.2 MB, free: 6.465 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.003231/0.2848, allocations: 2.606 MB / 333.8 MB, free: 4.863 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002647/0.2875, allocations: 1.378 MB / 335.2 MB, free: 3.914 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003407/0.2878, allocations: 18.88 kB / 335.2 MB, free: 3.906 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003934/0.2883, allocations: 88.67 kB / 335.3 MB, free: 3.859 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005539/0.2888, allocations: 178.1 kB / 335.4 MB, free: 3.758 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001442/0.2903, allocations: 463.4 kB / 335.9 MB, free: 3.535 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009646/0.2913, allocations: 0.5924 MB / 336.5 MB, free: 3.234 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003358/0.2916, allocations: 154.8 kB / 336.6 MB, free: 3.164 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005245/0.2922, allocations: 320 kB / 337 MB, free: 3.023 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004799/0.2927, allocations: 308.7 kB / 337.3 MB, free: 2.867 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.796e-05/0.2928, allocations: 19.41 kB / 337.3 MB, free: 2.867 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.048e-05/0.2929, allocations: 21.62 kB / 337.3 MB, free: 2.867 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.2931, allocations: 138.3 kB / 337.4 MB, free: 2.773 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.2932, allocations: 127.4 kB / 337.6 MB, free: 2.676 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005169/0.2937, allocations: 0.4989 MB / 338.1 MB, free: 2.309 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.903e-06/0.2937, allocations: 4 kB / 338.1 MB, free: 2.305 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.27e-06/0.2937, allocations: 1.469 kB / 338.1 MB, free: 2.305 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.2938, allocations: 0 / 338.1 MB, free: 2.305 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.002076/0.2959, allocations: 1.006 MB / 339.1 MB, free: 1.531 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.2959, allocations: 12.59 kB / 339.1 MB, free: 1.527 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.2961, allocations: 84.56 kB / 339.2 MB, free: 1.484 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009197/0.297, allocations: 0.4931 MB / 339.7 MB, free: 1.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.36e-05/0.2971, allocations: 33.69 kB / 339.7 MB, free: 1.055 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.975e-05/0.2972, allocations: 47.5 kB / 339.7 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.2984, allocations: 0.5438 MB / 340.3 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.2984, allocations: 1.031 kB / 340.3 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.624e-05/0.2985, allocations: 15.22 kB / 340.3 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.2985, allocations: 10.31 kB / 340.3 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.2999, allocations: 466.6 kB / 340.8 MB, free: 500 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004216/0.3041, allocations: 1.95 MB / 342.7 MB, free: 15.02 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.3057, allocations: 0.5797 MB / 343.3 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.373e-05/0.3058, allocations: 4.375 kB / 343.3 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.3059, allocations: 41.83 kB / 343.3 MB, free: 14.66 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 3.862e-06/0.3059, allocations: 4 kB / 343.3 MB, free: 14.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=43): time 0.003414/0.3093, allocations: 1.156 MB / 344.5 MB, free: 14.04 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.3094, allocations: 137.3 kB / 344.6 MB, free: 13.88 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.3106, allocations: 0.5868 MB / 345.2 MB, free: 13.54 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.52e-05/0.3106, allocations: 36.52 kB / 345.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003082/0.311, allocations: 342.1 kB / 345.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/0.3112, allocations: 172.4 kB / 345.8 MB, free: 13.03 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.3112, allocations: 10.5 kB / 345.8 MB, free: 13.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.3114, allocations: 336.6 kB / 346.1 MB, free: 12.69 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008359/0.3123, allocations: 278.3 kB / 346.4 MB, free: 12.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009598/0.3133, allocations: 387.8 kB / 346.7 MB, free: 12.32 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009016/0.3142, allocations: 307.9 kB / 347 MB, free: 12.2 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.886e-06/0.3142, allocations: 1.312 kB / 347 MB, free: 12.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002074/0.3163, allocations: 0.7168 MB / 347.8 MB, free: 11.87 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.3163, allocations: 11.98 kB / 347.8 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.3164, allocations: 1.781 kB / 347.8 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.3164, allocations: 7.156 kB / 347.8 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008257/0.3172, allocations: 148.4 kB / 347.9 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.824e-05/0.3173, allocations: 9.156 kB / 347.9 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006722/0.3179, allocations: 95.28 kB / 348 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-05/0.318, allocations: 19.12 kB / 348 MB, free: 11.77 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (68): * Single equations (assignments): 68 * 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.0003974/0.3184, allocations: 198.8 kB / 348.2 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/0.3187, allocations: 68.47 kB / 348.3 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.3189, allocations: 89.31 kB / 348.4 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.132e-06/0.3189, allocations: 4.969 kB / 348.4 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/0.3189, allocations: 5.359 kB / 348.4 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.519e-06/0.3189, allocations: 1.406 kB / 348.4 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/0.3207, allocations: 0.8332 MB / 349.2 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.048e-06/0.3208, allocations: 5.234 kB / 349.2 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008464/0.3216, allocations: 120.9 kB / 349.4 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.59e-06/0.3216, allocations: 1.438 kB / 349.4 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.34e-05/0.3217, allocations: 14.06 kB / 349.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.3217, allocations: 2.75 kB / 349.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.452e-06/0.3217, allocations: 1.469 kB / 349.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002728/0.3245, allocations: 1.18 MB / 350.6 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003647/0.3249, allocations: 195.9 kB / 350.8 MB, free: 9.906 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.325, allocations: 9.5 kB / 350.8 MB, free: 9.902 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006898/0.3257, allocations: 66.44 kB / 350.8 MB, free: 9.875 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.3259, allocations: 40.38 kB / 350.9 MB, free: 9.852 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.616e-05/0.3259, allocations: 12.25 kB / 350.9 MB, free: 9.848 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008368/0.3268, allocations: 426.3 kB / 351.3 MB, free: 9.602 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-07/0.3268, allocations: 3.938 kB / 351.3 MB, free: 9.598 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007179/0.3275, allocations: 107.2 kB / 351.4 MB, free: 9.582 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.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 (43): * Single equations (assignments): 43 * 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.0001782/0.3277, allocations: 112.6 kB / 351.5 MB, free: 9.484 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001853/0.3296, allocations: 0.6216 MB / 352.1 MB, free: 9.102 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.404e-06/0.3296, allocations: 0 / 352.1 MB, free: 9.102 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008667/0.3305, allocations: 302.4 kB / 352.4 MB, free: 8.809 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.3315, allocations: 151.1 kB / 352.6 MB, free: 8.664 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003424/0.335, allocations: 1.678 MB / 354.3 MB, free: 6.949 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007766/0.3358, allocations: 0.9489 MB / 355.2 MB, free: 5.977 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002968/0.3361, allocations: 47.42 kB / 355.3 MB, free: 5.93 MB / 282.7 MB Notification: Performance of SimCode: time 1.665e-06/0.3361, allocations: 0 / 355.3 MB, free: 5.93 MB / 282.7 MB Notification: Performance of Templates: time 0.01527/0.3514, allocations: 7.83 MB / 363.1 MB, free: 14.11 MB / 298.7 MB