Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002841/0.002846, allocations: 360.9 kB / 15.95 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.963/3.963, allocations: 388.9 MB / 405.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003608/0.003608, allocations: 222.7 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.512/0.512, allocations: 80.02 MB / 0.5627 GB, free: 19.86 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006313/0.0006317, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1011, allocations: 54.86 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.511/0.6122, allocations: 100 MB / 0.7778 GB, free: 1.516 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/0.6125, allocations: 82.7 kB / 0.7779 GB, free: 1.473 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3497/0.9623, allocations: 82.04 MB / 0.858 GB, free: 7.027 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.9624, allocations: 4 kB / 0.858 GB, free: 7.023 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002735/0.9627, allocations: 83.94 kB / 0.8581 GB, free: 6.941 MB / 442.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.02487/0.9875, allocations: 4.489 MB / 0.8624 GB, free: 2.379 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.9876, allocations: 8.031 kB / 0.8625 GB, free: 2.371 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01831/1.006, allocations: 2.233 MB / 0.8646 GB, free: 132 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01287/1.019, allocations: 3.677 MB / 0.8682 GB, free: 12.39 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005002/1.019, allocations: 336.8 kB / 0.8685 GB, free: 12.05 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002499/1.022, allocations: 439.8 kB / 0.869 GB, free: 11.62 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0324/1.054, allocations: 10.56 MB / 0.8793 GB, free: 15.98 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003257/1.055, allocations: 59.41 kB / 0.8793 GB, free: 15.92 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002414/1.057, allocations: 215.9 kB / 0.8795 GB, free: 15.71 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002678/1.06, allocations: 1.006 MB / 0.8805 GB, free: 14.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02728/1.087, allocations: 8.411 MB / 0.8887 GB, free: 6.266 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4921/1.579, allocations: 49.22 MB / 0.9368 GB, free: 72.16 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01537/1.595, allocations: 3.518 MB / 0.9402 GB, free: 71.49 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003953/1.599, allocations: 1.706 MB / 0.9419 GB, free: 71.46 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01704/1.616, allocations: 7.493 MB / 0.9492 GB, free: 69.09 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.562e-05/1.616, allocations: 48.72 kB / 0.9493 GB, free: 69.05 MB / 474.7 MB Notification: Performance of pre-optimization done (n=139): time 5.34e-06/1.616, allocations: 7.688 kB / 0.9493 GB, free: 69.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=146): time 0.05076/1.667, allocations: 12.59 MB / 0.9616 GB, free: 66.09 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001367/1.668, allocations: 1.616 MB / 0.9631 GB, free: 64.56 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008862/1.677, allocations: 3.951 MB / 0.967 GB, free: 63.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004748/1.678, allocations: 48.47 kB / 0.967 GB, free: 63.75 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002831/1.681, allocations: 3.167 MB / 0.9701 GB, free: 61.46 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001132/1.682, allocations: 0.5965 MB / 0.9707 GB, free: 61.04 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009444/1.683, allocations: 117.8 kB / 0.9708 GB, free: 60.95 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005604/1.683, allocations: 0.5562 MB / 0.9714 GB, free: 60.54 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005512/1.689, allocations: 2.147 MB / 0.9735 GB, free: 59.84 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008017/1.697, allocations: 5.869 MB / 0.9792 GB, free: 54.12 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007956/1.705, allocations: 3.457 MB / 0.9826 GB, free: 52.89 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001473/1.705, allocations: 42.23 kB / 0.9826 GB, free: 52.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.03409/1.739, allocations: 9.209 MB / 0.9916 GB, free: 49.99 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/1.739, allocations: 61.94 kB / 0.9917 GB, free: 49.99 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02064/1.76, allocations: 3.535 MB / 0.9951 GB, free: 49.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02653/1.787, allocations: 1.949 MB / 0.997 GB, free: 48.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0126/1.799, allocations: 1.375 MB / 0.9984 GB, free: 48.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0177/1.817, allocations: 5.777 MB / 1.004 GB, free: 45.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007599/1.825, allocations: 413.2 kB / 1.004 GB, free: 44.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001467/1.826, allocations: 375.8 kB / 1.005 GB, free: 44.91 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.005953/1.832, allocations: 2.088 MB / 1.007 GB, free: 43.91 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009698/1.833, allocations: 328.6 kB / 1.007 GB, free: 43.73 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009955/1.843, allocations: 3.103 MB / 1.01 GB, free: 42.46 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008347/1.852, allocations: 2.601 MB / 1.013 GB, free: 40.37 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.122e-05/1.852, allocations: 4 kB / 1.013 GB, free: 40.37 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.643e-05/1.852, allocations: 10.03 kB / 1.013 GB, free: 40.37 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009897/1.862, allocations: 3.861 MB / 1.016 GB, free: 37.37 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.93e-05/1.862, allocations: 0 / 1.016 GB, free: 37.37 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002567/1.864, allocations: 253.8 kB / 1.017 GB, free: 37.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005353/1.87, allocations: 1.028 MB / 1.018 GB, free: 36.48 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004354/1.87, allocations: 30.7 kB / 1.018 GB, free: 36.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00817/1.878, allocations: 5.001 MB / 1.023 GB, free: 31.81 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001095/1.879, allocations: 1.472 MB / 1.024 GB, free: 30.25 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01379/1.893, allocations: 5.427 MB / 1.029 GB, free: 25.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/1.895, allocations: 400.3 kB / 1.03 GB, free: 25.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001302/1.896, allocations: 29.97 kB / 1.03 GB, free: 25.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003425/1.899, allocations: 141.8 kB / 1.03 GB, free: 25.09 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005873/1.9, allocations: 92.09 kB / 1.03 GB, free: 25.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002029/1.9, allocations: 44 kB / 1.03 GB, free: 25 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006026/1.906, allocations: 2.45 MB / 1.032 GB, free: 23 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.61e-07/1.906, allocations: 0 / 1.032 GB, free: 23 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007256/1.914, allocations: 1.071 MB / 1.033 GB, free: 21.94 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.0008065/1.914, allocations: 166.8 kB / 1.034 GB, free: 21.78 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01515/1.93, allocations: 5.708 MB / 1.039 GB, free: 16.78 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/1.93, allocations: 0 / 1.039 GB, free: 16.78 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007026/1.937, allocations: 2.206 MB / 1.041 GB, free: 14.87 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004434/1.941, allocations: 409.1 kB / 1.042 GB, free: 14.52 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0303/1.972, allocations: 11.31 MB / 1.053 GB, free: 3.605 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006827/1.978, allocations: 3.334 MB / 1.056 GB, free: 260 kB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009107/1.988, allocations: 1.863 MB / 1.058 GB, free: 14.39 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001409/1.989, allocations: 231.3 kB / 1.058 GB, free: 14.17 MB / 490.7 MB Notification: Performance of SimCode: time 1.263e-06/1.989, allocations: 0 / 1.058 GB, free: 14.17 MB / 490.7 MB Notification: Performance of Templates: time 0.4572/2.446, allocations: 36.06 MB / 1.093 GB, free: 110.2 MB / 490.7 MB