Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2.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.SphericalSpherical2,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.|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.frame_a.r_0.1.|bodyBox.body.frame_a.r_0.2.|bodyBox.body.frame_a.r_0.3.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.3.|bodyBox1.body.Q.1.|bodyBox1.body.Q.2.|bodyBox1.body.Q.3.|bodyBox1.body.Q.4.|bodyBox1.body.w_a.1.|bodyBox1.body.w_a.2.|bodyBox1.body.w_a.3.|bodyBox2.body.Q.1.|bodyBox2.body.Q.2.|bodyBox2.body.Q.3.|bodyBox2.body.Q.4.|bodyBox2.body.frame_a.r_0.1.|bodyBox2.body.frame_a.r_0.2.|bodyBox2.body.frame_a.r_0.3.|bodyBox2.body.w_a.1.|bodyBox2.body.w_a.2.|bodyBox2.body.w_a.3.|bodyBox2.v_0.1.|bodyBox2.v_0.2.|bodyBox2.v_0.3.|sphericalSpherical.v_CM_0.1.|sphericalSpherical.v_CM_0.2.|sphericalSpherical.v_CM_0.3.|sphericalSpherical1.v_CM_0.1.|sphericalSpherical1.v_CM_0.2.|sphericalSpherical1.v_CM_0.3.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003889/0.003895, allocations: 342.6 kB / 15.94 MB, free: 6.223 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.896/3.896, 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.00366/0.00366, allocations: 221.4 kB / 397.9 MB, free: 4.98 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.485/0.485, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006806/0.000681, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09724/0.09796, allocations: 48.69 MB / 0.6067 GB, free: 4.664 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4488/0.5469, allocations: 104.3 MB / 0.7085 GB, free: 8.445 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/0.5473, allocations: 79.97 kB / 0.7086 GB, free: 8.367 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.502/2.049, allocations: 227.3 MB / 0.9306 GB, free: 26.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.848e-06/2.049, allocations: 0 / 0.9306 GB, free: 26.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.00114/2.051, allocations: 284.3 kB / 0.9309 GB, free: 26.95 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4609 * Number of variables: 4609 Notification: Performance of Generate backend data structure: time 0.09148/2.142, allocations: 14.32 MB / 0.9449 GB, free: 24.17 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/2.142, allocations: 8.062 kB / 0.9449 GB, free: 24.17 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1035/2.246, allocations: 8.313 MB / 0.953 GB, free: 23.31 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05079/2.296, allocations: 13.85 MB / 0.9665 GB, free: 22.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001621/2.298, allocations: 1.089 MB / 0.9676 GB, free: 21.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007699/2.306, allocations: 1.447 MB / 0.969 GB, free: 21.97 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1079/2.414, allocations: 32.08 MB / 1 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001165/2.415, allocations: 154.4 kB / 1 GB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00714/2.422, allocations: 0.6606 MB / 1.001 GB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005418/2.428, allocations: 2.327 MB / 1.003 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08809/2.516, allocations: 25.65 MB / 1.028 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6214/3.137, allocations: 130.3 MB / 1.156 GB, free: 28.33 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06383/3.201, allocations: 12.38 MB / 1.168 GB, free: 27.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01243/3.214, allocations: 5.838 MB / 1.174 GB, free: 27.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006308/3.22, allocations: 4.826 MB / 1.178 GB, free: 23.62 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001284/3.22, allocations: 77.94 kB / 1.178 GB, free: 23.58 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=435): time 9.217e-06/3.22, allocations: 0.875 kB / 1.178 GB, free: 23.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=569): time 1.242/4.462, allocations: 137.4 MB / 1.313 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05521/4.517, allocations: 24.81 MB / 1.337 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02638/4.544, allocations: 9.492 MB / 1.346 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001787/4.546, allocations: 112.1 kB / 1.346 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.008652/4.554, allocations: 8.853 MB / 1.355 GB, free: 99.54 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.004303/4.559, allocations: 2.19 MB / 1.357 GB, free: 98.28 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003042/4.562, allocations: 320 kB / 1.357 GB, free: 98.28 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.00217/4.564, allocations: 0.9913 MB / 1.358 GB, free: 97.94 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02345/4.587, allocations: 9.387 MB / 1.367 GB, free: 97.89 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02966/4.617, allocations: 18.65 MB / 1.386 GB, free: 82.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02918/4.646, allocations: 12.83 MB / 1.398 GB, free: 77.32 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004109/4.647, allocations: 93.09 kB / 1.398 GB, free: 77.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2101) (initialization): time 0.1284/4.775, allocations: 36.32 MB / 1.434 GB, free: 65.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004827/4.776, allocations: 141 kB / 1.434 GB, free: 65.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09033/4.866, allocations: 23.14 MB / 1.456 GB, free: 49.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5901/5.456, allocations: 10.59 MB / 1.467 GB, free: 98.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03717/5.494, allocations: 3.927 MB / 1.471 GB, free: 98.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1045/5.598, allocations: 49.58 MB / 1.519 GB, free: 85.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03375/5.632, allocations: 1.806 MB / 1.521 GB, free: 85.49 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006886/5.639, allocations: 0.9778 MB / 1.522 GB, free: 85.49 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1475 * Number of states: 0 () * Number of discrete variables: 75 (freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],rs3.arrowColor[3],rs3.arrowColor[2],rs3.arrowColor[1],rs2.arrowColor[3],rs2.arrowColor[2],rs2.arrowColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],sphericalSpherical1.massColor[3],sphericalSpherical1.massColor[2],sphericalSpherical1.massColor[1],sphericalSpherical1.sphereColor[3],sphericalSpherical1.sphereColor[2],sphericalSpherical1.sphereColor[1],sphericalSpherical1.rodColor[3],sphericalSpherical1.rodColor[2],sphericalSpherical1.rodColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],rs1.arrowColor[3],rs1.arrowColor[2],rs1.arrowColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (1937): * Single equations (assignments): 1908 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(4,100.0%),(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,82.8%) 32,(1,100.0%) 3,(4,93.8%) 20,(7,63.3%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02761/5.667, allocations: 6.192 MB / 1.528 GB, free: 85.35 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005449/5.672, allocations: 0.8829 MB / 1.529 GB, free: 85.35 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1816/5.854, allocations: 29.05 MB / 1.557 GB, free: 78.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1201/5.974, allocations: 27.29 MB / 1.584 GB, free: 71.53 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001369/5.974, allocations: 27.25 kB / 1.584 GB, free: 71.53 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001849/5.974, allocations: 26.3 kB / 1.584 GB, free: 71.53 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7076/6.682, allocations: 63.37 MB / 1.646 GB, free: 89.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001109/6.682, allocations: 5.172 kB / 1.646 GB, free: 89.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01548/6.698, allocations: 1.022 MB / 1.647 GB, free: 89.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09969/6.797, allocations: 15.68 MB / 1.662 GB, free: 89.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002127/6.799, allocations: 178 kB / 1.662 GB, free: 89.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1486/6.948, allocations: 64.76 MB / 1.725 GB, free: 76.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0551/7.003, allocations: 24.57 MB / 1.749 GB, free: 62.74 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1477/7.151, allocations: 40.34 MB / 1.789 GB, free: 49.62 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004225/7.155, allocations: 0.9458 MB / 1.79 GB, free: 48.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004916/7.16, allocations: 134.2 kB / 1.79 GB, free: 48.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01674/7.177, allocations: 0.9026 MB / 1.791 GB, free: 48.83 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003783/7.181, allocations: 448 kB / 1.791 GB, free: 48.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002035/7.183, allocations: 189.9 kB / 1.791 GB, free: 48.74 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01667/7.2, allocations: 5.863 MB / 1.797 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.42e-07/7.2, allocations: 7.906 kB / 1.797 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.02887/7.229, allocations: 4.403 MB / 1.801 GB, free: 40.59 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 32 ($STATESET6.x[2],$STATESET6.x[1],$STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[6],$STATESET4.x[5],$STATESET4.x[4],$STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyBox1.body.w_a[1],bodyBox1.body.w_a[2],bodyBox1.body.w_a[3],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 (412): * Single equations (assignments): 397 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {3,8,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(4,93.8%) 17,(3,100.0%) 3,(8,82.8%) 29,(7,93.9%) 12,(7,63.3%) 20} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002347/7.231, allocations: 286.7 kB / 1.802 GB, free: 40.38 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0574/7.288, allocations: 23.36 MB / 1.824 GB, free: 20.26 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.445e-05/7.289, allocations: 1.094 kB / 1.824 GB, free: 20.26 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.5094/7.798, allocations: 11.73 MB / 1.836 GB, free: 91.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02359/7.822, allocations: 1.421 MB / 1.837 GB, free: 91.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1219/7.944, allocations: 42.15 MB / 1.878 GB, free: 77.98 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03689/7.981, allocations: 9.424 MB / 1.888 GB, free: 76.95 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0351/8.016, allocations: 5.069 MB / 1.893 GB, free: 76.55 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008469/8.024, allocations: 0.7011 MB / 1.893 GB, free: 76.54 MB / 0.5105 GB Notification: Performance of SimCode: time 1.904e-06/8.024, allocations: 0 / 1.893 GB, free: 76.54 MB / 0.5105 GB Notification: Performance of Templates: time 0.9979/9.022, allocations: 170.9 MB / 2.06 GB, free: 74.1 MB / 0.5105 GB