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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.118/2.118, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2e-05/2.013e-05, allocations: 4 kB / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2731, allocations: 54.85 MB / 358 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1364/0.4096, allocations: 89.33 MB / 447.4 MB, free: 5.504 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.4099, allocations: 75.95 kB / 447.4 MB, free: 5.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7788/1.189, allocations: 136.1 MB / 0.5699 GB, free: 11.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.957e-06/1.189, allocations: 0 / 0.5699 GB, free: 11.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002732/1.189, allocations: 116 kB / 0.57 GB, free: 11.87 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.01997/1.209, allocations: 6.063 MB / 0.5759 GB, free: 5.734 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/1.209, allocations: 8.031 kB / 0.5759 GB, free: 5.727 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03696/1.246, allocations: 6.537 MB / 0.5823 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01284/1.259, allocations: 4.268 MB / 0.5865 GB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004416/1.259, allocations: 219.9 kB / 0.5867 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003371/1.263, allocations: 384 kB / 0.5871 GB, free: 10.24 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02887/1.292, allocations: 12.75 MB / 0.5995 GB, free: 13.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04375/1.336, allocations: 16.87 MB / 0.616 GB, free: 11.86 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002343/1.336, allocations: 39.62 kB / 0.616 GB, free: 11.82 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002809/1.339, allocations: 24 kB / 0.616 GB, free: 11.79 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004032/1.343, allocations: 2.162 MB / 0.6181 GB, free: 9.629 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3761/1.719, allocations: 59.18 MB / 0.6759 GB, free: 66.46 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00832/1.727, allocations: 6.137 MB / 0.6819 GB, free: 64.15 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003801/1.731, allocations: 2.042 MB / 0.6839 GB, free: 64.12 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002104/1.733, allocations: 2.287 MB / 0.6862 GB, free: 62.13 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.684e-05/1.733, allocations: 63.56 kB / 0.6862 GB, free: 62.09 MB / 458.7 MB Notification: Performance of pre-optimization done (n=341): time 9.825e-06/1.733, allocations: 0 / 0.6862 GB, free: 62.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=341): time 0.01548/1.749, allocations: 5.101 MB / 0.6912 GB, free: 61.32 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/1.749, allocations: 106.5 kB / 0.6913 GB, free: 61.22 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009016/1.758, allocations: 4.475 MB / 0.6957 GB, free: 59.65 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004675/1.758, allocations: 28.2 kB / 0.6957 GB, free: 59.62 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003491/1.762, allocations: 5.223 MB / 0.7008 GB, free: 56.25 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001589/1.764, allocations: 1.251 MB / 0.702 GB, free: 55.33 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008968/1.764, allocations: 0 / 0.702 GB, free: 55.33 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0008809/1.765, allocations: 0.7543 MB / 0.7028 GB, free: 54.83 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006313/1.772, allocations: 3.105 MB / 0.7058 GB, free: 53.84 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009467/1.781, allocations: 8.919 MB / 0.7145 GB, free: 45.03 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01005/1.791, allocations: 5.44 MB / 0.7198 GB, free: 43.52 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001796/1.792, allocations: 59.25 kB / 0.7199 GB, free: 43.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=1342) (initialization): time 0.02412/1.816, allocations: 10.76 MB / 0.7304 GB, free: 36.71 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001528/1.816, allocations: 100 kB / 0.7305 GB, free: 36.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000243/1.816, allocations: 204 kB / 0.7307 GB, free: 36.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000337/1.816, allocations: 308 kB / 0.731 GB, free: 36.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009064/1.826, allocations: 2.271 MB / 0.7332 GB, free: 34.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003095/1.826, allocations: 410.9 kB / 0.7336 GB, free: 33.76 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008885/1.835, allocations: 1.135 MB / 0.7347 GB, free: 32.65 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001965/1.837, allocations: 0.5933 MB / 0.7353 GB, free: 32.07 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 946 * 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 (1246): * Single equations (assignments): 1234 * 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.002674/1.84, allocations: 0.6003 MB / 0.7358 GB, free: 31.45 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001072/1.841, allocations: 464.8 kB / 0.7363 GB, free: 31 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002168/1.843, allocations: 0.6215 MB / 0.7369 GB, free: 30.43 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001229/1.843, allocations: 63.05 kB / 0.737 GB, free: 30.37 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.332e-05/1.843, allocations: 0 / 0.737 GB, free: 30.37 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.738e-05/1.843, allocations: 10.92 kB / 0.737 GB, free: 30.37 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02908/1.872, allocations: 12.65 MB / 0.7493 GB, free: 19.56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.268e-05/1.872, allocations: 15.42 kB / 0.7493 GB, free: 19.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002439/1.875, allocations: 457.3 kB / 0.7498 GB, free: 19.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-05/1.875, allocations: 28.03 kB / 0.7498 GB, free: 19.15 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003395/1.875, allocations: 27.89 kB / 0.7498 GB, free: 19.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.643e-05/1.875, allocations: 31.64 kB / 0.7499 GB, free: 19.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.547e-05/1.875, allocations: 27.81 kB / 0.7499 GB, free: 19.07 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00842/1.884, allocations: 6.548 MB / 0.7563 GB, free: 12.44 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/1.885, allocations: 0.5434 MB / 0.7568 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001016/1.886, allocations: 19.75 kB / 0.7568 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002505/1.888, allocations: 90.67 kB / 0.7569 GB, free: 11.81 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005639/1.889, allocations: 184.2 kB / 0.7571 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002968/1.889, allocations: 102.9 kB / 0.7572 GB, free: 11.59 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00634/1.896, allocations: 2.92 MB / 0.76 GB, free: 9.094 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.65e-06/1.896, allocations: 4 kB / 0.76 GB, free: 9.09 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01019/1.906, allocations: 1.834 MB / 0.7618 GB, free: 7.25 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (245): * Single equations (assignments): 233 * 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.0008198/1.907, allocations: 158.3 kB / 0.762 GB, free: 7.094 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01256/1.919, allocations: 7.164 MB / 0.769 GB, free: 0.6016 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/1.919, allocations: 2.625 kB / 0.769 GB, free: 0.6016 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01165/1.931, allocations: 2.552 MB / 0.7715 GB, free: 15.74 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002634/1.934, allocations: 368.1 kB / 0.7718 GB, free: 15.41 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03634/1.97, allocations: 13.82 MB / 0.7853 GB, free: 2.914 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01614/1.986, allocations: 5.726 MB / 0.7909 GB, free: 14.74 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002229/1.989, allocations: 451.4 kB / 0.7913 GB, free: 14.3 MB / 490.7 MB Notification: Performance of SimCode: time 2.057e-06/1.989, allocations: 0 / 0.7913 GB, free: 14.3 MB / 490.7 MB Notification: Performance of Templates: time 0.4177/2.406, allocations: 87.52 MB / 0.8768 GB, free: 92 MB / 490.7 MB