Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical2.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.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.2_ModelicaTest.MultiBody.Joints.SphericalSpherical2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004298/0.004298, allocations: 359.6 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.192/4.192, allocations: 388.9 MB / 405.6 MB, free: 10.24 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.003587/0.003586, allocations: 216.8 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.5274/0.5274, allocations: 80.02 MB / 0.5627 GB, free: 19.83 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006901/0.0006908, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1313, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5744/0.7058, allocations: 111 MB / 0.7885 GB, free: 6.648 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003653/0.7062, allocations: 78.97 kB / 0.7886 GB, free: 6.609 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.285/1.991, allocations: 227.5 MB / 1.011 GB, free: 58.64 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.535e-06/1.991, allocations: 0 / 1.011 GB, free: 58.64 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000825/1.992, allocations: 280 kB / 1.011 GB, free: 58.36 MB / 474.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.08777/2.08, allocations: 14.32 MB / 1.025 GB, free: 43.93 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/2.08, allocations: 8.031 kB / 1.025 GB, free: 43.92 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09843/2.179, allocations: 8.369 MB / 1.033 GB, free: 35.52 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04421/2.223, allocations: 13.88 MB / 1.047 GB, free: 21.55 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001291/2.224, allocations: 1.091 MB / 1.048 GB, free: 20.46 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007135/2.231, allocations: 1.441 MB / 1.049 GB, free: 19.02 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1046/2.336, allocations: 32.08 MB / 1.081 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001384/2.337, allocations: 154.6 kB / 1.081 GB, free: 412 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.7928/3.13, allocations: 0.6562 MB / 1.081 GB, free: 69.24 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006345/3.137, allocations: 2.326 MB / 1.084 GB, free: 69.21 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08842/3.225, allocations: 25.65 MB / 1.109 GB, free: 69.11 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2728/3.498, allocations: 130.4 MB / 1.236 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06721/3.565, allocations: 12.39 MB / 1.248 GB, free: 9.578 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01759/3.583, allocations: 5.838 MB / 1.254 GB, free: 4.34 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01067/3.594, allocations: 4.828 MB / 1.259 GB, free: 15.15 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/3.594, allocations: 80.48 kB / 1.259 GB, free: 15.06 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=435): time 9.218e-06/3.594, allocations: 0 / 1.259 GB, free: 15.06 MB / 0.5262 GB Notification: Performance of matching and sorting (n=569): time 1.835/5.429, allocations: 138 MB / 1.393 GB, free: 94.61 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05321/5.482, allocations: 24.81 MB / 1.418 GB, free: 68.97 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02583/5.508, allocations: 9.5 MB / 1.427 GB, free: 59.54 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 0.001925/5.51, allocations: 112.8 kB / 1.427 GB, free: 59.43 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 0.008018/5.518, allocations: 8.85 MB / 1.436 GB, free: 50.6 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.004271/5.523, allocations: 2.191 MB / 1.438 GB, free: 48.42 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003447/5.526, allocations: 319.5 kB / 1.438 GB, free: 48.11 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.001801/5.528, allocations: 0.9881 MB / 1.439 GB, free: 47.12 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02294/5.551, allocations: 9.405 MB / 1.448 GB, free: 37.69 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03006/5.581, allocations: 18.67 MB / 1.466 GB, free: 14.62 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5015/6.083, allocations: 12.85 MB / 1.479 GB, free: 95.82 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002978/6.083, allocations: 91.31 kB / 1.479 GB, free: 95.82 MB / 0.5263 GB Notification: Performance of matching and sorting (n=2101) (initialization): time 0.1391/6.222, allocations: 36.71 MB / 1.515 GB, free: 94.06 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002473/6.222, allocations: 141 kB / 1.515 GB, free: 94.06 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1024/6.325, allocations: 23.47 MB / 1.538 GB, free: 89.61 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09742/6.422, allocations: 10.95 MB / 1.549 GB, free: 87.77 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02481/6.447, allocations: 3.85 MB / 1.552 GB, free: 87.35 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1223/6.57, allocations: 51.32 MB / 1.603 GB, free: 51 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04291/6.613, allocations: 1.798 MB / 1.604 GB, free: 49.82 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007309/6.62, allocations: 0.9773 MB / 1.605 GB, free: 48.91 MB / 0.5263 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 (1925): * Single equations (assignments): 1896 * 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,4,4,4,4} * 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.02552/6.646, allocations: 6.197 MB / 1.611 GB, free: 43.54 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003864/6.649, allocations: 0.8854 MB / 1.612 GB, free: 43.14 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1267/6.776, allocations: 29.05 MB / 1.641 GB, free: 18.11 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.122/6.898, allocations: 27.28 MB / 1.667 GB, free: 6.664 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001332/6.898, allocations: 27.94 kB / 1.667 GB, free: 6.637 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001801/6.899, allocations: 31.89 kB / 1.667 GB, free: 6.605 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7847/7.683, allocations: 63.36 MB / 1.729 GB, free: 99.61 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.84e-05/7.684, allocations: 5.562 kB / 1.729 GB, free: 99.61 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01019/7.694, allocations: 1.018 MB / 1.73 GB, free: 99.61 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0978/7.792, allocations: 15.69 MB / 1.745 GB, free: 97.49 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002475/7.794, allocations: 179.8 kB / 1.746 GB, free: 97.41 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1606/7.955, allocations: 64.77 MB / 1.809 GB, free: 60.79 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05237/8.007, allocations: 24.58 MB / 1.833 GB, free: 37.16 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1475/8.155, allocations: 40.32 MB / 1.872 GB, free: 13.27 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.4728/8.628, allocations: 0.9488 MB / 1.873 GB, free: 117.9 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00489/8.633, allocations: 133.5 kB / 1.873 GB, free: 117.9 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01682/8.649, allocations: 0.9003 MB / 1.874 GB, free: 117.9 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003861/8.653, allocations: 454.1 kB / 1.875 GB, free: 117.9 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002321/8.656, allocations: 184.1 kB / 1.875 GB, free: 117.9 MB / 0.5575 GB Notification: Performance of sorting global known variables: time 0.02035/8.676, allocations: 5.87 MB / 1.881 GB, free: 117.7 MB / 0.5575 GB Notification: Performance of sort global known variables: time 1.673e-06/8.676, allocations: 0 / 1.881 GB, free: 117.7 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.02786/8.704, allocations: 4.433 MB / 1.885 GB, free: 117.7 MB / 0.5575 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.002819/8.707, allocations: 278.5 kB / 1.885 GB, free: 117.6 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.06215/8.769, allocations: 23.92 MB / 1.909 GB, free: 116 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.387e-05/8.769, allocations: 2.375 kB / 1.909 GB, free: 116 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.04034/8.81, allocations: 11.75 MB / 1.92 GB, free: 114.5 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02517/8.835, allocations: 1.427 MB / 1.921 GB, free: 114.5 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1168/8.952, allocations: 42.17 MB / 1.963 GB, free: 100.6 MB / 0.5575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02856/8.98, allocations: 9.429 MB / 1.972 GB, free: 97.84 MB / 0.5575 GB Notification: Performance of simCode: alias equations: time 0.02673/9.007, allocations: 5.06 MB / 1.977 GB, free: 97.23 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006577/9.014, allocations: 0.6919 MB / 1.977 GB, free: 96.65 MB / 0.5575 GB Notification: Performance of SimCode: time 1.162e-06/9.014, allocations: 0 / 1.977 GB, free: 96.65 MB / 0.5575 GB Notification: Performance of Templates: time 1.074/10.09, allocations: 173.6 MB / 2.147 GB, free: 114.9 MB / 0.5575 GB