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.UniversalSpherical.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.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.3.|bodyBox.v_0.1.|bodyBox.v_0.2.|bodyBox.v_0.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.|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universalSpherical.rRod_0.1.|universalSpherical.rRod_0.2.|universalSpherical.rRod_0.3.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.UniversalSpherical") Notification: Performance of loadModel(ModelicaTest): time 2.189/2.189, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.968e-05/3.991e-05, allocations: 4 kB / 309.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3564, allocations: 54.87 MB / 364.5 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1712/0.5276, allocations: 115.1 MB / 479.7 MB, free: 13.28 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.5278, allocations: 75.97 kB / 479.8 MB, free: 13.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.037/1.565, allocations: 230.1 MB / 0.6932 GB, free: 14.18 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.246e-06/1.565, allocations: 0 / 0.6932 GB, free: 14.18 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0007756/1.566, allocations: 287.9 kB / 0.6935 GB, free: 13.89 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: 4698 * Number of variables: 4698 Notification: Performance of Generate backend data structure: time 0.6711/2.237, allocations: 14.5 MB / 0.7076 GB, free: 35.4 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/2.237, allocations: 9.812 kB / 0.7077 GB, free: 35.4 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05705/2.294, allocations: 10.51 MB / 0.7179 GB, free: 34.55 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04217/2.336, allocations: 14 MB / 0.7316 GB, free: 34.03 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001131/2.338, allocations: 1.083 MB / 0.7326 GB, free: 34 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005776/2.343, allocations: 1.442 MB / 0.734 GB, free: 33.98 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08376/2.427, allocations: 32.69 MB / 0.766 GB, free: 27.93 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007804/2.428, allocations: 147.3 kB / 0.7661 GB, free: 27.91 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005017/2.433, allocations: 0.6591 MB / 0.7668 GB, free: 27.91 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004423/2.437, allocations: 2.546 MB / 0.7692 GB, free: 27.88 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06992/2.507, allocations: 26.88 MB / 0.7955 GB, free: 23 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9293/3.437, allocations: 131.3 MB / 0.9237 GB, free: 26.78 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0472/3.484, allocations: 12.89 MB / 0.9363 GB, free: 26.09 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01108/3.495, allocations: 6.791 MB / 0.9429 GB, free: 26.04 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05718/3.552, allocations: 31.03 MB / 0.9732 GB, free: 18.8 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.062e-05/3.553, allocations: 77.19 kB / 0.9733 GB, free: 18.76 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=424): time 9.814e-06/3.553, allocations: 0 / 0.9733 GB, free: 18.76 MB / 0.5263 GB Notification: Performance of matching and sorting (n=554): time 0.3948/3.947, allocations: 106.8 MB / 1.078 GB, free: 8.793 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.04561/3.993, allocations: 23.09 MB / 1.1 GB, free: 0.9922 MB / 0.5732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02135/4.014, allocations: 8.262 MB / 1.108 GB, free: 8.785 MB / 0.5888 GB Notification: Performance of collectPreVariables (initialization): time 0.001341/4.016, allocations: 105.1 kB / 1.108 GB, free: 8.68 MB / 0.5888 GB Notification: Performance of collectInitialEqns (initialization): time 0.009256/4.025, allocations: 8.659 MB / 1.117 GB, free: 20 kB / 0.5888 GB Notification: Performance of collectInitialBindings (initialization): time 0.003923/4.029, allocations: 2.142 MB / 1.119 GB, free: 13.89 MB / 0.6044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002388/4.031, allocations: 319.6 kB / 1.119 GB, free: 13.59 MB / 0.6044 GB Notification: Performance of setup shared object (initialization): time 0.00213/4.034, allocations: 0.9927 MB / 1.12 GB, free: 12.58 MB / 0.6044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02058/4.054, allocations: 9.235 MB / 1.129 GB, free: 3.34 MB / 0.6044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3556/4.41, allocations: 18.48 MB / 1.147 GB, free: 149.8 MB / 0.6044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02516/4.435, allocations: 12.81 MB / 1.16 GB, free: 149.7 MB / 0.6044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002865/4.435, allocations: 90.34 kB / 1.16 GB, free: 149.7 MB / 0.6044 GB Notification: Performance of matching and sorting (n=2093) (initialization): time 0.09111/4.526, allocations: 34.67 MB / 1.194 GB, free: 148.3 MB / 0.6044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002652/4.527, allocations: 146.6 kB / 1.194 GB, free: 148.3 MB / 0.6044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05904/4.586, allocations: 21.89 MB / 1.215 GB, free: 145.2 MB / 0.6044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04037/4.626, allocations: 9.326 MB / 1.224 GB, free: 143.4 MB / 0.6044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01832/4.645, allocations: 3.933 MB / 1.228 GB, free: 143 MB / 0.6044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06667/4.711, allocations: 47.06 MB / 1.274 GB, free: 116.1 MB / 0.6044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02124/4.733, allocations: 1.69 MB / 1.276 GB, free: 115.8 MB / 0.6044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003565/4.736, allocations: 0.9898 MB / 1.277 GB, free: 115.7 MB / 0.6044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1485 * Number of states: 0 () * Number of discrete variables: 69 (init2.arrowColor[3],init2.arrowColor[2],init2.arrowColor[1],init.arrowColor[3],init.arrowColor[2],init.arrowColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],universalSpherical1.cylinderColor[3],universalSpherical1.cylinderColor[2],universalSpherical1.cylinderColor[1],universalSpherical1.sphereColor[3],universalSpherical1.sphereColor[2],universalSpherical1.sphereColor[1],universalSpherical1.rodColor[3],universalSpherical1.rodColor[2],universalSpherical1.rodColor[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[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],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],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (1958): * Single equations (assignments): 1931 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * 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: 5 {1,1,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,93.8%) 8,(8,76.6%) 20,(1,100.0%) 3,(1,100.0%) 9,(4,87.5%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005248/4.741, allocations: 1.295 MB / 1.278 GB, free: 114.8 MB / 0.6044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002335/4.744, allocations: 0.8745 MB / 1.279 GB, free: 114.7 MB / 0.6044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07433/4.818, allocations: 27.45 MB / 1.306 GB, free: 94.62 MB / 0.6044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06905/4.887, allocations: 25.62 MB / 1.331 GB, free: 74.18 MB / 0.6044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-05/4.887, allocations: 27.95 kB / 1.331 GB, free: 74.15 MB / 0.6044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001159/4.887, allocations: 23.91 kB / 1.331 GB, free: 74.13 MB / 0.6044 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4961/5.384, allocations: 58.42 MB / 1.388 GB, free: 138.5 MB / 0.6044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.891e-05/5.384, allocations: 0 / 1.388 GB, free: 138.5 MB / 0.6044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00785/5.392, allocations: 1.083 MB / 1.389 GB, free: 138.5 MB / 0.6044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06181/5.453, allocations: 14.01 MB / 1.403 GB, free: 138.4 MB / 0.6044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001575/5.455, allocations: 164.5 kB / 1.403 GB, free: 138.4 MB / 0.6044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09403/5.549, allocations: 59.16 MB / 1.46 GB, free: 121.2 MB / 0.6044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.04019/5.589, allocations: 22.82 MB / 1.483 GB, free: 109 MB / 0.6044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09667/5.686, allocations: 39.21 MB / 1.521 GB, free: 90.88 MB / 0.6044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007377/5.693, allocations: 2.47 MB / 1.523 GB, free: 89.11 MB / 0.6044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003112/5.697, allocations: 125.7 kB / 1.524 GB, free: 89 MB / 0.6044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01002/5.707, allocations: 0.8556 MB / 1.524 GB, free: 88.52 MB / 0.6044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002527/5.709, allocations: 419.2 kB / 1.525 GB, free: 88.3 MB / 0.6044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00119/5.71, allocations: 175.9 kB / 1.525 GB, free: 88.16 MB / 0.6044 GB Notification: Performance of sorting global known variables: time 0.01301/5.723, allocations: 5.69 MB / 1.53 GB, free: 83.18 MB / 0.6044 GB Notification: Performance of sort global known variables: time 2.272e-06/5.723, allocations: 0 / 1.53 GB, free: 83.18 MB / 0.6044 GB Notification: Performance of remove unused functions: time 0.02153/5.745, allocations: 4.297 MB / 1.535 GB, free: 78.9 MB / 0.6044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 30 ($STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[6],$STATESET3.x[5],$STATESET3.x[4],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[5],$STATESET2.x[4],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$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],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (435): * Single equations (assignments): 420 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(3,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {3,8} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 6,(4,87.5%) 6,(1,100.0%) 4,(4,93.8%) 8,(8,76.6%) 20,(7,93.9%) 12} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001783/5.747, allocations: 284.2 kB / 1.535 GB, free: 78.68 MB / 0.6044 GB Notification: Performance of simCode: created initialization part: time 0.04104/5.788, allocations: 23.2 MB / 1.558 GB, free: 56.69 MB / 0.6044 GB Notification: Performance of simCode: created event and clocks part: time 9.7e-06/5.788, allocations: 4.047 kB / 1.558 GB, free: 56.69 MB / 0.6044 GB Notification: Performance of simCode: created simulation system equations: time 0.02187/5.81, allocations: 11.07 MB / 1.568 GB, free: 45.56 MB / 0.6044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008932/5.819, allocations: 1.284 MB / 1.57 GB, free: 44.36 MB / 0.6044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4197/6.239, allocations: 32.79 MB / 1.602 GB, free: 148.2 MB / 0.6044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02294/6.262, allocations: 9.466 MB / 1.611 GB, free: 147.2 MB / 0.6044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00551/6.267, allocations: 0.8086 MB / 1.612 GB, free: 147.2 MB / 0.6044 GB Notification: Performance of SimCode: time 2.001e-06/6.267, allocations: 0 / 1.612 GB, free: 147.2 MB / 0.6044 GB Notification: Performance of Templates: time 2.755/9.022, allocations: 0.8662 GB / 2.478 GB, free: 160.3 MB / 0.62 GB