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 1.825/1.825, allocations: 209.3 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004379/0.000438, allocations: 16 kB / 282.6 MB, free: 9.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2869, allocations: 48.7 MB / 331.3 MB, free: 6.488 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.128/0.4149, allocations: 83.51 MB / 414.8 MB, free: 10.89 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.4152, allocations: 79.95 kB / 414.9 MB, free: 10.81 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7634/1.179, allocations: 138.8 MB / 0.5407 GB, free: 55.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.821e-06/1.179, allocations: 4 kB / 0.5407 GB, free: 55.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002208/1.179, allocations: 119.9 kB / 0.5408 GB, free: 55.09 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: 2814 * Number of variables: 2814 Notification: Performance of Generate backend data structure: time 0.01731/1.196, allocations: 6.253 MB / 0.5469 GB, free: 48.76 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/1.196, allocations: 8.031 kB / 0.5469 GB, free: 48.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03353/1.23, allocations: 6.545 MB / 0.5533 GB, free: 42.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01107/1.241, allocations: 4.272 MB / 0.5575 GB, free: 37.85 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005445/1.241, allocations: 0.5091 MB / 0.558 GB, free: 37.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003448/1.245, allocations: 0.6482 MB / 0.5586 GB, free: 36.69 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04291/1.288, allocations: 18.13 MB / 0.5763 GB, free: 17.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002022/1.288, allocations: 39.64 kB / 0.5763 GB, free: 17.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002643/1.291, allocations: 311.8 kB / 0.5766 GB, free: 17.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003293/1.294, allocations: 2.153 MB / 0.5787 GB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03925/1.333, allocations: 17.48 MB / 0.5958 GB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3637/1.697, allocations: 61.71 MB / 0.6561 GB, free: 55.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01952/1.717, allocations: 8.431 MB / 0.6643 GB, free: 52.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02757/1.744, allocations: 11.85 MB / 0.6759 GB, free: 49.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.979e-05/1.744, allocations: 60.02 kB / 0.6759 GB, free: 49.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=321): time 8.139e-06/1.744, allocations: 0 / 0.6759 GB, free: 49.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=321): time 0.02546/1.77, allocations: 8.554 MB / 0.6843 GB, free: 47.92 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/1.77, allocations: 106 kB / 0.6844 GB, free: 47.83 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01351/1.784, allocations: 4.985 MB / 0.6893 GB, free: 47.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005908/1.784, allocations: 60.67 kB / 0.6893 GB, free: 47.37 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00542/1.79, allocations: 4.988 MB / 0.6942 GB, free: 44.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002201/1.792, allocations: 1.199 MB / 0.6954 GB, free: 43.94 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00122/1.793, allocations: 179.9 kB / 0.6955 GB, free: 43.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001166/1.794, allocations: 0.7177 MB / 0.6962 GB, free: 43.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01095/1.805, allocations: 3.087 MB / 0.6992 GB, free: 42.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0149/1.82, allocations: 8.431 MB / 0.7075 GB, free: 34.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01552/1.836, allocations: 5.166 MB / 0.7125 GB, free: 33.13 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003368/1.836, allocations: 55.41 kB / 0.7126 GB, free: 33.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=1228) (initialization): time 0.04188/1.878, allocations: 11.2 MB / 0.7235 GB, free: 29.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002409/1.878, allocations: 87.81 kB / 0.7236 GB, free: 29.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004249/1.879, allocations: 191.8 kB / 0.7238 GB, free: 29.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000543/1.88, allocations: 278.3 kB / 0.7241 GB, free: 29.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01488/1.894, allocations: 2.063 MB / 0.7261 GB, free: 29.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005574/1.895, allocations: 371.3 kB / 0.7264 GB, free: 29.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01502/1.91, allocations: 1.291 MB / 0.7277 GB, free: 28.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002619/1.913, allocations: 0.5417 MB / 0.7282 GB, free: 28.13 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 860 * 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 (1132): * Single equations (assignments): 1120 * 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 prepare postOptimizeDAE: time 0.01182/1.925, allocations: 3.695 MB / 0.7318 GB, free: 26.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001062/1.926, allocations: 481.5 kB / 0.7323 GB, free: 25.92 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002931/1.929, allocations: 0.6553 MB / 0.7329 GB, free: 25.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001866/1.929, allocations: 62.31 kB / 0.733 GB, free: 25.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.052e-05/1.929, allocations: 0 / 0.733 GB, free: 25.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.312e-05/1.929, allocations: 10.41 kB / 0.733 GB, free: 25.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0475/1.977, allocations: 12.66 MB / 0.7453 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-05/1.977, allocations: 12 kB / 0.7454 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004134/1.981, allocations: 424.9 kB / 0.7458 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-05/1.981, allocations: 24 kB / 0.7458 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004104/1.981, allocations: 70.05 kB / 0.7459 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.845e-05/1.981, allocations: 26.84 kB / 0.7459 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.379e-05/1.981, allocations: 24.41 kB / 0.7459 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01415/1.996, allocations: 6.571 MB / 0.7523 GB, free: 7.234 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002214/1.998, allocations: 0.5842 MB / 0.7529 GB, free: 6.648 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001705/2, allocations: 61.88 kB / 0.7529 GB, free: 6.594 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005364/2.005, allocations: 122.2 kB / 0.7531 GB, free: 6.512 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008421/2.006, allocations: 179.7 kB / 0.7532 GB, free: 6.383 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005967/2.007, allocations: 98.62 kB / 0.7533 GB, free: 6.293 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01196/2.019, allocations: 3.44 MB / 0.7567 GB, free: 3.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.994e-06/2.019, allocations: 0 / 0.7567 GB, free: 3.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01249/2.031, allocations: 1.983 MB / 0.7586 GB, free: 1.523 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.0007636/2.032, allocations: 206.5 kB / 0.7588 GB, free: 1.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01461/2.047, allocations: 7.108 MB / 0.7658 GB, free: 11.05 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/2.047, allocations: 0 / 0.7658 GB, free: 11.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00414/2.051, allocations: 2.002 MB / 0.7677 GB, free: 9.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003527/2.054, allocations: 0.5662 MB / 0.7683 GB, free: 8.781 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04182/2.096, allocations: 19.22 MB / 0.787 GB, free: 6.918 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0196/2.116, allocations: 5.58 MB / 0.7925 GB, free: 2.762 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003347/2.119, allocations: 450.5 kB / 0.7929 GB, free: 2.336 MB / 458.7 MB Notification: Performance of SimCode: time 2.236e-06/2.119, allocations: 0 / 0.7929 GB, free: 2.336 MB / 458.7 MB Notification: Performance of Templates: time 0.4108/2.53, allocations: 89.9 MB / 0.8807 GB, free: 75.44 MB / 458.7 MB