Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.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.MultiBody.Parts.FixedRotation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fixedRotation.frame_b.r_0.1.|fixedRotation.frame_b.r_0.2.|fixedRotation.frame_b.r_0.3.|fixedRotation.frame_b.f.1.|fixedRotation.frame_b.f.2.|fixedRotation.frame_b.f.3.|fixedRotation.frame_b.t.1.|fixedRotation.frame_b.t.2.|fixedRotation.frame_b.t.3.|fixedRotation1.frame_b.r_0.1.|fixedRotation1.frame_b.r_0.2.|fixedRotation1.frame_b.r_0.3.|fixedRotation1.frame_b.f.1.|fixedRotation1.frame_b.f.2.|fixedRotation1.frame_b.f.3.|fixedRotation1.frame_b.t.1.|fixedRotation1.frame_b.t.2.|fixedRotation1.frame_b.t.3.|fixedRotation2.frame_b.r_0.1.|fixedRotation2.frame_b.r_0.2.|fixedRotation2.frame_b.r_0.3.|fixedRotation2.frame_b.f.1.|fixedRotation2.frame_b.f.2.|fixedRotation2.frame_b.f.3.|fixedRotation2.frame_b.t.1.|fixedRotation2.frame_b.t.2.|fixedRotation2.frame_b.t.3.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.FixedRotation") Notification: Performance of loadModel(ModelicaTest): time 2.045/2.045, allocations: 209.3 MB / 224.8 MB, free: 1.129 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004386/0.0004389, allocations: 15.98 kB / 282.5 MB, free: 9.754 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08778/0.08824, allocations: 48.71 MB / 331.2 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.2569/0.3452, allocations: 34.13 MB / 365.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02194/0.3672, allocations: 7.596 MB / 372.9 MB, free: 6.926 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008829/0.3761, allocations: 170.1 kB / 373.1 MB, free: 6.902 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006299/0.3824, allocations: 1.853 MB / 374.9 MB, free: 6.191 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01942/0.4019, allocations: 5.147 MB / 380.1 MB, free: 2.656 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002113/0.404, allocations: 277.2 kB / 380.4 MB, free: 2.484 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.02335/0.4274, allocations: 10.77 MB / 391.1 MB, free: 8.969 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007466/0.4349, allocations: 3.867 MB / 395 MB, free: 5.047 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003543/0.4385, allocations: 1.565 MB / 396.6 MB, free: 3.473 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003814/0.4424, allocations: 1.931 MB / 398.5 MB, free: 1.535 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001326/0.4437, allocations: 232 kB / 398.7 MB, free: 1.309 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0024/0.4462, allocations: 0.5696 MB / 399.3 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003743/0.4499, allocations: 2.38 MB / 401.7 MB, free: 14.35 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002215/0.4522, allocations: 1.325 MB / 403 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01228/0.4645, allocations: 8.137 MB / 411.1 MB, free: 4.859 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.15e-06/0.4645, allocations: 0 / 411.1 MB, free: 4.859 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.182e-06/0.4646, allocations: 0 / 411.1 MB, free: 4.859 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002385/0.4648, allocations: 0 / 411.1 MB, free: 4.859 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2814 * Number of variables: 2814 Notification: Performance of Generate backend data structure: time 0.01345/0.4783, allocations: 5.933 MB / 417.1 MB, free: 14.85 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.4783, allocations: 12.03 kB / 417.1 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03048/0.5088, allocations: 7.127 MB / 424.2 MB, free: 7.688 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00864/0.5175, allocations: 3.205 MB / 427.4 MB, free: 4.414 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004323/0.518, allocations: 323.9 kB / 427.7 MB, free: 4.094 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001995/0.52, allocations: 415.7 kB / 428.1 MB, free: 3.688 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0437/0.5637, allocations: 18.99 MB / 447.1 MB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000139/0.5639, allocations: 35.62 kB / 447.2 MB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001404/0.5653, allocations: 207.7 kB / 447.4 MB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01018/0.5755, allocations: 4.742 MB / 452.1 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04621/0.6218, allocations: 17.58 MB / 469.7 MB, free: 9.355 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.344/0.9658, allocations: 61.24 MB / 0.5185 GB, free: 78.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01916/0.985, allocations: 8.407 MB / 0.5267 GB, free: 74.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02713/1.012, allocations: 11.94 MB / 0.5384 GB, free: 68.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/1.012, allocations: 55.84 kB / 0.5384 GB, free: 68.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=321): time 8.338e-06/1.012, allocations: 1.5 kB / 0.5384 GB, free: 68.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=321): time 0.026/1.038, allocations: 8.553 MB / 0.5468 GB, free: 65.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/1.038, allocations: 98.36 kB / 0.5469 GB, free: 65.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01005/1.048, allocations: 5.613 MB / 0.5523 GB, free: 62.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004396/1.049, allocations: 67.02 kB / 0.5524 GB, free: 62.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003206/1.052, allocations: 4.972 MB / 0.5573 GB, free: 58.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001475/1.054, allocations: 1.201 MB / 0.5584 GB, free: 57.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007083/1.054, allocations: 181.7 kB / 0.5586 GB, free: 57.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006235/1.055, allocations: 0.7278 MB / 0.5593 GB, free: 56.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006523/1.062, allocations: 3.167 MB / 0.5624 GB, free: 55.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009499/1.071, allocations: 8.596 MB / 0.5708 GB, free: 46.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008779/1.08, allocations: 5.265 MB / 0.5759 GB, free: 40.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001499/1.08, allocations: 59.95 kB / 0.576 GB, free: 40.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=1263) (initialization): time 0.02336/1.103, allocations: 11.42 MB / 0.5872 GB, free: 29.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00015/1.104, allocations: 92.02 kB / 0.5872 GB, free: 29.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002094/1.104, allocations: 194.5 kB / 0.5874 GB, free: 29.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002839/1.104, allocations: 280 kB / 0.5877 GB, free: 28.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008055/1.112, allocations: 2.063 MB / 0.5897 GB, free: 26.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003057/1.113, allocations: 382.5 kB / 0.5901 GB, free: 26.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008074/1.121, allocations: 1.318 MB / 0.5914 GB, free: 24.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001467/1.122, allocations: 0.5515 MB / 0.5919 GB, free: 24.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 865 * Number of states: 0 () * Number of discrete variables: 30 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1137): * Single equations (assignments): 1119 * Array equations: 18 * 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.00688/1.129, allocations: 3.696 MB / 0.5955 GB, free: 20.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007669/1.13, allocations: 489.5 kB / 0.596 GB, free: 20.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001626/1.131, allocations: 0.6371 MB / 0.5966 GB, free: 19.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001041/1.132, allocations: 57.47 kB / 0.5967 GB, free: 19.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.021e-05/1.132, allocations: 4 kB / 0.5967 GB, free: 19.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.466e-05/1.132, allocations: 11.95 kB / 0.5967 GB, free: 19.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02519/1.157, allocations: 12.61 MB / 0.609 GB, free: 6.695 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.471e-05/1.157, allocations: 12 kB / 0.609 GB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002184/1.159, allocations: 419.3 kB / 0.6094 GB, free: 6.273 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.151e-05/1.159, allocations: 24 kB / 0.6094 GB, free: 6.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002906/1.159, allocations: 63.08 kB / 0.6095 GB, free: 6.191 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-05/1.16, allocations: 35.86 kB / 0.6095 GB, free: 6.156 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.32e-05/1.16, allocations: 19.94 kB / 0.6095 GB, free: 6.137 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006722/1.166, allocations: 4.617 MB / 0.614 GB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/1.168, allocations: 0.58 MB / 0.6146 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009787/1.169, allocations: 54.33 kB / 0.6147 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002165/1.171, allocations: 133.1 kB / 0.6148 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004536/1.171, allocations: 178.1 kB / 0.615 GB, free: 340 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002558/1.171, allocations: 101.6 kB / 0.6151 GB, free: 244 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.007918/1.179, allocations: 3.446 MB / 0.6184 GB, free: 12.81 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.181e-06/1.179, allocations: 0 / 0.6184 GB, free: 12.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009678/1.189, allocations: 1.98 MB / 0.6204 GB, free: 10.83 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 simulation (225): * Single equations (assignments): 213 * Array equations: 12 * 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.0008257/1.19, allocations: 197.3 kB / 0.6205 GB, free: 10.63 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01559/1.206, allocations: 7.228 MB / 0.6276 GB, free: 3.438 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.401e-05/1.206, allocations: 4 kB / 0.6276 GB, free: 3.434 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004299/1.21, allocations: 1.998 MB / 0.6296 GB, free: 1.441 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00336/1.213, allocations: 0.5716 MB / 0.6301 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2746/1.488, allocations: 19.31 MB / 0.649 GB, free: 139.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01297/1.501, allocations: 5.58 MB / 0.6544 GB, free: 139 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002194/1.503, allocations: 453.7 kB / 0.6548 GB, free: 139 MB / 442.7 MB Notification: Performance of SimCode: time 1.621e-06/1.503, allocations: 0 / 0.6548 GB, free: 139 MB / 442.7 MB Notification: Performance of Templates: time 0.1343/1.638, allocations: 89.67 MB / 0.7424 GB, free: 67.96 MB / 442.7 MB