Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical2") Notification: Performance of loadModel(ModelicaTest): time 2.344/2.344, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004447/0.0004449, allocations: 15.98 kB / 314.3 MB, free: 9.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2818, allocations: 54.87 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical2): time 0.1852/0.4671, allocations: 104.2 MB / 473.4 MB, free: 2.262 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3422/0.8094, allocations: 24.31 MB / 497.7 MB, free: 15.83 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0231/0.8325, allocations: 0.5439 MB / 498.2 MB, free: 15.83 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01665/0.8492, allocations: 5.49 MB / 0.4919 GB, free: 14.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04872/0.898, allocations: 14.35 MB / 0.5059 GB, free: 9.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009323/0.9073, allocations: 1.98 MB / 0.5079 GB, free: 9.449 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.05845/0.9658, allocations: 28.79 MB / 0.536 GB, free: 8.465 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04141/1.007, allocations: 22.13 MB / 0.5576 GB, free: 8.398 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00652/1.014, allocations: 2.847 MB / 0.5604 GB, free: 6.145 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007917/1.022, allocations: 3.98 MB / 0.5643 GB, free: 2.891 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002646/1.025, allocations: 472 kB / 0.5647 GB, free: 2.43 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005315/1.03, allocations: 1.471 MB / 0.5661 GB, free: 1.164 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008048/1.038, allocations: 5.199 MB / 0.5712 GB, free: 12.95 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004428/1.042, allocations: 2.616 MB / 0.5738 GB, free: 11.59 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02866/1.071, allocations: 20.26 MB / 0.5936 GB, free: 10.04 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/1.071, allocations: 0 / 0.5936 GB, free: 10.04 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.467e-06/1.071, allocations: 0 / 0.5936 GB, free: 10.04 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000528/1.072, allocations: 0 / 0.5936 GB, free: 10.04 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.03925/1.111, allocations: 13.09 MB / 0.6064 GB, free: 14.04 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/1.111, allocations: 8.031 kB / 0.6064 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2779/1.389, allocations: 22.38 MB / 0.6282 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02623/1.415, allocations: 9.729 MB / 0.6377 GB, free: 0.6719 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001229/1.417, allocations: 0.8891 MB / 0.6386 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006278/1.423, allocations: 1.519 MB / 0.6401 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6248/2.048, allocations: 31.92 MB / 0.6712 GB, free: 197 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007497/2.049, allocations: 118.4 kB / 0.6714 GB, free: 197 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003754/2.052, allocations: 0.5309 MB / 0.6719 GB, free: 197 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007985/2.06, allocations: 4.354 MB / 0.6761 GB, free: 196.9 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06597/2.126, allocations: 26.31 MB / 0.7018 GB, free: 185.9 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1532/2.28, allocations: 110.7 MB / 0.8099 GB, free: 73.93 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04353/2.323, allocations: 12.67 MB / 0.8223 GB, free: 61.12 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004835/2.328, allocations: 4.837 MB / 0.827 GB, free: 55.54 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.925e-05/2.328, allocations: 89.44 kB / 0.8271 GB, free: 55.44 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=435): time 1.042e-05/2.328, allocations: 0 / 0.8271 GB, free: 55.44 MB / 0.5262 GB Notification: Performance of matching and sorting (n=568): time 1.079/3.407, allocations: 134.5 MB / 0.9584 GB, free: 144.9 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03838/3.445, allocations: 25.9 MB / 0.9837 GB, free: 118.1 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01902/3.464, allocations: 10.26 MB / 0.9937 GB, free: 107.9 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 0.001356/3.466, allocations: 109.8 kB / 0.9938 GB, free: 107.8 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 0.005418/3.471, allocations: 8.538 MB / 1.002 GB, free: 99.32 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.003167/3.474, allocations: 2.19 MB / 1.004 GB, free: 97.15 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001771/3.476, allocations: 318.3 kB / 1.005 GB, free: 96.84 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.001009/3.477, allocations: 0.9927 MB / 1.006 GB, free: 95.84 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01716/3.494, allocations: 9.694 MB / 1.015 GB, free: 86.14 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0217/3.516, allocations: 18.92 MB / 1.034 GB, free: 62.72 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02207/3.538, allocations: 13.13 MB / 1.046 GB, free: 49.55 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002531/3.539, allocations: 95.84 kB / 1.046 GB, free: 49.46 MB / 0.5263 GB Notification: Performance of matching and sorting (n=2094) (initialization): time 0.4146/3.953, allocations: 40.73 MB / 1.086 GB, free: 154.2 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002547/3.954, allocations: 142.9 kB / 1.086 GB, free: 154.2 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08576/4.039, allocations: 27.88 MB / 1.114 GB, free: 146.4 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0731/4.112, allocations: 15.59 MB / 1.129 GB, free: 138 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01517/4.128, allocations: 3.856 MB / 1.133 GB, free: 134.5 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09635/4.224, allocations: 62.81 MB / 1.194 GB, free: 70.89 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01957/4.244, allocations: 1.795 MB / 1.196 GB, free: 69.15 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003171/4.247, allocations: 0.9714 MB / 1.197 GB, free: 68.18 MB / 0.5263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1467 * 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 (1918): * Single equations (assignments): 1889 * 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.0134/4.26, allocations: 6.194 MB / 1.203 GB, free: 62.18 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002403/4.263, allocations: 0.8778 MB / 1.204 GB, free: 61.78 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08149/4.344, allocations: 29.45 MB / 1.232 GB, free: 32.3 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.07733/4.422, allocations: 27.68 MB / 1.259 GB, free: 4.453 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.195e-05/4.422, allocations: 31.94 kB / 1.259 GB, free: 4.422 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001127/4.422, allocations: 27.91 kB / 1.259 GB, free: 4.395 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4554/4.877, allocations: 64.01 MB / 1.322 GB, free: 134.3 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.659e-05/4.877, allocations: 3.812 kB / 1.322 GB, free: 134.3 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006287/4.884, allocations: 1.053 MB / 1.323 GB, free: 134.2 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06276/4.946, allocations: 15.91 MB / 1.338 GB, free: 122 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001551/4.948, allocations: 172.8 kB / 1.339 GB, free: 121.8 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1028/5.051, allocations: 68.55 MB / 1.406 GB, free: 52.49 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0388/5.09, allocations: 25.7 MB / 1.431 GB, free: 26.16 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4073/5.497, allocations: 40.84 MB / 1.471 GB, free: 138.4 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002745/5.5, allocations: 0.9845 MB / 1.472 GB, free: 138.3 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003023/5.503, allocations: 139.3 kB / 1.472 GB, free: 138.3 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01004/5.513, allocations: 0.8979 MB / 1.473 GB, free: 138.3 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002704/5.516, allocations: 453.5 kB / 1.473 GB, free: 138.3 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00139/5.517, allocations: 179.2 kB / 1.473 GB, free: 138.3 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 0.01332/5.531, allocations: 6.472 MB / 1.479 GB, free: 138 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.584e-06/5.531, allocations: 2.312 kB / 1.479 GB, free: 138 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.02082/5.551, allocations: 4.559 MB / 1.484 GB, free: 138 MB / 0.5263 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (411): * Single equations (assignments): 396 * 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.001953/5.553, allocations: 293.7 kB / 1.484 GB, free: 137.9 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.04562/5.599, allocations: 24.53 MB / 1.508 GB, free: 128.5 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 8.742e-06/5.599, allocations: 0 / 1.508 GB, free: 128.5 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.02427/5.623, allocations: 11.94 MB / 1.52 GB, free: 123.3 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008357/5.632, allocations: 1.355 MB / 1.521 GB, free: 122.8 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07305/5.705, allocations: 41.9 MB / 1.562 GB, free: 85.27 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01944/5.724, allocations: 9.417 MB / 1.571 GB, free: 78.39 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004977/5.729, allocations: 0.8188 MB / 1.572 GB, free: 77.68 MB / 0.5263 GB Notification: Performance of SimCode: time 1.803e-06/5.729, allocations: 3.938 kB / 1.572 GB, free: 77.68 MB / 0.5263 GB Notification: Performance of Templates: time 2.327/8.057, allocations: 0.8602 GB / 2.432 GB, free: 55.22 MB / 0.5731 GB