Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical2") Notification: Performance of loadModel(ModelicaTest): time 1.93/1.93, allocations: 209.2 MB / 224.8 MB, free: 348 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004313/0.0004315, allocations: 15.98 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2862, allocations: 48.71 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1575/0.4438, allocations: 104.2 MB / 435.5 MB, free: 6.102 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.4441, allocations: 79.95 kB / 435.6 MB, free: 6.023 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.251/1.695, allocations: 229.4 MB / 0.6494 GB, free: 30.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.442e-06/1.695, allocations: 2.531 kB / 0.6494 GB, free: 30.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007195/1.696, allocations: 278.2 kB / 0.6497 GB, free: 30.6 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.0615/1.757, allocations: 14.52 MB / 0.6638 GB, free: 25.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/1.758, allocations: 12.12 kB / 0.6639 GB, free: 25.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05855/1.816, allocations: 10.85 MB / 0.6745 GB, free: 25.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04317/1.859, allocations: 15.53 MB / 0.6896 GB, free: 23.74 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001192/1.861, allocations: 1.086 MB / 0.6907 GB, free: 23.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005835/1.866, allocations: 1.451 MB / 0.6921 GB, free: 23.69 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0855/1.952, allocations: 32.29 MB / 0.7236 GB, free: 17.08 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008504/1.953, allocations: 147.8 kB / 0.7238 GB, free: 17.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005425/1.958, allocations: 0.6675 MB / 0.7244 GB, free: 16.72 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004218/1.963, allocations: 2.325 MB / 0.7267 GB, free: 16.31 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06701/2.03, allocations: 25.98 MB / 0.7521 GB, free: 1.562 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5366/2.566, allocations: 131.5 MB / 0.8805 GB, free: 23.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04552/2.612, allocations: 12.48 MB / 0.8927 GB, free: 22.72 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004945/2.617, allocations: 4.843 MB / 0.8974 GB, free: 18.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.427e-05/2.617, allocations: 81.19 kB / 0.8975 GB, free: 18.69 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=435): time 1.007e-05/2.617, allocations: 0 / 0.8975 GB, free: 18.69 MB / 0.4948 GB Notification: Performance of matching and sorting (n=569): time 0.8399/3.457, allocations: 135 MB / 1.029 GB, free: 95.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.04275/3.5, allocations: 25.89 MB / 1.055 GB, free: 86.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02029/3.52, allocations: 8.442 MB / 1.063 GB, free: 85.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001391/3.521, allocations: 113.3 kB / 1.063 GB, free: 85.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006453/3.528, allocations: 8.555 MB / 1.071 GB, free: 80.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003534/3.532, allocations: 2.191 MB / 1.073 GB, free: 79.56 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002515/3.534, allocations: 322.8 kB / 1.074 GB, free: 79.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00181/3.536, allocations: 0.9918 MB / 1.075 GB, free: 78.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01854/3.554, allocations: 9.389 MB / 1.084 GB, free: 75.36 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0241/3.579, allocations: 18.59 MB / 1.102 GB, free: 59.63 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02384/3.603, allocations: 12.84 MB / 1.115 GB, free: 54.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002731/3.603, allocations: 97.42 kB / 1.115 GB, free: 54.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2101) (initialization): time 0.09503/3.698, allocations: 36.02 MB / 1.15 GB, free: 35.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002786/3.698, allocations: 148 kB / 1.15 GB, free: 35.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3765/4.075, allocations: 23.17 MB / 1.173 GB, free: 81.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0453/4.12, allocations: 10.61 MB / 1.183 GB, free: 81.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01708/4.137, allocations: 3.915 MB / 1.187 GB, free: 81.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07642/4.214, allocations: 51 MB / 1.237 GB, free: 68.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02214/4.236, allocations: 1.799 MB / 1.238 GB, free: 68.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00395/4.24, allocations: 0.9788 MB / 1.239 GB, free: 68.53 MB / 0.4948 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.0166/4.256, allocations: 6.199 MB / 1.245 GB, free: 66.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003026/4.259, allocations: 0.8824 MB / 1.246 GB, free: 66.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08812/4.348, allocations: 29.05 MB / 1.275 GB, free: 58.03 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.08052/4.428, allocations: 27.29 MB / 1.301 GB, free: 48.29 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001123/4.428, allocations: 24 kB / 1.301 GB, free: 48.26 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001205/4.428, allocations: 30.36 kB / 1.301 GB, free: 48.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5139/4.942, allocations: 63.35 MB / 1.363 GB, free: 77.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.529e-05/4.943, allocations: 4.344 kB / 1.363 GB, free: 77.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00723/4.95, allocations: 1.018 MB / 1.364 GB, free: 77.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06823/5.018, allocations: 15.7 MB / 1.38 GB, free: 77.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001732/5.02, allocations: 176.4 kB / 1.38 GB, free: 77.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1117/5.132, allocations: 67.67 MB / 1.446 GB, free: 58.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.04293/5.175, allocations: 25.7 MB / 1.471 GB, free: 44.28 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1006/5.275, allocations: 41.36 MB / 1.511 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003171/5.278, allocations: 0.943 MB / 1.512 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003509/5.282, allocations: 128 kB / 1.512 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01038/5.292, allocations: 0.9093 MB / 1.513 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002799/5.295, allocations: 452.9 kB / 1.514 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001395/5.297, allocations: 183.1 kB / 1.514 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01395/5.311, allocations: 5.867 MB / 1.52 GB, free: 7.438 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.084e-06/5.311, allocations: 0 / 1.52 GB, free: 7.438 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.02297/5.334, allocations: 4.407 MB / 1.524 GB, free: 3.035 MB / 0.4948 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.001869/5.336, allocations: 283.5 kB / 1.524 GB, free: 2.805 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.3489/5.684, allocations: 23.42 MB / 1.547 GB, free: 97.58 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.989e-06/5.684, allocations: 3.844 kB / 1.547 GB, free: 97.58 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.02487/5.709, allocations: 11.75 MB / 1.558 GB, free: 96.06 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00908/5.718, allocations: 1.338 MB / 1.56 GB, free: 96.03 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09178/5.81, allocations: 43.59 MB / 1.602 GB, free: 82.06 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02253/5.833, allocations: 9.425 MB / 1.612 GB, free: 81 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005174/5.838, allocations: 0.7968 MB / 1.612 GB, free: 81 MB / 0.5105 GB Notification: Performance of SimCode: time 1.771e-06/5.838, allocations: 0 / 1.612 GB, free: 81 MB / 0.5105 GB Notification: Performance of Templates: time 2.816/8.654, allocations: 0.8548 GB / 2.467 GB, free: 118.2 MB / 0.5417 GB