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.219/2.219, allocations: 234.9 MB / 250.5 MB, free: 9.535 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000431/0.0004311, allocations: 15.98 kB / 314.4 MB, free: 9.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2791, allocations: 54.86 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4314/0.7105, allocations: 115.2 MB / 484.5 MB, free: 42.47 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.7107, allocations: 78.42 kB / 484.6 MB, free: 42.47 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.08/1.791, allocations: 229.8 MB / 0.6977 GB, free: 53.89 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.195e-06/1.791, allocations: 0 / 0.6977 GB, free: 53.89 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006903/1.792, allocations: 283.1 kB / 0.6979 GB, free: 53.89 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: 4698 * Number of variables: 4698 Notification: Performance of Generate backend data structure: time 0.05923/1.851, allocations: 15.21 MB / 0.7128 GB, free: 49.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/1.851, allocations: 7.906 kB / 0.7128 GB, free: 49.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05537/1.906, allocations: 10.5 MB / 0.723 GB, free: 48.31 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04/1.946, allocations: 14.04 MB / 0.7368 GB, free: 47 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001114/1.948, allocations: 1.084 MB / 0.7378 GB, free: 46.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005661/1.953, allocations: 1.446 MB / 0.7392 GB, free: 46.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0837/2.037, allocations: 32.96 MB / 0.7714 GB, free: 38.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007539/2.038, allocations: 143.9 kB / 0.7716 GB, free: 38.51 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005314/2.043, allocations: 0.6539 MB / 0.7722 GB, free: 38.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004295/2.047, allocations: 2.542 MB / 0.7747 GB, free: 37.64 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06655/2.114, allocations: 27.28 MB / 0.8013 GB, free: 16.92 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5198/2.634, allocations: 131.3 MB / 0.9295 GB, free: 42.68 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04673/2.681, allocations: 13.01 MB / 0.9422 GB, free: 41.98 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05704/2.738, allocations: 30.98 MB / 0.9725 GB, free: 34.31 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.106e-05/2.738, allocations: 85.78 kB / 0.9726 GB, free: 34.27 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=424): time 9.082e-06/2.738, allocations: 0 / 0.9726 GB, free: 34.27 MB / 0.5573 GB Notification: Performance of matching and sorting (n=554): time 0.8071/3.545, allocations: 126.9 MB / 1.097 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.04177/3.587, allocations: 24.19 MB / 1.12 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01976/3.607, allocations: 8.337 MB / 1.128 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001373/3.608, allocations: 110.6 kB / 1.128 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.006291/3.614, allocations: 8.657 MB / 1.137 GB, free: 105 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003219/3.618, allocations: 2.144 MB / 1.139 GB, free: 103.8 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002405/3.62, allocations: 315.8 kB / 1.139 GB, free: 103.8 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001383/3.621, allocations: 0.9888 MB / 1.14 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01818/3.64, allocations: 9.393 MB / 1.149 GB, free: 102.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02297/3.663, allocations: 18.65 MB / 1.168 GB, free: 86.66 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02338/3.686, allocations: 12.87 MB / 1.18 GB, free: 81.74 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002707/3.686, allocations: 96.33 kB / 1.18 GB, free: 81.74 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2093) (initialization): time 0.09093/3.777, allocations: 34.98 MB / 1.214 GB, free: 70.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000254/3.778, allocations: 143.2 kB / 1.215 GB, free: 70.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05648/3.834, allocations: 22.08 MB / 1.236 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03776/3.872, allocations: 9.329 MB / 1.245 GB, free: 47.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01661/3.889, allocations: 3.929 MB / 1.249 GB, free: 44.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4133/4.302, allocations: 48.41 MB / 1.296 GB, free: 96.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02101/4.323, allocations: 1.697 MB / 1.298 GB, free: 96.78 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003746/4.327, allocations: 0.9843 MB / 1.299 GB, free: 96.78 MB / 0.5573 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 (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.01731/4.344, allocations: 6.259 MB / 1.305 GB, free: 96.66 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002881/4.347, allocations: 0.8783 MB / 1.306 GB, free: 96.65 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08183/4.429, allocations: 27.63 MB / 1.333 GB, free: 92.29 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.07465/4.504, allocations: 25.81 MB / 1.358 GB, free: 84.99 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.723e-05/4.504, allocations: 19 kB / 1.358 GB, free: 84.99 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001447/4.504, allocations: 28.19 kB / 1.358 GB, free: 84.99 MB / 0.5573 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.1446/4.649, allocations: 58.6 MB / 1.415 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.367e-05/4.649, allocations: 4 kB / 1.415 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006795/4.655, allocations: 1.085 MB / 1.416 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05651/4.712, allocations: 14.02 MB / 1.43 GB, free: 41.12 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001547/4.714, allocations: 170.2 kB / 1.43 GB, free: 40.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4435/5.157, allocations: 61.8 MB / 1.491 GB, free: 96.12 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.04152/5.199, allocations: 23.93 MB / 1.514 GB, free: 89.33 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09697/5.296, allocations: 39.49 MB / 1.553 GB, free: 79.11 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007435/5.303, allocations: 2.474 MB / 1.555 GB, free: 78.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003153/5.306, allocations: 129.7 kB / 1.555 GB, free: 78.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01018/5.317, allocations: 0.8531 MB / 1.556 GB, free: 78.18 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0026/5.319, allocations: 423.2 kB / 1.556 GB, free: 78.13 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001302/5.32, allocations: 180.5 kB / 1.557 GB, free: 78.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01421/5.335, allocations: 5.771 MB / 1.562 GB, free: 76.18 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.585e-06/5.335, allocations: 0 / 1.562 GB, free: 76.18 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02278/5.358, allocations: 4.285 MB / 1.566 GB, free: 75.83 MB / 0.5573 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.001851/5.359, allocations: 286.2 kB / 1.567 GB, free: 75.68 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.04359/5.403, allocations: 23.48 MB / 1.59 GB, free: 66.84 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/5.403, allocations: 4.719 kB / 1.59 GB, free: 66.84 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.02213/5.425, allocations: 11.22 MB / 1.601 GB, free: 58.03 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008616/5.434, allocations: 1.282 MB / 1.602 GB, free: 57.01 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08575/5.52, allocations: 43.1 MB / 1.644 GB, free: 18.62 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02206/5.542, allocations: 9.471 MB / 1.653 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005273/5.547, allocations: 0.8056 MB / 1.654 GB, free: 11.07 MB / 0.5573 GB Notification: Performance of SimCode: time 2.111e-06/5.547, allocations: 3.656 kB / 1.654 GB, free: 11.07 MB / 0.5573 GB Notification: Performance of Templates: time 3.033/8.58, allocations: 0.8662 GB / 2.52 GB, free: 119.2 MB / 0.5886 GB