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.UniversalSpherical.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.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.1_cpp_ModelicaTest.MultiBody.Joints.UniversalSpherical") Notification: Performance of loadModel(ModelicaTest): time 1.99/1.99, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.189e-05/3.209e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08991/0.08997, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4188/0.5088, allocations: 108.3 MB / 434.8 MB, free: 15.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/0.5091, allocations: 72.59 kB / 434.9 MB, free: 15.64 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.013/1.522, allocations: 229.8 MB / 0.6491 GB, free: 33.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.737e-06/1.522, allocations: 3.938 kB / 0.6491 GB, free: 33.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006791/1.523, allocations: 280 kB / 0.6494 GB, free: 33.52 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: 4696 * Number of variables: 4696 Notification: Performance of Generate backend data structure: time 0.06074/1.584, allocations: 14.5 MB / 0.6635 GB, free: 18.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/1.584, allocations: 8.031 kB / 0.6635 GB, free: 18.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05411/1.638, allocations: 10.47 MB / 0.6738 GB, free: 8.406 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6052/2.243, allocations: 13.96 MB / 0.6874 GB, free: 38.5 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001461/2.245, allocations: 1.082 MB / 0.6885 GB, free: 38.47 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006485/2.251, allocations: 1.438 MB / 0.6899 GB, free: 38.47 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09084/2.342, allocations: 32.69 MB / 0.7218 GB, free: 32.41 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009442/2.343, allocations: 142.7 kB / 0.7219 GB, free: 32.41 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00579/2.349, allocations: 0.6548 MB / 0.7226 GB, free: 32.41 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004545/2.353, allocations: 2.544 MB / 0.725 GB, free: 32.39 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07207/2.425, allocations: 26.88 MB / 0.7513 GB, free: 26.85 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9323/3.358, allocations: 131.3 MB / 0.8795 GB, free: 29.68 MB / 490.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04798/3.406, allocations: 12.91 MB / 0.8921 GB, free: 28.99 MB / 490.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01111/3.417, allocations: 6.787 MB / 0.8987 GB, free: 28.94 MB / 490.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06094/3.478, allocations: 31.01 MB / 0.929 GB, free: 21.7 MB / 490.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/3.478, allocations: 80.81 kB / 0.9291 GB, free: 21.66 MB / 490.9 MB Notification: Performance of pre-optimization done (n=424): time 2.011e-05/3.478, allocations: 0 / 0.9291 GB, free: 21.66 MB / 490.9 MB Notification: Performance of matching and sorting (n=554): time 0.4496/3.928, allocations: 106.5 MB / 1.033 GB, free: 10.61 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.06127/3.989, allocations: 23.1 MB / 1.056 GB, free: 2.812 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02122/4.01, allocations: 8.264 MB / 1.064 GB, free: 10.61 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 0.001347/4.012, allocations: 108.8 kB / 1.064 GB, free: 10.5 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 0.009591/4.021, allocations: 8.651 MB / 1.072 GB, free: 1.844 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 0.3451/4.366, allocations: 2.133 MB / 1.074 GB, free: 162.1 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002686/4.369, allocations: 321.2 kB / 1.075 GB, free: 162.1 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 0.001516/4.371, allocations: 0.9923 MB / 1.076 GB, free: 161.8 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01953/4.39, allocations: 9.217 MB / 1.085 GB, free: 161.8 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0239/4.414, allocations: 18.48 MB / 1.103 GB, free: 149.9 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02346/4.438, allocations: 12.79 MB / 1.115 GB, free: 149.8 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003701/4.438, allocations: 93.97 kB / 1.115 GB, free: 149.8 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2093) (initialization): time 0.08864/4.527, allocations: 34.35 MB / 1.149 GB, free: 143.7 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002691/4.527, allocations: 151.5 kB / 1.149 GB, free: 143.7 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05851/4.586, allocations: 21.66 MB / 1.17 GB, free: 136.8 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0402/4.626, allocations: 9.057 MB / 1.179 GB, free: 135.1 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0189/4.645, allocations: 3.981 MB / 1.183 GB, free: 134.6 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0599/4.705, allocations: 45.77 MB / 1.228 GB, free: 96.05 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02091/4.726, allocations: 1.71 MB / 1.229 GB, free: 94.91 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003592/4.729, allocations: 0.9795 MB / 1.23 GB, free: 94 MB / 0.5575 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 (1967): * Single equations (assignments): 1940 * 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,1,1,1} * 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.005626/4.735, allocations: 1.297 MB / 1.231 GB, free: 92.91 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002493/4.738, allocations: 0.8625 MB / 1.232 GB, free: 92.51 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07693/4.815, allocations: 27.46 MB / 1.259 GB, free: 72.42 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3928/5.207, allocations: 25.62 MB / 1.284 GB, free: 138.6 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.218e-05/5.207, allocations: 19.72 kB / 1.284 GB, free: 138.6 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001185/5.208, allocations: 24.61 kB / 1.284 GB, free: 138.6 MB / 0.5575 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.1511/5.359, allocations: 58.42 MB / 1.341 GB, free: 134.5 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.683e-05/5.359, allocations: 2.312 kB / 1.341 GB, free: 134.5 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00785/5.367, allocations: 1.084 MB / 1.342 GB, free: 134.5 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06336/5.43, allocations: 14 MB / 1.356 GB, free: 132.3 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001688/5.432, allocations: 170.8 kB / 1.356 GB, free: 132.2 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09531/5.527, allocations: 59.16 MB / 1.414 GB, free: 103.7 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0399/5.567, allocations: 22.84 MB / 1.436 GB, free: 88.59 MB / 0.5575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0912/5.658, allocations: 39.2 MB / 1.474 GB, free: 49.8 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007301/5.666, allocations: 2.474 MB / 1.477 GB, free: 47.79 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00329/5.669, allocations: 124.6 kB / 1.477 GB, free: 47.67 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01023/5.679, allocations: 0.8611 MB / 1.478 GB, free: 46.81 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002645/5.682, allocations: 417.3 kB / 1.478 GB, free: 46.41 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001274/5.683, allocations: 176.8 kB / 1.478 GB, free: 46.24 MB / 0.5575 GB Notification: Performance of sorting global known variables: time 0.3434/6.027, allocations: 5.692 MB / 1.484 GB, free: 138.6 MB / 0.5575 GB Notification: Performance of sort global known variables: time 1.433e-06/6.027, allocations: 0.5469 kB / 1.484 GB, free: 138.6 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.02341/6.05, allocations: 4.272 MB / 1.488 GB, free: 138.6 MB / 0.5575 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.001835/6.052, allocations: 283.2 kB / 1.488 GB, free: 138.6 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.0451/6.097, allocations: 22.82 MB / 1.511 GB, free: 137.4 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 9.324e-06/6.097, allocations: 0 / 1.511 GB, free: 137.4 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.02307/6.12, allocations: 11.07 MB / 1.521 GB, free: 136 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009722/6.13, allocations: 1.277 MB / 1.523 GB, free: 135.9 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1143/6.245, allocations: 32.8 MB / 1.555 GB, free: 130.7 MB / 0.5575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02416/6.269, allocations: 9.459 MB / 1.564 GB, free: 128.5 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005941/6.275, allocations: 0.812 MB / 1.565 GB, free: 128.4 MB / 0.5575 GB Notification: Performance of SimCode: time 3.706e-06/6.275, allocations: 0 / 1.565 GB, free: 128.4 MB / 0.5575 GB Notification: Performance of Templates: time 2.815/9.09, allocations: 0.8652 GB / 2.43 GB, free: 147.4 MB / 0.5575 GB