Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.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.Joints.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002652/0.002657, allocations: 360.2 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 4.364/4.364, allocations: 388.9 MB / 405.6 MB, free: 9.656 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.003578/0.003578, allocations: 227.3 kB / 451 MB, free: 145 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.573/0.573, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004938/0.0004941, allocations: 16 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1356, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5372/0.6728, allocations: 96.02 MB / 0.7739 GB, free: 5.469 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/0.6732, allocations: 82.08 kB / 0.7739 GB, free: 5.426 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3532/1.026, allocations: 85.65 MB / 0.8576 GB, free: 7.312 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.775e-06/1.026, allocations: 0 / 0.8576 GB, free: 7.312 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002064/1.027, allocations: 72 kB / 0.8577 GB, free: 7.242 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: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.0165/1.043, allocations: 3.81 MB / 0.8614 GB, free: 3.363 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.043, allocations: 8.031 kB / 0.8614 GB, free: 3.355 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02889/1.072, allocations: 3.59 MB / 0.8649 GB, free: 15.75 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01264/1.085, allocations: 3.73 MB / 0.8685 GB, free: 11.98 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005322/1.085, allocations: 291.6 kB / 0.8688 GB, free: 11.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002983/1.088, allocations: 399.7 kB / 0.8692 GB, free: 11.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03452/1.123, allocations: 10.29 MB / 0.8792 GB, free: 0.5156 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002428/1.123, allocations: 35.64 kB / 0.8793 GB, free: 492 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002342/1.126, allocations: 179.9 kB / 0.8794 GB, free: 312 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003028/1.129, allocations: 1.18 MB / 0.8806 GB, free: 15.12 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0318/1.161, allocations: 10.08 MB / 0.8904 GB, free: 5.035 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4613/1.622, allocations: 36.4 MB / 0.926 GB, free: 95.95 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01271/1.635, allocations: 4.399 MB / 0.9303 GB, free: 94.79 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004961/1.64, allocations: 2.188 MB / 0.9324 GB, free: 94.78 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001555/1.641, allocations: 1.316 MB / 0.9337 GB, free: 93.64 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.055e-05/1.641, allocations: 50.69 kB / 0.9338 GB, free: 93.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=245): time 6.803e-06/1.641, allocations: 0 / 0.9338 GB, free: 93.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=261): time 0.06844/1.71, allocations: 16.98 MB / 0.9503 GB, free: 90.42 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001328/1.711, allocations: 1.538 MB / 0.9518 GB, free: 88.93 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005625/1.717, allocations: 2.756 MB / 0.9545 GB, free: 87.96 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006406/1.718, allocations: 57.86 kB / 0.9546 GB, free: 87.91 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00228/1.72, allocations: 2.732 MB / 0.9573 GB, free: 86.18 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001514/1.721, allocations: 0.9561 MB / 0.9582 GB, free: 85.47 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006926/1.722, allocations: 105.9 kB / 0.9583 GB, free: 85.39 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004543/1.723, allocations: 0.5624 MB / 0.9588 GB, free: 84.97 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006032/1.729, allocations: 2.422 MB / 0.9612 GB, free: 84.22 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008206/1.737, allocations: 5.461 MB / 0.9665 GB, free: 79.48 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008295/1.745, allocations: 3.639 MB / 0.9701 GB, free: 78.31 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001258/1.746, allocations: 34.59 kB / 0.9701 GB, free: 78.31 MB / 474.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.05067/1.796, allocations: 9.468 MB / 0.9794 GB, free: 75.44 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001362/1.796, allocations: 50.19 kB / 0.9794 GB, free: 75.44 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03368/1.83, allocations: 4.594 MB / 0.9839 GB, free: 74.31 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0283/1.858, allocations: 2.058 MB / 0.9859 GB, free: 74.03 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01185/1.87, allocations: 1.294 MB / 0.9872 GB, free: 72.92 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01291/1.883, allocations: 4.976 MB / 0.992 GB, free: 68.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006817/1.89, allocations: 393.6 kB / 0.9924 GB, free: 68.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00147/1.892, allocations: 331.6 kB / 0.9927 GB, free: 67.77 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 479 * Number of states: 0 () * Number of discrete variables: 21 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (688): * Single equations (assignments): 676 * Array equations: 8 * 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.007857/1.9, allocations: 2.107 MB / 0.9948 GB, free: 65.95 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001139/1.901, allocations: 276.3 kB / 0.9951 GB, free: 65.68 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02761/1.928, allocations: 5.384 MB / 1 GB, free: 61.31 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02446/1.953, allocations: 4.638 MB / 1.005 GB, free: 57.48 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-05/1.953, allocations: 7.312 kB / 1.005 GB, free: 57.47 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.991e-05/1.953, allocations: 10.97 kB / 1.005 GB, free: 57.47 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05405/2.007, allocations: 14.64 MB / 1.019 GB, free: 45.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.5e-05/2.007, allocations: 11.95 kB / 1.019 GB, free: 45.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006108/2.014, allocations: 427.4 kB / 1.02 GB, free: 44.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01164/2.025, allocations: 1.185 MB / 1.021 GB, free: 43.46 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008809/2.026, allocations: 65.53 kB / 1.021 GB, free: 43.39 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01017/2.036, allocations: 4.452 MB / 1.025 GB, free: 38.69 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001633/2.038, allocations: 1.475 MB / 1.027 GB, free: 37.08 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03187/2.07, allocations: 8.012 MB / 1.034 GB, free: 28.88 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/2.071, allocations: 341.4 kB / 1.035 GB, free: 28.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001306/2.073, allocations: 59.97 kB / 1.035 GB, free: 28.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004833/2.077, allocations: 188.9 kB / 1.035 GB, free: 28.28 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001233/2.079, allocations: 174.9 kB / 1.035 GB, free: 28.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000589/2.079, allocations: 79.97 kB / 1.035 GB, free: 28.03 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006119/2.086, allocations: 1.685 MB / 1.037 GB, free: 26.34 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.774e-06/2.086, allocations: 0 / 1.037 GB, free: 26.34 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01049/2.096, allocations: 1.066 MB / 1.038 GB, free: 25.28 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[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 (202): * Single equations (assignments): 192 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.001362/2.098, allocations: 200.8 kB / 1.038 GB, free: 25.07 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02461/2.122, allocations: 6.467 MB / 1.044 GB, free: 18.56 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.307e-05/2.122, allocations: 0 / 1.044 GB, free: 18.56 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01268/2.135, allocations: 2.896 MB / 1.047 GB, free: 15.59 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006743/2.142, allocations: 389.8 kB / 1.048 GB, free: 15.23 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04298/2.185, allocations: 12.59 MB / 1.06 GB, free: 2.551 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01154/2.197, allocations: 3.386 MB / 1.063 GB, free: 15.14 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01532/2.212, allocations: 2.107 MB / 1.065 GB, free: 13.04 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002601/2.215, allocations: 223.4 kB / 1.065 GB, free: 12.82 MB / 490.7 MB Notification: Performance of SimCode: time 2.565e-06/2.215, allocations: 0 / 1.065 GB, free: 12.82 MB / 490.7 MB Notification: Performance of Templates: time 0.5199/2.735, allocations: 34.12 MB / 1.099 GB, free: 116.4 MB / 490.7 MB