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 2.051/2.051, allocations: 209.2 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004316/0.0004318, allocations: 12 kB / 282.6 MB, free: 9.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2829, allocations: 48.7 MB / 331.3 MB, free: 6.48 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1625/0.4454, allocations: 108.4 MB / 439.7 MB, free: 1.984 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.4457, allocations: 79.95 kB / 439.7 MB, free: 1.906 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.262/1.707, allocations: 229.5 MB / 0.6536 GB, free: 30.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.849e-06/1.707, allocations: 0 / 0.6536 GB, free: 30.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007012/1.708, allocations: 292.1 kB / 0.6539 GB, free: 30.63 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.06206/1.77, allocations: 15.2 MB / 0.6687 GB, free: 25.92 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/1.77, allocations: 10.84 kB / 0.6687 GB, free: 25.92 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05466/1.825, allocations: 10.45 MB / 0.6789 GB, free: 25.06 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04035/1.865, allocations: 14.02 MB / 0.6926 GB, free: 23.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001151/1.866, allocations: 1.084 MB / 0.6937 GB, free: 23.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005829/1.872, allocations: 1.436 MB / 0.6951 GB, free: 23.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08731/1.96, allocations: 32.96 MB / 0.7273 GB, free: 16.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008574/1.961, allocations: 140 kB / 0.7274 GB, free: 16.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005555/1.966, allocations: 0.6573 MB / 0.728 GB, free: 16.17 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004304/1.97, allocations: 2.544 MB / 0.7305 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06963/2.04, allocations: 27.28 MB / 0.7572 GB, free: 14.85 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5104/2.551, allocations: 131.4 MB / 0.8855 GB, free: 21.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04681/2.597, allocations: 13.01 MB / 0.8982 GB, free: 21.27 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05728/2.655, allocations: 30.97 MB / 0.9284 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.34e-05/2.655, allocations: 85.47 kB / 0.9285 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=424): time 8.943e-06/2.655, allocations: 0 / 0.9285 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=554): time 0.85/3.505, allocations: 127.7 MB / 1.053 GB, free: 97.14 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.04549/3.55, allocations: 24.19 MB / 1.077 GB, free: 87.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01929/3.57, allocations: 8.337 MB / 1.085 GB, free: 84.71 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001359/3.571, allocations: 105.2 kB / 1.085 GB, free: 84.62 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0062/3.577, allocations: 8.654 MB / 1.094 GB, free: 78.06 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003308/3.581, allocations: 2.143 MB / 1.096 GB, free: 76.51 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00249/3.583, allocations: 322.1 kB / 1.096 GB, free: 76.26 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001734/3.585, allocations: 0.9889 MB / 1.097 GB, free: 75.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01808/3.603, allocations: 9.376 MB / 1.106 GB, free: 72.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02307/3.626, allocations: 18.64 MB / 1.124 GB, free: 56.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02298/3.649, allocations: 12.87 MB / 1.137 GB, free: 46.03 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002709/3.65, allocations: 92 kB / 1.137 GB, free: 45.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2093) (initialization): time 0.4045/4.054, allocations: 35.17 MB / 1.171 GB, free: 79.23 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003967/4.054, allocations: 143.2 kB / 1.171 GB, free: 79.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05961/4.114, allocations: 21.83 MB / 1.193 GB, free: 78.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03911/4.153, allocations: 9.064 MB / 1.202 GB, free: 78.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01777/4.171, allocations: 3.989 MB / 1.205 GB, free: 78.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06556/4.237, allocations: 46.97 MB / 1.251 GB, free: 61.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0208/4.258, allocations: 1.698 MB / 1.253 GB, free: 61.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003719/4.261, allocations: 0.9796 MB / 1.254 GB, free: 61.2 MB / 0.4948 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 () * Number of clocked 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.01617/4.277, allocations: 6.266 MB / 1.26 GB, free: 58.76 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002507/4.28, allocations: 0.8667 MB / 1.261 GB, free: 58.76 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08132/4.361, allocations: 27.63 MB / 1.288 GB, free: 50.61 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.08429/4.446, allocations: 25.81 MB / 1.313 GB, free: 35.33 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000142/4.446, allocations: 20 kB / 1.313 GB, free: 35.31 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001589/4.446, allocations: 23.91 kB / 1.313 GB, free: 35.29 MB / 0.4948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.529/4.975, allocations: 58.61 MB / 1.37 GB, free: 78.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.309e-05/4.975, allocations: 3.375 kB / 1.37 GB, free: 78.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006991/4.982, allocations: 1.079 MB / 1.371 GB, free: 78.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06161/5.044, allocations: 14.02 MB / 1.385 GB, free: 78.54 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001613/5.046, allocations: 165.9 kB / 1.385 GB, free: 78.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09817/5.144, allocations: 61.83 MB / 1.446 GB, free: 59.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.04127/5.185, allocations: 23.91 MB / 1.469 GB, free: 46.54 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09413/5.279, allocations: 39.49 MB / 1.508 GB, free: 19.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0072/5.286, allocations: 2.478 MB / 1.51 GB, free: 17.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003245/5.29, allocations: 127.8 kB / 1.51 GB, free: 17.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01078/5.301, allocations: 0.856 MB / 1.511 GB, free: 16.25 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002584/5.303, allocations: 417 kB / 1.511 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001285/5.304, allocations: 175.8 kB / 1.512 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01355/5.318, allocations: 5.775 MB / 1.517 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.119e-06/5.318, allocations: 0 / 1.517 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.02168/5.34, allocations: 4.267 MB / 1.521 GB, free: 5.699 MB / 0.4948 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 () * Number of clocked 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.001685/5.341, allocations: 285.8 kB / 1.522 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.3485/5.69, allocations: 23.11 MB / 1.544 GB, free: 98.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.101e-06/5.69, allocations: 0 / 1.544 GB, free: 98.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.02356/5.714, allocations: 11.22 MB / 1.555 GB, free: 96.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009161/5.723, allocations: 1.276 MB / 1.556 GB, free: 96.67 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09346/5.816, allocations: 43.04 MB / 1.598 GB, free: 82.75 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02317/5.84, allocations: 9.453 MB / 1.608 GB, free: 81.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005968/5.846, allocations: 0.8171 MB / 1.608 GB, free: 81.69 MB / 0.5105 GB Notification: Performance of SimCode: time 2.192e-06/5.846, allocations: 0 / 1.608 GB, free: 81.69 MB / 0.5105 GB Notification: Performance of Templates: time 2.789/8.634, allocations: 0.8652 GB / 2.474 GB, free: 122.3 MB / 0.5417 GB