Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.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.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.1_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002646/0.002649, allocations: 348 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 4.097/4.097, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.0046/0.0046, allocations: 226.1 kB / 397.9 MB, free: 4.969 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.5367/0.5367, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007523/0.0007529, allocations: 12 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1155, allocations: 48.7 MB / 0.6067 GB, free: 4.676 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4319/0.5475, allocations: 89.3 MB / 0.6939 GB, free: 23.44 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.5479, allocations: 75.97 kB / 0.694 GB, free: 23.37 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6494/1.197, allocations: 85.45 MB / 0.7775 GB, free: 89.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.785e-06/1.197, allocations: 0 / 0.7775 GB, free: 89.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002159/1.198, allocations: 72.97 kB / 0.7775 GB, free: 89.07 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: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.01641/1.214, allocations: 3.81 MB / 0.7813 GB, free: 87.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/1.214, allocations: 9.219 kB / 0.7813 GB, free: 87.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02806/1.242, allocations: 3.577 MB / 0.7848 GB, free: 87.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01239/1.255, allocations: 3.719 MB / 0.7884 GB, free: 86.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005366/1.255, allocations: 290.9 kB / 0.7887 GB, free: 86.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00337/1.259, allocations: 390 kB / 0.789 GB, free: 86.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0342/1.293, allocations: 10.3 MB / 0.7991 GB, free: 85.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003128/1.293, allocations: 31.28 kB / 0.7991 GB, free: 85.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002786/1.296, allocations: 178.6 kB / 0.7993 GB, free: 85.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002754/1.299, allocations: 1.192 MB / 0.8005 GB, free: 85.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02827/1.327, allocations: 10.08 MB / 0.8103 GB, free: 83.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07414/1.401, allocations: 36.4 MB / 0.8458 GB, free: 59.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01238/1.414, allocations: 4.416 MB / 0.8502 GB, free: 55.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004909/1.419, allocations: 2.188 MB / 0.8523 GB, free: 53.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001633/1.42, allocations: 1.314 MB / 0.8536 GB, free: 52.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.257e-05/1.421, allocations: 52.56 kB / 0.8536 GB, free: 51.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=245): time 7.524e-06/1.421, allocations: 0 / 0.8536 GB, free: 51.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=261): time 0.06714/1.488, allocations: 16.99 MB / 0.8702 GB, free: 36.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001441/1.489, allocations: 1.529 MB / 0.8717 GB, free: 34.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005175/1.494, allocations: 2.758 MB / 0.8744 GB, free: 31.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006135/1.495, allocations: 57.61 kB / 0.8745 GB, free: 31.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002204/1.497, allocations: 2.731 MB / 0.8771 GB, free: 29.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001518/1.499, allocations: 0.9617 MB / 0.8781 GB, free: 28.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006467/1.5, allocations: 106.3 kB / 0.8782 GB, free: 28.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003911/1.5, allocations: 0.5498 MB / 0.8787 GB, free: 27.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006076/1.506, allocations: 2.416 MB / 0.8811 GB, free: 25.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008157/1.514, allocations: 5.452 MB / 0.8864 GB, free: 18.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008499/1.523, allocations: 3.62 MB / 0.8899 GB, free: 14.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001097/1.523, allocations: 32.56 kB / 0.8899 GB, free: 14.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.02716/1.55, allocations: 8.783 MB / 0.8985 GB, free: 5.738 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.09e-05/1.55, allocations: 52.95 kB / 0.8986 GB, free: 5.688 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0133/1.564, allocations: 3.909 MB / 0.9024 GB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007678/1.571, allocations: 1.25 MB / 0.9036 GB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008595/1.58, allocations: 1.283 MB / 0.9049 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00743/1.587, allocations: 4.123 MB / 0.9089 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006827/1.594, allocations: 385 kB / 0.9093 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001697/1.596, allocations: 329 kB / 0.9096 GB, free: 10.14 MB / 426.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): 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.007/1.603, allocations: 2.111 MB / 0.9116 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009643/1.604, allocations: 280.3 kB / 0.9119 GB, free: 7.754 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02037/1.625, allocations: 5.39 MB / 0.9172 GB, free: 2.297 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3337/1.958, allocations: 4.635 MB / 0.9217 GB, free: 94.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.087e-05/1.958, allocations: 1.344 kB / 0.9217 GB, free: 94.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.417e-05/1.959, allocations: 11.44 kB / 0.9217 GB, free: 94.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04708/2.006, allocations: 14.64 MB / 0.936 GB, free: 93.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.488e-05/2.006, allocations: 7.656 kB / 0.936 GB, free: 93.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003853/2.01, allocations: 428.3 kB / 0.9364 GB, free: 93.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008024/2.018, allocations: 1.192 MB / 0.9376 GB, free: 93.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006773/2.018, allocations: 59.38 kB / 0.9376 GB, free: 93.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007161/2.026, allocations: 4.452 MB / 0.942 GB, free: 90.63 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001182/2.027, allocations: 1.467 MB / 0.9434 GB, free: 89.28 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02285/2.05, allocations: 8.023 MB / 0.9513 GB, free: 88.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/2.051, allocations: 337.2 kB / 0.9516 GB, free: 88.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001352/2.052, allocations: 58.16 kB / 0.9516 GB, free: 88.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003539/2.056, allocations: 190.6 kB / 0.9518 GB, free: 88.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008712/2.057, allocations: 177.4 kB / 0.952 GB, free: 88.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002991/2.057, allocations: 76.28 kB / 0.9521 GB, free: 88.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004106/2.061, allocations: 1.683 MB / 0.9537 GB, free: 87.99 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.01e-07/2.061, allocations: 0 / 0.9537 GB, free: 87.99 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00714/2.068, allocations: 1.06 MB / 0.9547 GB, free: 87.88 MB / 426.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.001106/2.07, allocations: 203.3 kB / 0.9549 GB, free: 87.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01639/2.086, allocations: 6.431 MB / 0.9612 GB, free: 85.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.718e-05/2.086, allocations: 2.125 kB / 0.9612 GB, free: 85.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008691/2.095, allocations: 2.898 MB / 0.964 GB, free: 84.61 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004069/2.099, allocations: 384 kB / 0.9644 GB, free: 84.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03009/2.129, allocations: 12.58 MB / 0.9767 GB, free: 78.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00753/2.137, allocations: 3.381 MB / 0.98 GB, free: 77.07 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008623/2.145, allocations: 2.113 MB / 0.9821 GB, free: 76.94 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001579/2.147, allocations: 225 kB / 0.9823 GB, free: 76.92 MB / 426.7 MB Notification: Performance of SimCode: time 1.382e-06/2.147, allocations: 0 / 0.9823 GB, free: 76.92 MB / 426.7 MB Notification: Performance of Templates: time 0.0926/2.24, allocations: 32.43 MB / 1.014 GB, free: 55.79 MB / 426.7 MB