Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.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.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.Q.1.|body.body.Q.2.|body.body.Q.3.|body.body.Q.4.|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadModel(ModelicaTest): time 2.537/2.537, allocations: 234.9 MB / 251.1 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004242/0.0004244, allocations: 8 kB / 314.9 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3561, allocations: 54.87 MB / 369.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1818/0.538, allocations: 100 MB / 469.8 MB, free: 6.523 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/0.5384, allocations: 79.97 kB / 469.9 MB, free: 6.445 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6293/1.168, allocations: 82.95 MB / 0.5399 GB, free: 32.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.465e-06/1.168, allocations: 0 / 0.5399 GB, free: 32.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002565/1.168, allocations: 80 kB / 0.54 GB, free: 32.46 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1555 * Number of variables: 1555 Notification: Performance of Generate backend data structure: time 0.02318/1.191, allocations: 4.497 MB / 0.5444 GB, free: 27.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/1.191, allocations: 8.031 kB / 0.5444 GB, free: 27.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01756/1.209, allocations: 2.26 MB / 0.5466 GB, free: 25.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01839/1.227, allocations: 4.792 MB / 0.5513 GB, free: 20.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003641/1.228, allocations: 336.8 kB / 0.5516 GB, free: 20.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002066/1.23, allocations: 443.8 kB / 0.552 GB, free: 19.99 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02793/1.258, allocations: 10.65 MB / 0.5624 GB, free: 8.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002378/1.258, allocations: 63.5 kB / 0.5625 GB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001439/1.26, allocations: 211.9 kB / 0.5627 GB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002295/1.262, allocations: 1.014 MB / 0.5637 GB, free: 6.965 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02583/1.288, allocations: 8.5 MB / 0.572 GB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08393/1.372, allocations: 49.3 MB / 0.6201 GB, free: 11.51 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01623/1.388, allocations: 3.526 MB / 0.6236 GB, free: 7.836 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0203/1.408, allocations: 7.545 MB / 0.6309 GB, free: 15.96 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.682e-05/1.408, allocations: 51.5 kB / 0.631 GB, free: 15.91 MB / 474.7 MB Notification: Performance of pre-optimization done (n=139): time 5.21e-06/1.409, allocations: 4 kB / 0.631 GB, free: 15.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=146): time 0.05498/1.464, allocations: 12.85 MB / 0.6435 GB, free: 2.82 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001765/1.465, allocations: 1.62 MB / 0.6451 GB, free: 1.027 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3431/1.808, allocations: 3.946 MB / 0.649 GB, free: 117.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004478/1.809, allocations: 45.16 kB / 0.649 GB, free: 117.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003211/1.812, allocations: 3.105 MB / 0.652 GB, free: 116.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001176/1.813, allocations: 0.6042 MB / 0.6526 GB, free: 116.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000754/1.814, allocations: 118.4 kB / 0.6527 GB, free: 116.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004454/1.815, allocations: 0.5635 MB / 0.6533 GB, free: 116.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005504/1.82, allocations: 2.144 MB / 0.6554 GB, free: 116.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007675/1.828, allocations: 5.87 MB / 0.6611 GB, free: 111.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008216/1.836, allocations: 3.45 MB / 0.6645 GB, free: 111.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001474/1.836, allocations: 37.53 kB / 0.6645 GB, free: 111.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.0337/1.87, allocations: 9.098 MB / 0.6734 GB, free: 110.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/1.87, allocations: 62.2 kB / 0.6735 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01872/1.889, allocations: 3.537 MB / 0.6769 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01785/1.907, allocations: 1.938 MB / 0.6788 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008144/1.915, allocations: 1.38 MB / 0.6802 GB, free: 110.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01322/1.928, allocations: 5.989 MB / 0.686 GB, free: 107 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007677/1.936, allocations: 417.1 kB / 0.6864 GB, free: 106.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001668/1.938, allocations: 373 kB / 0.6868 GB, free: 106.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 604 * Number of states: 0 () * Number of discrete variables: 36 (FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (735): * Single equations (assignments): 726 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006259/1.944, allocations: 2.088 MB / 0.6888 GB, free: 105.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00092/1.945, allocations: 333.9 kB / 0.6891 GB, free: 105.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009796/1.955, allocations: 3.09 MB / 0.6921 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008282/1.963, allocations: 2.605 MB / 0.6947 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.887e-05/1.963, allocations: 7.422 kB / 0.6947 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-05/1.963, allocations: 6.938 kB / 0.6947 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/1.973, allocations: 3.864 MB / 0.6985 GB, free: 102.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-05/1.973, allocations: 0 / 0.6985 GB, free: 102.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002526/1.976, allocations: 253.7 kB / 0.6987 GB, free: 102.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005395/1.981, allocations: 1.029 MB / 0.6997 GB, free: 102.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004318/1.982, allocations: 36.95 kB / 0.6998 GB, free: 102.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00843/1.99, allocations: 5.102 MB / 0.7047 GB, free: 98.74 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001149/1.992, allocations: 1.488 MB / 0.7062 GB, free: 97.29 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01395/2.006, allocations: 5.414 MB / 0.7115 GB, free: 95.12 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001492/2.007, allocations: 402.2 kB / 0.7119 GB, free: 94.81 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001431/2.009, allocations: 34.8 kB / 0.7119 GB, free: 94.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003537/2.012, allocations: 143 kB / 0.712 GB, free: 94.77 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006078/2.013, allocations: 83.95 kB / 0.7121 GB, free: 94.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002041/2.013, allocations: 39.89 kB / 0.7121 GB, free: 94.76 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006517/2.02, allocations: 2.454 MB / 0.7145 GB, free: 92.96 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.92e-07/2.02, allocations: 7.047 kB / 0.7145 GB, free: 92.96 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007481/2.027, allocations: 1.063 MB / 0.7156 GB, free: 91.91 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * 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 (114): * Single equations (assignments): 107 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007643/2.028, allocations: 171.2 kB / 0.7158 GB, free: 91.75 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01499/2.043, allocations: 5.7 MB / 0.7213 GB, free: 86.81 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/2.043, allocations: 0 / 0.7213 GB, free: 86.81 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007079/2.05, allocations: 2.22 MB / 0.7235 GB, free: 84.89 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003563/2.054, allocations: 388.3 kB / 0.7239 GB, free: 84.57 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02722/2.081, allocations: 11.8 MB / 0.7354 GB, free: 73.91 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00741/2.088, allocations: 3.334 MB / 0.7386 GB, free: 71.37 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001594/2.09, allocations: 288 kB / 0.7389 GB, free: 71.11 MB / 474.7 MB Notification: Performance of SimCode: time 1.202e-06/2.09, allocations: 0 / 0.7389 GB, free: 71.11 MB / 474.7 MB Notification: Performance of Templates: time 0.5439/2.634, allocations: 126 MB / 0.8619 GB, free: 120.3 MB / 490.7 MB