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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.941/1.941, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.858e-05/2.875e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09578/0.09583, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3719/0.4678, allocations: 83.42 MB / 410 MB, free: 7.555 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.4681, allocations: 71.59 kB / 410 MB, free: 7.547 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7712/1.239, allocations: 139 MB / 0.5361 GB, free: 81.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.298e-06/1.239, allocations: 0 / 0.5361 GB, free: 81.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002744/1.24, allocations: 121.7 kB / 0.5363 GB, free: 81.87 MB / 426.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.01839/1.258, allocations: 6.058 MB / 0.5422 GB, free: 79.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/1.258, allocations: 11.7 kB / 0.5422 GB, free: 79.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06251/1.321, allocations: 6.541 MB / 0.5486 GB, free: 78.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02182/1.343, allocations: 4.269 MB / 0.5527 GB, free: 77.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001006/1.344, allocations: 0.5083 MB / 0.5532 GB, free: 77.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005489/1.349, allocations: 0.6482 MB / 0.5539 GB, free: 77.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04709/1.396, allocations: 17.99 MB / 0.5714 GB, free: 75.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000238/1.397, allocations: 37.16 kB / 0.5715 GB, free: 75.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002722/1.399, allocations: 311.4 kB / 0.5718 GB, free: 75.78 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003364/1.403, allocations: 2.154 MB / 0.5739 GB, free: 75.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03968/1.442, allocations: 17.23 MB / 0.5907 GB, free: 74 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09781/1.54, allocations: 61.72 MB / 0.651 GB, free: 24.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01792/1.558, allocations: 8.399 MB / 0.6592 GB, free: 16.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00454/1.563, allocations: 2.543 MB / 0.6617 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02528/1.588, allocations: 11.84 MB / 0.6732 GB, free: 2.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/1.588, allocations: 56.56 kB / 0.6733 GB, free: 2.703 MB / 426.7 MB Notification: Performance of pre-optimization done (n=321): time 8.379e-06/1.588, allocations: 3.656 kB / 0.6733 GB, free: 2.703 MB / 426.7 MB Notification: Performance of matching and sorting (n=321): time 0.02119/1.609, allocations: 5.782 MB / 0.6789 GB, free: 12.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.99e-05/1.61, allocations: 103.1 kB / 0.679 GB, free: 12.76 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01188/1.621, allocations: 4.941 MB / 0.6839 GB, free: 7.836 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004468/1.622, allocations: 65.61 kB / 0.6839 GB, free: 7.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005129/1.627, allocations: 4.98 MB / 0.6888 GB, free: 2.789 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001884/1.629, allocations: 1.198 MB / 0.6899 GB, free: 1.602 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008296/1.63, allocations: 179.8 kB / 0.6901 GB, free: 1.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0008774/1.631, allocations: 0.7193 MB / 0.6908 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2557/1.887, allocations: 3.028 MB / 0.6938 GB, free: 88.05 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009681/1.896, allocations: 8.368 MB / 0.7019 GB, free: 81.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01035/1.907, allocations: 5.159 MB / 0.707 GB, free: 81.15 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002627/1.907, allocations: 54.66 kB / 0.707 GB, free: 81.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=1228) (initialization): time 0.02536/1.932, allocations: 11.07 MB / 0.7178 GB, free: 80.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001654/1.933, allocations: 84.88 kB / 0.7179 GB, free: 80.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002659/1.933, allocations: 188.8 kB / 0.7181 GB, free: 80.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003723/1.933, allocations: 276.8 kB / 0.7184 GB, free: 80.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008543/1.942, allocations: 2.07 MB / 0.7204 GB, free: 80.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003804/1.942, allocations: 376.4 kB / 0.7208 GB, free: 80.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008463/1.951, allocations: 1.292 MB / 0.722 GB, free: 79.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001697/1.952, allocations: 0.5395 MB / 0.7225 GB, free: 79.99 MB / 442.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.001646/1.954, allocations: 0.7642 MB / 0.7233 GB, free: 79.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008659/1.955, allocations: 493.3 kB / 0.7238 GB, free: 79.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/1.957, allocations: 0.6527 MB / 0.7244 GB, free: 79.37 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001054/1.957, allocations: 56.17 kB / 0.7245 GB, free: 79.37 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.717e-05/1.957, allocations: 3.469 kB / 0.7245 GB, free: 79.37 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.176e-05/1.957, allocations: 10.5 kB / 0.7245 GB, free: 79.37 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02746/1.984, allocations: 12.62 MB / 0.7368 GB, free: 78.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.79e-05/1.984, allocations: 14.97 kB / 0.7368 GB, free: 78.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002453/1.987, allocations: 424.4 kB / 0.7372 GB, free: 78.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.744e-05/1.987, allocations: 27.03 kB / 0.7372 GB, free: 78.12 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003164/1.987, allocations: 60.8 kB / 0.7373 GB, free: 78.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.891e-05/1.987, allocations: 29.69 kB / 0.7373 GB, free: 78.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.56e-05/1.987, allocations: 27.44 kB / 0.7373 GB, free: 78.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007584/1.995, allocations: 6.527 MB / 0.7437 GB, free: 74.85 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/1.996, allocations: 0.5833 MB / 0.7443 GB, free: 74.49 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009154/1.997, allocations: 59.67 kB / 0.7444 GB, free: 74.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002282/2, allocations: 123.3 kB / 0.7445 GB, free: 74.49 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004382/2, allocations: 181.3 kB / 0.7446 GB, free: 74.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002734/2, allocations: 94.92 kB / 0.7447 GB, free: 74.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006638/2.007, allocations: 3.392 MB / 0.748 GB, free: 74.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.29e-06/2.007, allocations: 3.969 kB / 0.748 GB, free: 74.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009584/2.017, allocations: 1.983 MB / 0.75 GB, free: 73.81 MB / 442.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.0007164/2.017, allocations: 203.7 kB / 0.7502 GB, free: 73.67 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01295/2.03, allocations: 7.04 MB / 0.7571 GB, free: 71.39 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/2.03, allocations: 0 / 0.7571 GB, free: 71.39 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003435/2.034, allocations: 1.981 MB / 0.759 GB, free: 70.76 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003162/2.037, allocations: 0.5638 MB / 0.7595 GB, free: 70.51 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0308/2.068, allocations: 13.64 MB / 0.7729 GB, free: 65.35 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01192/2.08, allocations: 5.59 MB / 0.7783 GB, free: 62.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001938/2.082, allocations: 445.1 kB / 0.7787 GB, free: 62.16 MB / 442.7 MB Notification: Performance of SimCode: time 1.727e-06/2.082, allocations: 0 / 0.7787 GB, free: 62.16 MB / 442.7 MB Notification: Performance of Templates: time 0.3975/2.479, allocations: 89.89 MB / 0.8665 GB, free: 56.74 MB / 442.7 MB