Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadModel(ModelicaTest): time 2.09/2.09, allocations: 209.2 MB / 225.4 MB, free: 0.543 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004366/0.0004368, allocations: 12 kB / 283.1 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3453, allocations: 48.7 MB / 331.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1652/0.5105, allocations: 93.32 MB / 425.1 MB, free: 1.102 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.5108, allocations: 79.97 kB / 425.2 MB, free: 1.023 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6104/1.121, allocations: 82.78 MB / 0.4961 GB, free: 88.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.404e-06/1.121, allocations: 0 / 0.4961 GB, free: 88.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002856/1.122, allocations: 81.78 kB / 0.4961 GB, free: 88.75 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.0228/1.144, allocations: 4.49 MB / 0.5005 GB, free: 86.85 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/1.145, allocations: 11.31 kB / 0.5005 GB, free: 86.85 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01742/1.162, allocations: 2.255 MB / 0.5027 GB, free: 86.56 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01806/1.18, allocations: 4.78 MB / 0.5074 GB, free: 84.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004212/1.181, allocations: 332.9 kB / 0.5077 GB, free: 84.46 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002407/1.183, allocations: 441 kB / 0.5082 GB, free: 84.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02882/1.212, allocations: 10.65 MB / 0.5186 GB, free: 75.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002439/1.212, allocations: 59.39 kB / 0.5186 GB, free: 75.79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001435/1.214, allocations: 216.1 kB / 0.5188 GB, free: 75.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002061/1.216, allocations: 1.01 MB / 0.5198 GB, free: 74.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02387/1.24, allocations: 8.513 MB / 0.5281 GB, free: 66.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06746/1.307, allocations: 49.27 MB / 0.5762 GB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01455/1.322, allocations: 3.536 MB / 0.5797 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01745/1.339, allocations: 7.519 MB / 0.587 GB, free: 3.941 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/1.339, allocations: 55.48 kB / 0.5871 GB, free: 3.879 MB / 394.7 MB Notification: Performance of pre-optimization done (n=139): time 5.56e-06/1.339, allocations: 0 / 0.5871 GB, free: 3.879 MB / 394.7 MB Notification: Performance of matching and sorting (n=146): time 0.05334/1.393, allocations: 12.86 MB / 0.5996 GB, free: 6.785 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001774/1.395, allocations: 1.627 MB / 0.6012 GB, free: 4.992 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01053/1.405, allocations: 3.95 MB / 0.6051 GB, free: 1.059 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004876/1.406, allocations: 48.98 kB / 0.6051 GB, free: 1.008 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003432/1.409, allocations: 3.104 MB / 0.6082 GB, free: 13.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001247/1.41, allocations: 0.6023 MB / 0.6088 GB, free: 13.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009475/1.411, allocations: 116 kB / 0.6089 GB, free: 13.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006383/1.412, allocations: 0.5588 MB / 0.6094 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006319/1.418, allocations: 2.124 MB / 0.6115 GB, free: 10.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009932/1.428, allocations: 5.859 MB / 0.6172 GB, free: 2.754 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3097/1.738, allocations: 3.431 MB / 0.6206 GB, free: 106.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001423/1.738, allocations: 37.53 kB / 0.6206 GB, free: 106.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.02676/1.765, allocations: 8.41 MB / 0.6288 GB, free: 105.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001301/1.765, allocations: 61.88 kB / 0.6289 GB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01038/1.776, allocations: 2.848 MB / 0.6316 GB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005994/1.782, allocations: 1.125 MB / 0.6327 GB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008381/1.79, allocations: 1.377 MB / 0.6341 GB, free: 105.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008142/1.798, allocations: 4.801 MB / 0.6388 GB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007561/1.806, allocations: 410.8 kB / 0.6392 GB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001405/1.807, allocations: 371.5 kB / 0.6395 GB, free: 102.8 MB / 426.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): 2 * Torn equation systems: 2 * 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: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.005872/1.813, allocations: 2.097 MB / 0.6416 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009626/1.814, allocations: 331.3 kB / 0.6419 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/1.825, allocations: 3.081 MB / 0.6449 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008491/1.834, allocations: 2.615 MB / 0.6474 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.966e-05/1.834, allocations: 0 / 0.6474 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.204e-05/1.834, allocations: 10.59 kB / 0.6475 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/1.844, allocations: 3.85 MB / 0.6512 GB, free: 99.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.922e-05/1.845, allocations: 2.016 kB / 0.6512 GB, free: 99.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002533/1.847, allocations: 255.3 kB / 0.6515 GB, free: 99.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005402/1.853, allocations: 1.016 MB / 0.6525 GB, free: 98.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004611/1.853, allocations: 44.08 kB / 0.6525 GB, free: 98.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00876/1.862, allocations: 5.112 MB / 0.6575 GB, free: 95.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001228/1.863, allocations: 1.485 MB / 0.6589 GB, free: 94.15 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0139/1.877, allocations: 5.414 MB / 0.6642 GB, free: 92.17 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/1.878, allocations: 399 kB / 0.6646 GB, free: 91.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00121/1.88, allocations: 30.92 kB / 0.6646 GB, free: 91.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003225/1.883, allocations: 144.2 kB / 0.6648 GB, free: 91.92 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005357/1.883, allocations: 91.95 kB / 0.6649 GB, free: 91.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001909/1.884, allocations: 41.66 kB / 0.6649 GB, free: 91.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006034/1.89, allocations: 2.447 MB / 0.6673 GB, free: 91.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.062e-06/1.89, allocations: 0 / 0.6673 GB, free: 91.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007037/1.897, allocations: 1.064 MB / 0.6683 GB, free: 90.96 MB / 426.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.0007958/1.898, allocations: 167.5 kB / 0.6685 GB, free: 90.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01481/1.912, allocations: 5.678 MB / 0.674 GB, free: 88.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.912, allocations: 0 / 0.674 GB, free: 88.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006935/1.919, allocations: 2.205 MB / 0.6762 GB, free: 87.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003368/1.923, allocations: 411.3 kB / 0.6766 GB, free: 87.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02622/1.949, allocations: 11.79 MB / 0.6881 GB, free: 77.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006577/1.956, allocations: 3.337 MB / 0.6913 GB, free: 74.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001537/1.957, allocations: 281.2 kB / 0.6916 GB, free: 74.65 MB / 426.7 MB Notification: Performance of SimCode: time 1.132e-06/1.957, allocations: 0 / 0.6916 GB, free: 74.65 MB / 426.7 MB Notification: Performance of Templates: time 0.5205/2.478, allocations: 125.3 MB / 0.814 GB, free: 112.6 MB / 442.7 MB