Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.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.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004447/0.004454, allocations: 362.4 kB / 15.95 MB, free: 6.203 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.389/4.389, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.003631/0.003631, allocations: 234.4 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.5362/0.5362, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000454/0.0004542, allocations: 16 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1078, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4939/0.6018, allocations: 95.32 MB / 0.7732 GB, free: 6.254 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/0.6022, allocations: 82.52 kB / 0.7733 GB, free: 6.211 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3523/0.9544, allocations: 81.79 MB / 0.8531 GB, free: 11.89 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.9545, allocations: 0 / 0.8531 GB, free: 11.89 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002317/0.9548, allocations: 68 kB / 0.8532 GB, free: 11.82 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: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.02428/0.9791, allocations: 4.003 MB / 0.8571 GB, free: 7.754 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.9791, allocations: 8.031 kB / 0.8571 GB, free: 7.746 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04225/1.021, allocations: 5.743 MB / 0.8627 GB, free: 1.988 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01539/1.037, allocations: 4.092 MB / 0.8667 GB, free: 13.85 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004836/1.037, allocations: 283.2 kB / 0.867 GB, free: 13.57 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00283/1.04, allocations: 371.8 kB / 0.8673 GB, free: 13.21 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03706/1.077, allocations: 10.35 MB / 0.8774 GB, free: 2.348 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000222/1.078, allocations: 23.81 kB / 0.8775 GB, free: 2.324 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002612/1.08, allocations: 171.9 kB / 0.8776 GB, free: 2.156 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003088/1.083, allocations: 1.152 MB / 0.8788 GB, free: 1.004 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03403/1.117, allocations: 10.01 MB / 0.8885 GB, free: 6.988 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4257/1.543, allocations: 37.24 MB / 0.9249 GB, free: 96.69 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01928/1.563, allocations: 5.591 MB / 0.9304 GB, free: 95.52 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005019/1.568, allocations: 2.329 MB / 0.9326 GB, free: 95.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00217/1.57, allocations: 1.872 MB / 0.9345 GB, free: 93.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.234e-05/1.57, allocations: 52.25 kB / 0.9345 GB, free: 93.76 MB / 474.7 MB Notification: Performance of pre-optimization done (n=224): time 6.963e-06/1.57, allocations: 0 / 0.9345 GB, free: 93.76 MB / 474.7 MB Notification: Performance of matching and sorting (n=231): time 0.06/1.63, allocations: 14.97 MB / 0.9491 GB, free: 91.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001354/1.631, allocations: 1.52 MB / 0.9506 GB, free: 90.02 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005335/1.637, allocations: 2.785 MB / 0.9533 GB, free: 89.05 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007082/1.638, allocations: 57.89 kB / 0.9534 GB, free: 88.99 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002316/1.64, allocations: 2.673 MB / 0.956 GB, free: 87.32 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001538/1.641, allocations: 0.8492 MB / 0.9568 GB, free: 86.69 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007114/1.642, allocations: 106.2 kB / 0.9569 GB, free: 86.61 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000407/1.643, allocations: 0.5499 MB / 0.9575 GB, free: 86.21 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006294/1.649, allocations: 2.598 MB / 0.96 GB, free: 85.38 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008556/1.658, allocations: 5.586 MB / 0.9655 GB, free: 80.61 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008577/1.666, allocations: 3.788 MB / 0.9692 GB, free: 79.38 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.805e-05/1.666, allocations: 28.53 kB / 0.9692 GB, free: 79.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.1173/1.784, allocations: 18.95 MB / 0.9877 GB, free: 75.77 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.289e-05/1.784, allocations: 59.44 kB / 0.9877 GB, free: 75.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08972/1.874, allocations: 12 MB / 0.9995 GB, free: 66.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09142/1.965, allocations: 10.31 MB / 1.01 GB, free: 55.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008253/1.973, allocations: 1.244 MB / 1.011 GB, free: 54.53 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04513/2.018, allocations: 16.01 MB / 1.026 GB, free: 38.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00691/2.025, allocations: 444.6 kB / 1.027 GB, free: 37.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001525/2.027, allocations: 317.4 kB / 1.027 GB, free: 37.53 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 474 * 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],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (649): * Single equations (assignments): 638 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.005579/2.033, allocations: 2.011 MB / 1.029 GB, free: 35.51 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007641/2.033, allocations: 276.3 kB / 1.029 GB, free: 35.24 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01469/2.048, allocations: 5.1 MB / 1.034 GB, free: 30.11 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01361/2.062, allocations: 4.388 MB / 1.039 GB, free: 25.71 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.85e-05/2.062, allocations: 4 kB / 1.039 GB, free: 25.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.337e-05/2.062, allocations: 7.969 kB / 1.039 GB, free: 25.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03424/2.096, allocations: 12.98 MB / 1.051 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.741e-05/2.096, allocations: 12.19 kB / 1.051 GB, free: 12.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003568/2.1, allocations: 403.3 kB / 1.052 GB, free: 12.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005198/2.105, allocations: 0.9428 MB / 1.053 GB, free: 11.21 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005934/2.106, allocations: 55.92 kB / 1.053 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009173/2.115, allocations: 5.429 MB / 1.058 GB, free: 5.473 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001074/2.116, allocations: 1.457 MB / 1.059 GB, free: 3.871 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02065/2.137, allocations: 7.692 MB / 1.067 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/2.138, allocations: 325.6 kB / 1.067 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001422/2.139, allocations: 49.62 kB / 1.067 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003908/2.143, allocations: 200.6 kB / 1.067 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000919/2.144, allocations: 145 kB / 1.068 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003113/2.144, allocations: 72.47 kB / 1.068 GB, free: 11.25 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00474/2.149, allocations: 1.701 MB / 1.069 GB, free: 9.547 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.11e-07/2.149, allocations: 0 / 1.069 GB, free: 9.547 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007512/2.157, allocations: 1.101 MB / 1.07 GB, free: 8.453 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],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 (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009751/2.158, allocations: 183.6 kB / 1.071 GB, free: 8.273 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01974/2.178, allocations: 6.537 MB / 1.077 GB, free: 1.719 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/2.178, allocations: 0 / 1.077 GB, free: 1.719 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3327/2.51, allocations: 2.518 MB / 1.079 GB, free: 124.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004025/2.514, allocations: 361.8 kB / 1.08 GB, free: 124.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03061/2.545, allocations: 11.75 MB / 1.091 GB, free: 120.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008474/2.554, allocations: 3.241 MB / 1.094 GB, free: 119.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01006/2.564, allocations: 2.055 MB / 1.096 GB, free: 119.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001862/2.566, allocations: 208 kB / 1.097 GB, free: 119.6 MB / 490.7 MB Notification: Performance of SimCode: time 2.284e-06/2.566, allocations: 0 / 1.097 GB, free: 119.6 MB / 490.7 MB Notification: Performance of Templates: time 0.1087/2.674, allocations: 43.15 MB / 1.139 GB, free: 114.9 MB / 490.7 MB