Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/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_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003743/0.003751, allocations: 345.2 kB / 15.94 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.383/3.383, allocations: 341.5 MB / 358.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003508/0.003508, allocations: 214.1 kB / 397.8 MB, free: 4.922 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4991/0.4991, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006394/0.0006396, allocations: 11.98 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08815/0.08882, allocations: 48.7 MB / 0.6067 GB, free: 4.664 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4999/0.5888, allocations: 93.33 MB / 0.6979 GB, free: 19.39 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003763/0.5892, allocations: 79.97 kB / 0.6979 GB, free: 19.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7733/1.363, allocations: 81.87 MB / 0.7779 GB, free: 85.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.607e-06/1.363, allocations: 0 / 0.7779 GB, free: 85.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002946/1.363, allocations: 79.75 kB / 0.778 GB, free: 85.82 MB / 410.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.02517/1.388, allocations: 4.491 MB / 0.7824 GB, free: 83.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/1.388, allocations: 11.81 kB / 0.7824 GB, free: 83.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0178/1.406, allocations: 2.22 MB / 0.7845 GB, free: 83.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01249/1.419, allocations: 3.65 MB / 0.7881 GB, free: 83.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004893/1.419, allocations: 336.4 kB / 0.7884 GB, free: 83.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002577/1.422, allocations: 443.5 kB / 0.7888 GB, free: 83.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03187/1.454, allocations: 10.56 MB / 0.7992 GB, free: 80.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004981/1.454, allocations: 53.03 kB / 0.7992 GB, free: 80.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003263/1.457, allocations: 216.8 kB / 0.7994 GB, free: 80.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003661/1.461, allocations: 1.014 MB / 0.8004 GB, free: 80.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0258/1.487, allocations: 8.403 MB / 0.8086 GB, free: 78.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06959/1.557, allocations: 49.21 MB / 0.8567 GB, free: 41.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0147/1.571, allocations: 3.531 MB / 0.8601 GB, free: 39.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003697/1.575, allocations: 1.709 MB / 0.8618 GB, free: 38.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01617/1.591, allocations: 7.469 MB / 0.8691 GB, free: 32.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/1.592, allocations: 55.5 kB / 0.8691 GB, free: 32.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 5.43e-06/1.592, allocations: 0 / 0.8691 GB, free: 32.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=146): time 0.04736/1.639, allocations: 12.59 MB / 0.8814 GB, free: 21.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001346/1.64, allocations: 1.619 MB / 0.883 GB, free: 20.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007813/1.648, allocations: 3.949 MB / 0.8869 GB, free: 16.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004343/1.649, allocations: 46.5 kB / 0.8869 GB, free: 16.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002703/1.651, allocations: 3.167 MB / 0.89 GB, free: 13.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009992/1.652, allocations: 0.6039 MB / 0.8906 GB, free: 12.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006482/1.653, allocations: 116 kB / 0.8907 GB, free: 12.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003585/1.653, allocations: 0.5502 MB / 0.8912 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005109/1.659, allocations: 2.124 MB / 0.8933 GB, free: 9.793 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008152/1.667, allocations: 5.867 MB / 0.899 GB, free: 2.055 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008111/1.675, allocations: 3.451 MB / 0.9024 GB, free: 14.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00015/1.675, allocations: 40 kB / 0.9025 GB, free: 14.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.02706/1.702, allocations: 8.509 MB / 0.9108 GB, free: 6.039 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001404/1.702, allocations: 68.06 kB / 0.9108 GB, free: 5.973 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01016/1.713, allocations: 2.838 MB / 0.9136 GB, free: 3.125 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005995/1.719, allocations: 1.128 MB / 0.9147 GB, free: 1.984 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008697/1.727, allocations: 1.372 MB / 0.916 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008938/1.736, allocations: 4.736 MB / 0.9207 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007646/1.744, allocations: 407.8 kB / 0.9211 GB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001594/1.746, allocations: 373.1 kB / 0.9214 GB, free: 10.85 MB / 442.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.006655/1.752, allocations: 2.096 MB / 0.9235 GB, free: 8.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001029/1.753, allocations: 335.7 kB / 0.9238 GB, free: 8.418 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01145/1.765, allocations: 3.085 MB / 0.9268 GB, free: 5.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009657/1.775, allocations: 2.609 MB / 0.9293 GB, free: 2.688 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.227e-05/1.775, allocations: 5.438 kB / 0.9293 GB, free: 2.684 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.213e-05/1.775, allocations: 3.984 kB / 0.9293 GB, free: 2.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3059/2.081, allocations: 3.845 MB / 0.9331 GB, free: 105.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.813e-05/2.081, allocations: 1.344 kB / 0.9331 GB, free: 105.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002765/2.083, allocations: 249.9 kB / 0.9333 GB, free: 105.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006027/2.09, allocations: 1.023 MB / 0.9343 GB, free: 105.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004767/2.09, allocations: 40.66 kB / 0.9344 GB, free: 105.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01287/2.103, allocations: 5.009 MB / 0.9393 GB, free: 102.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001973/2.105, allocations: 1.472 MB / 0.9407 GB, free: 101.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02399/2.129, allocations: 5.415 MB / 0.946 GB, free: 100.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001976/2.131, allocations: 403.2 kB / 0.9464 GB, free: 100.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001862/2.133, allocations: 31.78 kB / 0.9464 GB, free: 100.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005566/2.139, allocations: 142.3 kB / 0.9465 GB, free: 100.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000925/2.14, allocations: 90.33 kB / 0.9466 GB, free: 100.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003717/2.14, allocations: 43.86 kB / 0.9467 GB, free: 100.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01103/2.151, allocations: 2.448 MB / 0.9491 GB, free: 100.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.654e-06/2.151, allocations: 0 / 0.9491 GB, free: 100.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01205/2.163, allocations: 1.06 MB / 0.9501 GB, free: 100.6 MB / 442.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.001076/2.164, allocations: 163.6 kB / 0.9503 GB, free: 100.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02443/2.189, allocations: 5.667 MB / 0.9558 GB, free: 100 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/2.189, allocations: 0 / 0.9558 GB, free: 100 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01134/2.2, allocations: 2.208 MB / 0.9579 GB, free: 99.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007501/2.208, allocations: 419 kB / 0.9583 GB, free: 99.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03632/2.244, allocations: 11.31 MB / 0.9694 GB, free: 95.28 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006944/2.251, allocations: 3.329 MB / 0.9726 GB, free: 94.48 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.008702/2.26, allocations: 1.871 MB / 0.9745 GB, free: 94.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/2.261, allocations: 233.8 kB / 0.9747 GB, free: 94.33 MB / 442.7 MB Notification: Performance of SimCode: time 1.273e-06/2.261, allocations: 0 / 0.9747 GB, free: 94.33 MB / 442.7 MB Notification: Performance of Templates: time 0.09803/2.359, allocations: 34.25 MB / 1.008 GB, free: 86.72 MB / 442.7 MB