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 2.033/2.033, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.115e-05/3.13e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0865/0.08656, allocations: 48.7 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4091/0.4957, allocations: 104.2 MB / 430.7 MB, free: 3.742 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/0.496, allocations: 72.84 kB / 430.8 MB, free: 3.707 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.1/1.596, allocations: 229.7 MB / 0.645 GB, free: 37.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.856e-06/1.596, allocations: 0 / 0.645 GB, free: 37.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006484/1.596, allocations: 275.9 kB / 0.6452 GB, free: 37.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.06475/1.661, allocations: 13.78 MB / 0.6587 GB, free: 23.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/1.661, allocations: 12.03 kB / 0.6587 GB, free: 23.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05679/1.718, allocations: 10.87 MB / 0.6693 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3207/2.039, allocations: 15.48 MB / 0.6844 GB, free: 42.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001243/2.04, allocations: 1.082 MB / 0.6855 GB, free: 42.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005707/2.046, allocations: 1.443 MB / 0.6869 GB, free: 42.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08229/2.128, allocations: 31.99 MB / 0.7181 GB, free: 36.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008791/2.129, allocations: 155.3 kB / 0.7183 GB, free: 36.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005483/2.135, allocations: 0.661 MB / 0.7189 GB, free: 36.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004042/2.139, allocations: 2.327 MB / 0.7212 GB, free: 36.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06491/2.204, allocations: 25.54 MB / 0.7461 GB, free: 32.06 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5538/2.757, allocations: 130.5 MB / 0.8736 GB, free: 31.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04594/2.803, allocations: 12.38 MB / 0.8857 GB, free: 31.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009525/2.813, allocations: 5.746 MB / 0.8913 GB, free: 31.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004742/2.818, allocations: 4.843 MB / 0.896 GB, free: 27.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001/2.818, allocations: 85.25 kB / 0.8961 GB, free: 27.03 MB / 490.7 MB Notification: Performance of pre-optimization done (n=435): time 1.093e-05/2.818, allocations: 1.531 kB / 0.8961 GB, free: 27.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=569): time 0.402/3.22, allocations: 110.8 MB / 1.004 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0484/3.268, allocations: 24.79 MB / 1.029 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02208/3.29, allocations: 8.326 MB / 1.037 GB, free: 1.797 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001454/3.292, allocations: 108.3 kB / 1.037 GB, free: 1.688 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.009269/3.301, allocations: 8.564 MB / 1.045 GB, free: 9.129 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.004168/3.305, allocations: 2.192 MB / 1.047 GB, free: 6.953 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002524/3.308, allocations: 324 kB / 1.048 GB, free: 6.645 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001865/3.31, allocations: 0.9967 MB / 1.049 GB, free: 5.637 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02082/3.331, allocations: 9.196 MB / 1.058 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0306/3.361, allocations: 18.4 MB / 1.076 GB, free: 5.633 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3376/3.699, allocations: 12.73 MB / 1.088 GB, free: 170 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003047/3.699, allocations: 96.34 kB / 1.088 GB, free: 170 MB / 0.573 GB Notification: Performance of matching and sorting (n=2101) (initialization): time 0.09495/3.794, allocations: 35.65 MB / 1.123 GB, free: 168.4 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002486/3.795, allocations: 140.9 kB / 1.123 GB, free: 168.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06192/3.857, allocations: 22.95 MB / 1.145 GB, free: 166.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04286/3.899, allocations: 10.59 MB / 1.156 GB, free: 164.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01755/3.917, allocations: 3.919 MB / 1.16 GB, free: 164 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07315/3.99, allocations: 49.55 MB / 1.208 GB, free: 134.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02204/4.012, allocations: 1.8 MB / 1.21 GB, free: 133.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003747/4.016, allocations: 0.9742 MB / 1.211 GB, free: 132.3 MB / 0.573 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 () * 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.006141/4.022, allocations: 1.313 MB / 1.212 GB, free: 131.1 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002852/4.025, allocations: 0.8829 MB / 1.213 GB, free: 130.7 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08466/4.11, allocations: 28.87 MB / 1.241 GB, free: 108.5 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.07927/4.189, allocations: 27.09 MB / 1.267 GB, free: 81.21 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000131/4.189, allocations: 27.95 kB / 1.268 GB, free: 81.18 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001495/4.19, allocations: 27.91 kB / 1.268 GB, free: 81.15 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5124/4.702, allocations: 63.18 MB / 1.329 GB, free: 156.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-05/4.702, allocations: 4.25 kB / 1.329 GB, free: 156.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006485/4.709, allocations: 1.014 MB / 1.33 GB, free: 156.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06365/4.772, allocations: 15.67 MB / 1.346 GB, free: 156.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001565/4.774, allocations: 177.9 kB / 1.346 GB, free: 156.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1026/4.876, allocations: 64.67 MB / 1.409 GB, free: 134 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0393/4.916, allocations: 24.55 MB / 1.433 GB, free: 120.2 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09603/5.012, allocations: 41.05 MB / 1.473 GB, free: 83.57 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003239/5.015, allocations: 0.9418 MB / 1.474 GB, free: 83.09 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003493/5.019, allocations: 132 kB / 1.474 GB, free: 82.96 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01072/5.029, allocations: 0.9039 MB / 1.475 GB, free: 82.07 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002896/5.032, allocations: 456.6 kB / 1.475 GB, free: 81.63 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001505/5.034, allocations: 184.9 kB / 1.475 GB, free: 81.45 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01989/5.054, allocations: 5.748 MB / 1.481 GB, free: 75.75 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.733e-06/5.054, allocations: 3.625 kB / 1.481 GB, free: 75.75 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0436/5.098, allocations: 4.413 MB / 1.485 GB, free: 71.35 MB / 0.573 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 () * 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.003116/5.101, allocations: 284.5 kB / 1.486 GB, free: 71.12 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.05567/5.156, allocations: 23.09 MB / 1.508 GB, free: 48.72 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/5.156, allocations: 0 / 1.508 GB, free: 48.72 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.3721/5.529, allocations: 11.6 MB / 1.52 GB, free: 175.7 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009298/5.538, allocations: 1.344 MB / 1.521 GB, free: 175.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0856/5.624, allocations: 33.44 MB / 1.554 GB, free: 170.2 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02247/5.646, allocations: 9.413 MB / 1.563 GB, free: 169.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005137/5.651, allocations: 0.8027 MB / 1.563 GB, free: 169.2 MB / 0.573 GB Notification: Performance of SimCode: time 3.03e-06/5.651, allocations: 0 / 1.563 GB, free: 169.2 MB / 0.573 GB Notification: Performance of Templates: time 2.421/8.072, allocations: 0.8548 GB / 2.418 GB, free: 108.2 MB / 0.573 GB