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.Frames.AngularVelocity.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.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 1.818/1.818, allocations: 209.3 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004412/0.0004413, allocations: 16 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2866, allocations: 48.7 MB / 331.3 MB, free: 6.488 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1394/0.426, allocations: 93.33 MB / 424.6 MB, free: 1.086 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.4263, allocations: 79.91 kB / 424.7 MB, free: 1.008 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5272/0.9535, allocations: 82.27 MB / 0.4951 GB, free: 91.61 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.808e-06/0.9535, allocations: 0 / 0.4951 GB, free: 91.61 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001989/0.9537, allocations: 77.88 kB / 0.4951 GB, free: 91.61 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.01676/0.9705, allocations: 4.493 MB / 0.4995 GB, free: 89.47 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.9706, allocations: 7.375 kB / 0.4995 GB, free: 89.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01362/0.9842, allocations: 2.257 MB / 0.5017 GB, free: 89.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01431/0.9985, allocations: 4.777 MB / 0.5064 GB, free: 86.42 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003502/0.9989, allocations: 336.3 kB / 0.5067 GB, free: 86.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001723/1.001, allocations: 443 kB / 0.5072 GB, free: 86.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02399/1.025, allocations: 10.61 MB / 0.5175 GB, free: 77.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001912/1.025, allocations: 63.48 kB / 0.5176 GB, free: 77.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0011/1.026, allocations: 212.8 kB / 0.5178 GB, free: 77.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001538/1.028, allocations: 1.013 MB / 0.5188 GB, free: 76.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02137/1.049, allocations: 8.511 MB / 0.5271 GB, free: 67.6 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05402/1.103, allocations: 49.26 MB / 0.5752 GB, free: 16.97 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0107/1.114, allocations: 3.548 MB / 0.5787 GB, free: 13.28 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01288/1.127, allocations: 7.525 MB / 0.586 GB, free: 5.477 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/1.127, allocations: 51.5 kB / 0.5861 GB, free: 5.418 MB / 394.7 MB Notification: Performance of pre-optimization done (n=139): time 5.684e-06/1.127, allocations: 0 / 0.5861 GB, free: 5.418 MB / 394.7 MB Notification: Performance of matching and sorting (n=146): time 0.03831/1.165, allocations: 12.85 MB / 0.5986 GB, free: 8.336 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0018/1.167, allocations: 1.635 MB / 0.6002 GB, free: 6.535 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008024/1.175, allocations: 3.534 MB / 0.6036 GB, free: 3.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003719/1.175, allocations: 56.69 kB / 0.6037 GB, free: 2.961 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003312/1.179, allocations: 3.105 MB / 0.6067 GB, free: 15.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001017/1.18, allocations: 0.5937 MB / 0.6073 GB, free: 15.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005356/1.18, allocations: 116 kB / 0.6074 GB, free: 15.15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005467/1.181, allocations: 0.5588 MB / 0.608 GB, free: 14.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004993/1.186, allocations: 2.127 MB / 0.61 GB, free: 12.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009089/1.195, allocations: 5.836 MB / 0.6157 GB, free: 4.734 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007453/1.203, allocations: 3.431 MB / 0.6191 GB, free: 1.305 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001241/1.203, allocations: 40 kB / 0.6191 GB, free: 1.266 MB / 426.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.2694/1.472, allocations: 8.41 MB / 0.6273 GB, free: 107.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001268/1.472, allocations: 65.62 kB / 0.6274 GB, free: 107.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008432/1.481, allocations: 2.848 MB / 0.6302 GB, free: 107.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004356/1.485, allocations: 1.118 MB / 0.6313 GB, free: 107.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006205/1.491, allocations: 1.38 MB / 0.6326 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006336/1.498, allocations: 4.795 MB / 0.6373 GB, free: 104.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006346/1.504, allocations: 421.3 kB / 0.6377 GB, free: 104.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001124/1.505, allocations: 368.1 kB / 0.6381 GB, free: 104.9 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.004807/1.51, allocations: 2.098 MB / 0.6401 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007528/1.511, allocations: 330.9 kB / 0.6404 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007765/1.519, allocations: 3.083 MB / 0.6434 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006606/1.525, allocations: 2.607 MB / 0.646 GB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.771e-05/1.525, allocations: 5.266 kB / 0.646 GB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.259e-05/1.525, allocations: 7.438 kB / 0.646 GB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008231/1.534, allocations: 3.862 MB / 0.6498 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.72e-05/1.534, allocations: 0 / 0.6498 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001764/1.536, allocations: 250.3 kB / 0.65 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003862/1.539, allocations: 1.029 MB / 0.651 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003645/1.54, allocations: 35 kB / 0.651 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006745/1.547, allocations: 5.101 MB / 0.656 GB, free: 97.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009689/1.548, allocations: 1.498 MB / 0.6575 GB, free: 96.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01023/1.558, allocations: 5.483 MB / 0.6628 GB, free: 94.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/1.559, allocations: 405.4 kB / 0.6632 GB, free: 94.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007047/1.56, allocations: 30.31 kB / 0.6633 GB, free: 94.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002259/1.562, allocations: 143.7 kB / 0.6634 GB, free: 94.15 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003271/1.562, allocations: 88.94 kB / 0.6635 GB, free: 94.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001826/1.563, allocations: 44 kB / 0.6635 GB, free: 94.13 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005001/1.568, allocations: 2.448 MB / 0.6659 GB, free: 93.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.247e-06/1.568, allocations: 3.188 kB / 0.6659 GB, free: 93.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006631/1.574, allocations: 1.062 MB / 0.667 GB, free: 93.2 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.0005482/1.575, allocations: 169.3 kB / 0.6671 GB, free: 93.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01154/1.586, allocations: 5.671 MB / 0.6727 GB, free: 90.99 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.959e-06/1.586, allocations: 0 / 0.6727 GB, free: 90.99 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00508/1.592, allocations: 2.217 MB / 0.6748 GB, free: 90.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/1.594, allocations: 393.9 kB / 0.6752 GB, free: 89.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02084/1.615, allocations: 11.74 MB / 0.6867 GB, free: 79.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00563/1.621, allocations: 3.335 MB / 0.6899 GB, free: 77.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001209/1.622, allocations: 279.7 kB / 0.6902 GB, free: 77.03 MB / 426.7 MB Notification: Performance of SimCode: time 2.282e-06/1.622, allocations: 0 / 0.6902 GB, free: 77.03 MB / 426.7 MB Notification: Performance of Templates: time 0.459/2.081, allocations: 125.3 MB / 0.8126 GB, free: 115.9 MB / 442.7 MB