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.253/2.253, allocations: 234.9 MB / 250.5 MB, free: 9.457 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004401/0.0004403, allocations: 12 kB / 314.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2815, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4123/0.6938, allocations: 111 MB / 480.3 MB, free: 96.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.6941, allocations: 76.02 kB / 480.4 MB, free: 96.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.072/1.766, allocations: 229.6 MB / 0.6933 GB, free: 44.27 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.379e-06/1.766, allocations: 0 / 0.6933 GB, free: 44.27 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0007207/1.767, allocations: 281.2 kB / 0.6935 GB, free: 44.26 MB / 458.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.06191/1.828, allocations: 14.53 MB / 0.7077 GB, free: 39.48 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/1.829, allocations: 9.812 kB / 0.7077 GB, free: 39.48 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05855/1.887, allocations: 10.91 MB / 0.7184 GB, free: 38.61 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04412/1.931, allocations: 15.57 MB / 0.7336 GB, free: 37.18 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001154/1.932, allocations: 1.082 MB / 0.7347 GB, free: 37.15 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005873/1.938, allocations: 1.446 MB / 0.7361 GB, free: 37.13 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08193/2.02, allocations: 32.29 MB / 0.7676 GB, free: 9.414 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008619/2.021, allocations: 154.1 kB / 0.7678 GB, free: 9.266 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005396/2.027, allocations: 0.6668 MB / 0.7684 GB, free: 8.66 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003681/2.03, allocations: 2.321 MB / 0.7707 GB, free: 6.684 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07158/2.102, allocations: 25.97 MB / 0.796 GB, free: 13.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5199/2.622, allocations: 130.5 MB / 0.9235 GB, free: 43.21 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04525/2.667, allocations: 12.47 MB / 0.9357 GB, free: 42.51 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005033/2.672, allocations: 4.852 MB / 0.9404 GB, free: 38.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001008/2.672, allocations: 79.02 kB / 0.9405 GB, free: 38.46 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=435): time 1.044e-05/2.673, allocations: 0 / 0.9405 GB, free: 38.46 MB / 0.5417 GB Notification: Performance of matching and sorting (n=569): time 0.855/3.527, allocations: 135 MB / 1.072 GB, free: 122.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.04217/3.57, allocations: 25.89 MB / 1.098 GB, free: 114.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01865/3.588, allocations: 8.445 MB / 1.106 GB, free: 112.5 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001405/3.59, allocations: 108.4 kB / 1.106 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.006218/3.596, allocations: 8.564 MB / 1.114 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.003326/3.599, allocations: 2.184 MB / 1.117 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002127/3.602, allocations: 319.9 kB / 1.117 GB, free: 104 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001283/3.603, allocations: 0.9997 MB / 1.118 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0187/3.622, allocations: 9.398 MB / 1.127 GB, free: 99.98 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0238/3.645, allocations: 18.61 MB / 1.145 GB, free: 84.25 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0234/3.669, allocations: 12.85 MB / 1.158 GB, free: 79.39 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002631/3.669, allocations: 92.25 kB / 1.158 GB, free: 79.39 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2101) (initialization): time 0.09299/3.762, allocations: 36.42 MB / 1.193 GB, free: 54.92 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002443/3.763, allocations: 149 kB / 1.194 GB, free: 54.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06349/3.826, allocations: 23.47 MB / 1.216 GB, free: 36.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3829/4.209, allocations: 10.93 MB / 1.227 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01699/4.226, allocations: 3.852 MB / 1.231 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08249/4.309, allocations: 52.9 MB / 1.283 GB, free: 96.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02117/4.33, allocations: 1.797 MB / 1.284 GB, free: 96.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003622/4.333, allocations: 0.9796 MB / 1.285 GB, free: 96.34 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.01662/4.35, allocations: 6.198 MB / 1.291 GB, free: 93.94 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002695/4.353, allocations: 0.8806 MB / 1.292 GB, free: 93.94 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08829/4.441, allocations: 29.06 MB / 1.321 GB, free: 85.76 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.08269/4.524, allocations: 27.28 MB / 1.347 GB, free: 77.38 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001074/4.524, allocations: 28 kB / 1.347 GB, free: 77.35 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001194/4.524, allocations: 25.88 kB / 1.347 GB, free: 77.35 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1486/4.673, allocations: 63.36 MB / 1.409 GB, free: 19.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.588e-05/4.673, allocations: 8 kB / 1.409 GB, free: 19.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006326/4.679, allocations: 1.01 MB / 1.41 GB, free: 18.14 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4075/5.087, allocations: 15.69 MB / 1.425 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001693/5.089, allocations: 178.5 kB / 1.426 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1126/5.201, allocations: 67.65 MB / 1.492 GB, free: 88.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.04227/5.244, allocations: 25.69 MB / 1.517 GB, free: 73.79 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1034/5.347, allocations: 41.34 MB / 1.557 GB, free: 59.02 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003178/5.35, allocations: 0.9543 MB / 1.558 GB, free: 58.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003628/5.354, allocations: 131.4 kB / 1.558 GB, free: 58.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01045/5.364, allocations: 0.9025 MB / 1.559 GB, free: 57.95 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002846/5.367, allocations: 450.7 kB / 1.559 GB, free: 57.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001335/5.369, allocations: 185.1 kB / 1.56 GB, free: 57.58 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01401/5.383, allocations: 5.873 MB / 1.565 GB, free: 52.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.308e-06/5.383, allocations: 2.188 kB / 1.565 GB, free: 52.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02289/5.406, allocations: 4.427 MB / 1.57 GB, free: 48.39 MB / 0.5417 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.001898/5.408, allocations: 292.6 kB / 1.57 GB, free: 48.17 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.04441/5.452, allocations: 23.94 MB / 1.593 GB, free: 27.91 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/5.452, allocations: 6.297 kB / 1.593 GB, free: 27.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.02484/5.477, allocations: 11.76 MB / 1.605 GB, free: 17.72 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009416/5.486, allocations: 1.344 MB / 1.606 GB, free: 16.64 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4306/5.917, allocations: 43.64 MB / 1.649 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02328/5.94, allocations: 9.43 MB / 1.658 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005044/5.945, allocations: 0.8004 MB / 1.659 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of SimCode: time 1.96e-06/5.945, allocations: 3.281 kB / 1.659 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of Templates: time 2.644/8.589, allocations: 0.8557 GB / 2.514 GB, free: 137.8 MB / 0.5886 GB