Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.264/2.264, allocations: 234.9 MB / 251.1 MB, free: 10.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004468/0.0004468, allocations: 16 kB / 314.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3431, allocations: 54.88 MB / 369.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1644/0.5076, allocations: 90.07 MB / 459.9 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.508, allocations: 75.97 kB / 460 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8661/1.374, allocations: 139.1 MB / 0.585 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.106e-06/1.374, allocations: 0 / 0.585 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003774/1.375, allocations: 120 kB / 0.5852 GB, free: 0.7617 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.02481/1.399, allocations: 6.256 MB / 0.5913 GB, free: 10.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/1.399, allocations: 8.031 kB / 0.5913 GB, free: 10.42 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05646/1.456, allocations: 6.541 MB / 0.5977 GB, free: 3.852 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02166/1.478, allocations: 4.28 MB / 0.6018 GB, free: 15.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001066/1.479, allocations: 0.5052 MB / 0.6023 GB, free: 15 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005714/1.484, allocations: 0.656 MB / 0.603 GB, free: 14.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06651/1.551, allocations: 18.17 MB / 0.6207 GB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002852/1.551, allocations: 35.62 kB / 0.6207 GB, free: 11.36 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004054/1.555, allocations: 315.7 kB / 0.6211 GB, free: 11.05 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005223/1.561, allocations: 2.153 MB / 0.6232 GB, free: 8.891 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05425/1.615, allocations: 17.47 MB / 0.6402 GB, free: 7.398 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4547/2.07, allocations: 61.72 MB / 0.7005 GB, free: 68.72 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02262/2.092, allocations: 8.419 MB / 0.7087 GB, free: 66.34 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03251/2.125, allocations: 11.85 MB / 0.7203 GB, free: 62.49 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/2.125, allocations: 60.38 kB / 0.7203 GB, free: 62.43 MB / 474.7 MB Notification: Performance of pre-optimization done (n=321): time 7.133e-06/2.125, allocations: 0 / 0.7203 GB, free: 62.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=321): time 0.02955/2.155, allocations: 8.544 MB / 0.7287 GB, free: 59.29 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/2.155, allocations: 100.8 kB / 0.7288 GB, free: 59.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01259/2.167, allocations: 5.579 MB / 0.7342 GB, free: 57.35 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005697/2.168, allocations: 57.67 kB / 0.7343 GB, free: 57.29 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004171/2.172, allocations: 4.986 MB / 0.7391 GB, free: 54.02 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001836/2.174, allocations: 1.192 MB / 0.7403 GB, free: 53.16 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00107/2.175, allocations: 180.8 kB / 0.7405 GB, free: 53.02 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006985/2.176, allocations: 0.7292 MB / 0.7412 GB, free: 52.54 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00762/2.184, allocations: 3.085 MB / 0.7442 GB, free: 51.62 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01144/2.195, allocations: 8.47 MB / 0.7525 GB, free: 43.55 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01112/2.206, allocations: 5.168 MB / 0.7575 GB, free: 41.95 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001918/2.206, allocations: 56 kB / 0.7576 GB, free: 41.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=1228) (initialization): time 0.02714/2.234, allocations: 11.19 MB / 0.7685 GB, free: 31.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001357/2.234, allocations: 88 kB / 0.7686 GB, free: 31.89 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002596/2.234, allocations: 188 kB / 0.7688 GB, free: 31.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002751/2.234, allocations: 276 kB / 0.769 GB, free: 31.44 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01225/2.247, allocations: 2.071 MB / 0.7711 GB, free: 29.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003622/2.247, allocations: 370.5 kB / 0.7714 GB, free: 29.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009493/2.257, allocations: 1.297 MB / 0.7727 GB, free: 28.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001974/2.259, allocations: 0.5343 MB / 0.7732 GB, free: 27.51 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.009397/2.268, allocations: 3.7 MB / 0.7768 GB, free: 24.34 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/2.269, allocations: 488.9 kB / 0.7773 GB, free: 23.86 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002117/2.271, allocations: 0.6502 MB / 0.7779 GB, free: 23.26 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001329/2.271, allocations: 51.94 kB / 0.778 GB, free: 23.21 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.687e-05/2.271, allocations: 8 kB / 0.778 GB, free: 23.21 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.242e-05/2.271, allocations: 10.12 kB / 0.778 GB, free: 23.21 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03242/2.304, allocations: 12.64 MB / 0.7903 GB, free: 12.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.677e-05/2.304, allocations: 16 kB / 0.7903 GB, free: 12.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003535/2.307, allocations: 425.3 kB / 0.7908 GB, free: 11.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.65e-05/2.308, allocations: 32.7 kB / 0.7908 GB, free: 11.95 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003313/2.308, allocations: 55.36 kB / 0.7908 GB, free: 11.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.939e-05/2.308, allocations: 35.83 kB / 0.7909 GB, free: 11.87 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.575e-05/2.308, allocations: 23.88 kB / 0.7909 GB, free: 11.84 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0083/2.316, allocations: 4.614 MB / 0.7954 GB, free: 7.41 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001554/2.318, allocations: 0.5858 MB / 0.796 GB, free: 6.82 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001491/2.319, allocations: 63.06 kB / 0.796 GB, free: 6.766 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003232/2.323, allocations: 126.8 kB / 0.7962 GB, free: 6.68 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005351/2.323, allocations: 174.3 kB / 0.7963 GB, free: 6.562 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002735/2.324, allocations: 95.75 kB / 0.7964 GB, free: 6.473 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008146/2.332, allocations: 3.442 MB / 0.7998 GB, free: 3.676 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.81e-07/2.332, allocations: 0 / 0.7998 GB, free: 3.676 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01015/2.342, allocations: 1.992 MB / 0.8017 GB, free: 1.688 MB / 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.0009362/2.343, allocations: 197.9 kB / 0.8019 GB, free: 1.496 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01715/2.36, allocations: 7.107 MB / 0.8088 GB, free: 11.22 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.54e-05/2.36, allocations: 448 / 0.8088 GB, free: 11.22 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004868/2.365, allocations: 2.001 MB / 0.8108 GB, free: 9.445 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004012/2.369, allocations: 0.5607 MB / 0.8113 GB, free: 8.953 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04814/2.417, allocations: 19.27 MB / 0.8302 GB, free: 6.641 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01534/2.433, allocations: 5.596 MB / 0.8356 GB, free: 1.039 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002775/2.435, allocations: 447.4 kB / 0.8361 GB, free: 0.6055 MB / 0.4948 GB Notification: Performance of SimCode: time 1.353e-06/2.435, allocations: 0 / 0.8361 GB, free: 0.6055 MB / 0.4948 GB Notification: Performance of Templates: time 0.7685/3.204, allocations: 89.9 MB / 0.9239 GB, free: 86.77 MB / 0.4948 GB