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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.907/1.907, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.633e-05/1.636e-05, allocations: 0 / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2609, allocations: 48.68 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1243/0.3852, allocations: 82.76 MB / 402.8 MB, free: 13.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.3855, allocations: 75.95 kB / 402.8 MB, free: 13.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6847/1.07, allocations: 136.1 MB / 0.5263 GB, free: 32.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.092e-06/1.07, allocations: 4 kB / 0.5263 GB, free: 32.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002173/1.07, allocations: 119.9 kB / 0.5264 GB, free: 32.76 MB / 378.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.01659/1.087, allocations: 6.058 MB / 0.5324 GB, free: 26.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/1.087, allocations: 8.031 kB / 0.5324 GB, free: 26.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03242/1.12, allocations: 6.541 MB / 0.5388 GB, free: 20.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01116/1.131, allocations: 4.268 MB / 0.5429 GB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003866/1.131, allocations: 220 kB / 0.5431 GB, free: 15.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00321/1.134, allocations: 388 kB / 0.5435 GB, free: 15.13 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0246/1.159, allocations: 12.74 MB / 0.5559 GB, free: 2.383 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04271/1.202, allocations: 16.87 MB / 0.5724 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002301/1.202, allocations: 39.62 kB / 0.5725 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002815/1.205, allocations: 24 kB / 0.5725 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004034/1.209, allocations: 2.159 MB / 0.5746 GB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3444/1.553, allocations: 59.18 MB / 0.6324 GB, free: 55.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008067/1.562, allocations: 6.131 MB / 0.6384 GB, free: 52.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003623/1.565, allocations: 2.051 MB / 0.6404 GB, free: 52.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002031/1.567, allocations: 2.277 MB / 0.6426 GB, free: 50.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.016e-05/1.567, allocations: 57.62 kB / 0.6427 GB, free: 50.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=341): time 8.928e-06/1.567, allocations: 0.8125 kB / 0.6427 GB, free: 50.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=341): time 0.01454/1.582, allocations: 5.103 MB / 0.6476 GB, free: 50.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/1.582, allocations: 105.2 kB / 0.6477 GB, free: 50.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007949/1.59, allocations: 4.475 MB / 0.6521 GB, free: 48.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004318/1.59, allocations: 32.27 kB / 0.6521 GB, free: 48.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00314/1.594, allocations: 5.22 MB / 0.6572 GB, free: 45.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001496/1.595, allocations: 1.251 MB / 0.6585 GB, free: 44.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006995/1.596, allocations: 0 / 0.6585 GB, free: 44.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006533/1.597, allocations: 0.7547 MB / 0.6592 GB, free: 44.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005945/1.602, allocations: 3.098 MB / 0.6622 GB, free: 43.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009381/1.612, allocations: 8.925 MB / 0.6709 GB, free: 34.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009451/1.621, allocations: 5.429 MB / 0.6762 GB, free: 32.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001681/1.622, allocations: 60.03 kB / 0.6763 GB, free: 32.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=1342) (initialization): time 0.02414/1.646, allocations: 10.78 MB / 0.6868 GB, free: 26.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001479/1.646, allocations: 92.78 kB / 0.6869 GB, free: 26.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002251/1.646, allocations: 208 kB / 0.6871 GB, free: 26.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003312/1.647, allocations: 304 kB / 0.6874 GB, free: 26.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008663/1.655, allocations: 2.275 MB / 0.6896 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002995/1.656, allocations: 408.8 kB / 0.69 GB, free: 23.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01213/1.668, allocations: 1.135 MB / 0.6911 GB, free: 22.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003074/1.671, allocations: 0.5898 MB / 0.6917 GB, free: 22.21 MB / 410.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.002669/1.674, allocations: 0.5991 MB / 0.6923 GB, free: 21.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001579/1.675, allocations: 469.8 kB / 0.6927 GB, free: 21.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002644/1.678, allocations: 0.623 MB / 0.6933 GB, free: 20.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001826/1.678, allocations: 59.55 kB / 0.6934 GB, free: 20.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.175e-05/1.678, allocations: 0 / 0.6934 GB, free: 20.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.319e-05/1.678, allocations: 17.83 kB / 0.6934 GB, free: 20.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04883/1.727, allocations: 12.65 MB / 0.7058 GB, free: 9.703 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.917e-05/1.727, allocations: 12 kB / 0.7058 GB, free: 9.691 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004801/1.732, allocations: 458.8 kB / 0.7062 GB, free: 9.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.975e-05/1.732, allocations: 24 kB / 0.7062 GB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005011/1.733, allocations: 34.75 kB / 0.7063 GB, free: 9.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.093e-05/1.733, allocations: 31.45 kB / 0.7063 GB, free: 9.242 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.682e-05/1.733, allocations: 19.88 kB / 0.7063 GB, free: 9.223 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01572/1.748, allocations: 6.548 MB / 0.7127 GB, free: 2.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001526/1.75, allocations: 0.5477 MB / 0.7132 GB, free: 2.027 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009357/1.751, allocations: 18.95 kB / 0.7133 GB, free: 2.012 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002143/1.753, allocations: 90.81 kB / 0.7134 GB, free: 1.961 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004216/1.754, allocations: 186.6 kB / 0.7135 GB, free: 1.832 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003072/1.754, allocations: 107.2 kB / 0.7136 GB, free: 1.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006614/1.761, allocations: 2.969 MB / 0.7165 GB, free: 15.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.148e-06/1.761, allocations: 0 / 0.7165 GB, free: 15.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01036/1.771, allocations: 1.832 MB / 0.7183 GB, free: 13.53 MB / 426.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.0008398/1.772, allocations: 164.8 kB / 0.7185 GB, free: 13.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01473/1.787, allocations: 7.159 MB / 0.7255 GB, free: 6.887 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.541e-05/1.787, allocations: 4 kB / 0.7255 GB, free: 6.883 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004096/1.791, allocations: 2.123 MB / 0.7275 GB, free: 4.969 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002317/1.793, allocations: 363 kB / 0.7279 GB, free: 4.641 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03444/1.828, allocations: 13.81 MB / 0.7414 GB, free: 8.164 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01425/1.842, allocations: 5.584 MB / 0.7468 GB, free: 4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002191/1.844, allocations: 446.6 kB / 0.7473 GB, free: 3.574 MB / 442.7 MB Notification: Performance of SimCode: time 2.018e-06/1.844, allocations: 4 kB / 0.7473 GB, free: 3.57 MB / 442.7 MB Notification: Performance of Templates: time 0.3827/2.227, allocations: 87.52 MB / 0.8327 GB, free: 67.23 MB / 442.7 MB