Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.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.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.2_cpp_ModelicaTest.MultiBody.Parts.FixedRotation") Notification: Performance of loadModel(ModelicaTest): time 2.11/2.11, allocations: 234.9 MB / 250.5 MB, free: 9.531 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004316/0.0004317, allocations: 15.98 kB / 314.4 MB, free: 9.543 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2727, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1415/0.4143, allocations: 90.09 MB / 459.4 MB, free: 496 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.4146, allocations: 83.89 kB / 459.4 MB, free: 412 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7444/1.159, allocations: 138.8 MB / 0.5842 GB, free: 1.016 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.046e-06/1.159, allocations: 0 / 0.5842 GB, free: 1.016 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002706/1.159, allocations: 116 kB / 0.5843 GB, free: 0.9023 MB / 410.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.01955/1.179, allocations: 6.256 MB / 0.5904 GB, free: 10.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/1.179, allocations: 16.03 kB / 0.5905 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03517/1.214, allocations: 6.533 MB / 0.5968 GB, free: 3.992 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01289/1.227, allocations: 4.28 MB / 0.601 GB, free: 15.64 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007704/1.228, allocations: 0.509 MB / 0.6015 GB, free: 15.13 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003722/1.232, allocations: 0.6482 MB / 0.6021 GB, free: 14.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04996/1.282, allocations: 18.12 MB / 0.6198 GB, free: 11.59 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002357/1.282, allocations: 35.62 kB / 0.6199 GB, free: 11.55 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003263/1.285, allocations: 311.8 kB / 0.6202 GB, free: 11.25 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004198/1.289, allocations: 2.149 MB / 0.6223 GB, free: 9.094 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04483/1.334, allocations: 17.48 MB / 0.6394 GB, free: 7.582 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4189/1.753, allocations: 61.72 MB / 0.6996 GB, free: 68.56 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01866/1.772, allocations: 8.442 MB / 0.7079 GB, free: 66.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02621/1.798, allocations: 11.84 MB / 0.7194 GB, free: 62.37 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/1.798, allocations: 58.25 kB / 0.7195 GB, free: 62.32 MB / 474.7 MB Notification: Performance of pre-optimization done (n=321): time 7.989e-06/1.798, allocations: 3.781 kB / 0.7195 GB, free: 62.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=321): time 0.02439/1.823, allocations: 8.547 MB / 0.7278 GB, free: 59.17 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/1.823, allocations: 103.3 kB / 0.7279 GB, free: 59.07 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01024/1.833, allocations: 4.991 MB / 0.7328 GB, free: 57.43 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000412/1.833, allocations: 57.64 kB / 0.7329 GB, free: 57.37 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003342/1.837, allocations: 4.984 MB / 0.7377 GB, free: 54.14 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001481/1.838, allocations: 1.195 MB / 0.7389 GB, free: 53.28 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008498/1.839, allocations: 180.9 kB / 0.7391 GB, free: 53.14 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006945/1.84, allocations: 0.7192 MB / 0.7398 GB, free: 52.66 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006274/1.846, allocations: 3.085 MB / 0.7428 GB, free: 51.74 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00948/1.856, allocations: 8.438 MB / 0.751 GB, free: 43.68 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009053/1.865, allocations: 5.166 MB / 0.7561 GB, free: 42.09 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000158/1.865, allocations: 56.25 kB / 0.7561 GB, free: 42.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=1228) (initialization): time 0.02322/1.888, allocations: 11.19 MB / 0.7671 GB, free: 32.72 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001411/1.888, allocations: 88 kB / 0.7671 GB, free: 32.64 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002146/1.889, allocations: 188 kB / 0.7673 GB, free: 32.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002915/1.889, allocations: 279.9 kB / 0.7676 GB, free: 32.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008019/1.897, allocations: 2.069 MB / 0.7696 GB, free: 30.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003784/1.897, allocations: 372.5 kB / 0.77 GB, free: 30.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008363/1.906, allocations: 1.297 MB / 0.7712 GB, free: 28.78 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001641/1.907, allocations: 0.5394 MB / 0.7718 GB, free: 28.25 MB / 474.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.008079/1.916, allocations: 3.691 MB / 0.7754 GB, free: 25.08 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008409/1.916, allocations: 492 kB / 0.7758 GB, free: 24.59 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001902/1.918, allocations: 0.6515 MB / 0.7765 GB, free: 24 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001121/1.918, allocations: 51.67 kB / 0.7765 GB, free: 23.95 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.353e-05/1.919, allocations: 2.344 kB / 0.7765 GB, free: 23.95 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.552e-05/1.919, allocations: 18.31 kB / 0.7765 GB, free: 23.95 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02752/1.946, allocations: 12.64 MB / 0.7889 GB, free: 13.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.727e-05/1.946, allocations: 16 kB / 0.7889 GB, free: 13.06 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002227/1.948, allocations: 424.5 kB / 0.7893 GB, free: 12.72 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.028e-05/1.948, allocations: 27.84 kB / 0.7893 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000302/1.949, allocations: 63.44 kB / 0.7894 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.788e-05/1.949, allocations: 36.02 kB / 0.7894 GB, free: 12.61 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.529e-05/1.949, allocations: 23.88 kB / 0.7894 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007456/1.956, allocations: 6.563 MB / 0.7958 GB, free: 5.926 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/1.958, allocations: 0.5904 MB / 0.7964 GB, free: 5.332 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001038/1.959, allocations: 55.8 kB / 0.7965 GB, free: 5.281 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002426/1.961, allocations: 128.4 kB / 0.7966 GB, free: 5.199 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004948/1.962, allocations: 178.3 kB / 0.7968 GB, free: 5.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002661/1.962, allocations: 103 kB / 0.7969 GB, free: 4.977 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00702/1.969, allocations: 3.433 MB / 0.8002 GB, free: 2.188 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.73e-07/1.969, allocations: 0 / 0.8002 GB, free: 2.188 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009625/1.979, allocations: 1.987 MB / 0.8022 GB, free: 212 kB / 474.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.0007635/1.979, allocations: 202.9 kB / 0.8024 GB, free: 8 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0153/1.995, allocations: 7.112 MB / 0.8093 GB, free: 9.742 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.495e-05/1.995, allocations: 4 kB / 0.8093 GB, free: 9.738 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004148/1.999, allocations: 1.994 MB / 0.8113 GB, free: 7.969 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003476/2.003, allocations: 0.5764 MB / 0.8118 GB, free: 7.477 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04334/2.046, allocations: 19.22 MB / 0.8306 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2976/2.344, allocations: 5.579 MB / 0.836 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00226/2.346, allocations: 447.3 kB / 0.8365 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.88e-06/2.346, allocations: 0.5938 kB / 0.8365 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.1363/2.482, allocations: 89.91 MB / 0.9243 GB, free: 87.25 MB / 0.4948 GB