Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.213/2.213, allocations: 234.9 MB / 251.1 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004253/0.0004254, allocations: 8 kB / 315 MB, free: 9.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3706, allocations: 54.86 MB / 369.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5311/0.9018, allocations: 111 MB / 480.8 MB, free: 40.72 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/0.9022, allocations: 88.42 kB / 480.9 MB, free: 40.72 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.33/2.232, allocations: 231 MB / 0.6952 GB, free: 56.89 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.767e-06/2.232, allocations: 0 / 0.6952 GB, free: 56.89 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007463/2.233, allocations: 289 kB / 0.6955 GB, free: 56.88 MB / 490.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.08407/2.317, allocations: 14.53 MB / 0.7097 GB, free: 52.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/2.317, allocations: 9.594 kB / 0.7097 GB, free: 52.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08224/2.399, allocations: 10.91 MB / 0.7204 GB, free: 51.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05534/2.454, allocations: 15.57 MB / 0.7356 GB, free: 50 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001381/2.456, allocations: 1.082 MB / 0.7366 GB, free: 49.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007638/2.464, allocations: 1.445 MB / 0.738 GB, free: 49.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1079/2.571, allocations: 32.41 MB / 0.7697 GB, free: 41.45 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001182/2.573, allocations: 154.7 kB / 0.7698 GB, free: 41.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007245/2.58, allocations: 0.6611 MB / 0.7705 GB, free: 41.01 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005396/2.585, allocations: 2.332 MB / 0.7728 GB, free: 40.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08679/2.672, allocations: 25.98 MB / 0.7981 GB, free: 20.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.763/3.435, allocations: 130.5 MB / 0.9256 GB, free: 26.74 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06753/3.503, allocations: 12.47 MB / 0.9378 GB, free: 26.05 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006191/3.509, allocations: 4.84 MB / 0.9425 GB, free: 22.07 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/3.509, allocations: 79.17 kB / 0.9426 GB, free: 22.02 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=435): time 9.728e-06/3.509, allocations: 0 / 0.9426 GB, free: 22.02 MB / 0.5417 GB Notification: Performance of matching and sorting (n=569): time 1.213/4.722, allocations: 137.7 MB / 1.077 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0551/4.777, allocations: 25.9 MB / 1.102 GB, free: 99.65 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0258/4.803, allocations: 9.49 MB / 1.112 GB, free: 98.95 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001829/4.805, allocations: 111.3 kB / 1.112 GB, free: 98.92 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.007673/4.813, allocations: 8.562 MB / 1.12 GB, free: 94.26 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.004402/4.817, allocations: 2.192 MB / 1.122 GB, free: 93 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003403/4.82, allocations: 319.4 kB / 1.123 GB, free: 93 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.002154/4.823, allocations: 0.999 MB / 1.123 GB, free: 92.65 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02312/4.846, allocations: 9.406 MB / 1.133 GB, free: 92.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02946/4.875, allocations: 18.67 MB / 1.151 GB, free: 76.46 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02899/4.904, allocations: 12.86 MB / 1.163 GB, free: 71.61 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003995/4.905, allocations: 92.75 kB / 1.164 GB, free: 71.61 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2101) (initialization): time 0.129/5.034, allocations: 36.42 MB / 1.199 GB, free: 58.59 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000534/5.034, allocations: 144 kB / 1.199 GB, free: 58.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09461/5.129, allocations: 23.47 MB / 1.222 GB, free: 40.24 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06786/5.197, allocations: 10.94 MB / 1.233 GB, free: 33.14 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02444/5.221, allocations: 3.856 MB / 1.237 GB, free: 29.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5507/5.772, allocations: 52.87 MB / 1.288 GB, free: 83.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02943/5.802, allocations: 1.807 MB / 1.29 GB, free: 83.35 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004767/5.807, allocations: 0.9799 MB / 1.291 GB, free: 83.35 MB / 0.5417 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.02101/5.828, allocations: 6.198 MB / 1.297 GB, free: 83.22 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004114/5.832, allocations: 0.8798 MB / 1.298 GB, free: 83.22 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.126/5.958, allocations: 29.05 MB / 1.326 GB, free: 76.68 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1185/6.076, allocations: 27.29 MB / 1.353 GB, free: 69.25 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001309/6.077, allocations: 28.36 kB / 1.353 GB, free: 69.25 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001696/6.077, allocations: 24.8 kB / 1.353 GB, free: 69.25 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.208/6.285, allocations: 63.35 MB / 1.415 GB, free: 26.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.578e-05/6.285, allocations: 4 kB / 1.415 GB, free: 26.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009675/6.295, allocations: 1.016 MB / 1.416 GB, free: 25.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09696/6.392, allocations: 15.68 MB / 1.431 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002043/6.394, allocations: 179.8 kB / 1.431 GB, free: 9.961 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5544/6.948, allocations: 67.67 MB / 1.497 GB, free: 97.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0813/7.03, allocations: 25.69 MB / 1.522 GB, free: 85.02 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1955/7.225, allocations: 40.33 MB / 1.562 GB, free: 71.98 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004347/7.229, allocations: 0.9436 MB / 1.563 GB, free: 71.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005533/7.235, allocations: 131.1 kB / 1.563 GB, free: 71.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0162/7.251, allocations: 0.9025 MB / 1.564 GB, free: 71.67 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003483/7.255, allocations: 455.5 kB / 1.564 GB, free: 71.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001452/7.256, allocations: 185.8 kB / 1.564 GB, free: 71.59 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01671/7.273, allocations: 5.866 MB / 1.57 GB, free: 69.66 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.854e-06/7.273, allocations: 0 / 1.57 GB, free: 69.66 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02584/7.299, allocations: 4.433 MB / 1.574 GB, free: 69.3 MB / 0.5573 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.002388/7.301, allocations: 287.6 kB / 1.575 GB, free: 69.15 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.05549/7.357, allocations: 23.93 MB / 1.598 GB, free: 50.56 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/7.357, allocations: 4 kB / 1.598 GB, free: 50.55 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.033/7.39, allocations: 11.77 MB / 1.61 GB, free: 40.48 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0131/7.403, allocations: 1.335 MB / 1.611 GB, free: 39.41 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5354/7.939, allocations: 43.71 MB / 1.654 GB, free: 90.13 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02968/7.968, allocations: 9.438 MB / 1.663 GB, free: 89.09 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006967/7.975, allocations: 0.8022 MB / 1.664 GB, free: 89.09 MB / 0.5573 GB Notification: Performance of SimCode: time 1.783e-06/7.975, allocations: 0 / 1.664 GB, free: 89.09 MB / 0.5573 GB Notification: Performance of Templates: time 3.486/11.46, allocations: 0.8557 GB / 2.519 GB, free: 125 MB / 0.5886 GB