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.155/2.155, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.747e-05/2.761e-05, allocations: 7.984 kB / 309.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3178, allocations: 54.86 MB / 364.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1331/0.451, allocations: 90 MB / 454.5 MB, free: 6.477 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.4512, allocations: 77.36 kB / 454.6 MB, free: 6.402 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8709/1.322, allocations: 139 MB / 0.5797 GB, free: 102.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.28e-06/1.322, allocations: 0 / 0.5797 GB, free: 102.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002036/1.322, allocations: 117.3 kB / 0.5798 GB, free: 102.9 MB / 458.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.0152/1.338, allocations: 6.057 MB / 0.5857 GB, free: 99.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/1.338, allocations: 7.562 kB / 0.5857 GB, free: 99.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03458/1.372, allocations: 6.534 MB / 0.5921 GB, free: 97.66 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01131/1.384, allocations: 4.275 MB / 0.5963 GB, free: 95.22 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005118/1.384, allocations: 0.5102 MB / 0.5968 GB, free: 95.04 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00318/1.387, allocations: 0.649 MB / 0.5974 GB, free: 94.88 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04001/1.427, allocations: 17.99 MB / 0.615 GB, free: 76.55 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002434/1.428, allocations: 35.69 kB / 0.615 GB, free: 76.51 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003433/1.431, allocations: 313.4 kB / 0.6153 GB, free: 76.27 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003447/1.435, allocations: 2.152 MB / 0.6174 GB, free: 74.12 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03787/1.473, allocations: 17.24 MB / 0.6342 GB, free: 56.86 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09721/1.57, allocations: 61.74 MB / 0.6945 GB, free: 9.918 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02147/1.591, allocations: 8.39 MB / 0.7027 GB, free: 1.086 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2749/1.866, allocations: 2.55 MB / 0.7052 GB, free: 109.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02818/1.894, allocations: 11.83 MB / 0.7168 GB, free: 106 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/1.895, allocations: 58.62 kB / 0.7168 GB, free: 106 MB / 474.7 MB Notification: Performance of pre-optimization done (n=321): time 8.523e-06/1.895, allocations: 0 / 0.7168 GB, free: 106 MB / 474.7 MB Notification: Performance of matching and sorting (n=321): time 0.02198/1.917, allocations: 5.783 MB / 0.7225 GB, free: 105.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/1.917, allocations: 98.58 kB / 0.7226 GB, free: 105.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01006/1.927, allocations: 4.947 MB / 0.7274 GB, free: 105.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004265/1.927, allocations: 64.03 kB / 0.7275 GB, free: 105.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00333/1.931, allocations: 4.983 MB / 0.7323 GB, free: 102.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00148/1.932, allocations: 1.199 MB / 0.7335 GB, free: 101.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008674/1.933, allocations: 179.6 kB / 0.7337 GB, free: 101.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007271/1.934, allocations: 0.7195 MB / 0.7344 GB, free: 101.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006496/1.94, allocations: 3.025 MB / 0.7373 GB, free: 101.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009416/1.95, allocations: 8.373 MB / 0.7455 GB, free: 93.03 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009574/1.959, allocations: 5.161 MB / 0.7505 GB, free: 91.68 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001756/1.96, allocations: 54.97 kB / 0.7506 GB, free: 91.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=1228) (initialization): time 0.02446/1.984, allocations: 11.06 MB / 0.7614 GB, free: 88.09 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001503/1.984, allocations: 90.73 kB / 0.7615 GB, free: 88.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002314/1.984, allocations: 187.2 kB / 0.7617 GB, free: 88.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003184/1.985, allocations: 278.8 kB / 0.7619 GB, free: 88.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008887/1.994, allocations: 2.071 MB / 0.764 GB, free: 87.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003369/1.994, allocations: 369.6 kB / 0.7643 GB, free: 87.76 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008792/2.003, allocations: 1.3 MB / 0.7656 GB, free: 86.94 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001748/2.005, allocations: 0.533 MB / 0.7661 GB, free: 86.87 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 () * 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.00179/2.007, allocations: 0.7699 MB / 0.7669 GB, free: 86.23 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008409/2.007, allocations: 486 kB / 0.7673 GB, free: 85.96 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/2.009, allocations: 0.6499 MB / 0.768 GB, free: 85.59 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001123/2.009, allocations: 65.02 kB / 0.768 GB, free: 85.58 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.049e-05/2.009, allocations: 1.219 kB / 0.768 GB, free: 85.58 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-05/2.009, allocations: 10.03 kB / 0.768 GB, free: 85.58 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03364/2.043, allocations: 12.61 MB / 0.7803 GB, free: 80.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.124e-05/2.043, allocations: 13.44 kB / 0.7804 GB, free: 80.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003822/2.047, allocations: 426.5 kB / 0.7808 GB, free: 80.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.559e-05/2.047, allocations: 28.77 kB / 0.7808 GB, free: 80.08 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005458/2.048, allocations: 62.22 kB / 0.7808 GB, free: 80.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-05/2.048, allocations: 30.7 kB / 0.7809 GB, free: 80 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.127e-05/2.048, allocations: 23.88 kB / 0.7809 GB, free: 79.97 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01309/2.061, allocations: 6.537 MB / 0.7873 GB, free: 73.34 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002098/2.063, allocations: 0.5898 MB / 0.7879 GB, free: 72.75 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001833/2.065, allocations: 53.88 kB / 0.7879 GB, free: 72.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004733/2.07, allocations: 126 kB / 0.788 GB, free: 72.62 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008696/2.071, allocations: 180.6 kB / 0.7882 GB, free: 72.49 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004379/2.071, allocations: 104.5 kB / 0.7883 GB, free: 72.39 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01054/2.082, allocations: 3.385 MB / 0.7916 GB, free: 69.45 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.711e-06/2.082, allocations: 0 / 0.7916 GB, free: 69.45 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0147/2.096, allocations: 1.982 MB / 0.7935 GB, free: 67.47 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 () * 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.0007721/2.097, allocations: 197.1 kB / 0.7937 GB, free: 67.27 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0125/2.11, allocations: 7.035 MB / 0.8006 GB, free: 60.85 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-05/2.11, allocations: 0 / 0.8006 GB, free: 60.85 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003348/2.113, allocations: 1.981 MB / 0.8025 GB, free: 59.05 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00312/2.116, allocations: 0.5646 MB / 0.8031 GB, free: 58.56 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03034/2.147, allocations: 13.64 MB / 0.8164 GB, free: 46.18 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0119/2.159, allocations: 5.596 MB / 0.8219 GB, free: 42 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001985/2.161, allocations: 443.9 kB / 0.8223 GB, free: 41.58 MB / 474.7 MB Notification: Performance of SimCode: time 2.271e-06/2.161, allocations: 4 kB / 0.8223 GB, free: 41.58 MB / 474.7 MB Notification: Performance of Templates: time 0.4272/2.588, allocations: 89.9 MB / 0.9101 GB, free: 104.8 MB / 490.7 MB