Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.41/2.41, allocations: 234.9 MB / 251.1 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006573/0.0006575, allocations: 12 kB / 314.9 MB, free: 9.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3441, allocations: 54.87 MB / 369.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5232/0.8674, allocations: 115.2 MB / 485 MB, free: 42.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003624/0.8678, allocations: 83.56 kB / 485.1 MB, free: 42.65 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.2/2.068, allocations: 230.9 MB / 0.6992 GB, free: 55.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.485e-06/2.068, allocations: 3.938 kB / 0.6992 GB, free: 55.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007947/2.069, allocations: 281.2 kB / 0.6995 GB, free: 55.28 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.08466/2.153, allocations: 15.2 MB / 0.7143 GB, free: 50.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/2.153, allocations: 7.719 kB / 0.7143 GB, free: 50.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07524/2.229, allocations: 10.51 MB / 0.7246 GB, free: 49.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05017/2.279, allocations: 14.05 MB / 0.7383 GB, free: 48.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001279/2.28, allocations: 1.086 MB / 0.7394 GB, free: 48.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007526/2.288, allocations: 1.443 MB / 0.7408 GB, free: 48.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.106/2.394, allocations: 33.08 MB / 0.7731 GB, free: 39.47 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009812/2.395, allocations: 145.9 kB / 0.7732 GB, free: 39.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006761/2.401, allocations: 0.6545 MB / 0.7739 GB, free: 39.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005382/2.407, allocations: 2.542 MB / 0.7763 GB, free: 38.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08772/2.495, allocations: 27.28 MB / 0.803 GB, free: 16.82 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.621/3.116, allocations: 131.3 MB / 0.9312 GB, free: 27.1 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06141/3.177, allocations: 13 MB / 0.9439 GB, free: 26.41 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07091/3.248, allocations: 30.98 MB / 0.9741 GB, free: 34.73 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.419e-05/3.248, allocations: 89.97 kB / 0.9742 GB, free: 34.68 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=424): time 8.586e-06/3.248, allocations: 0 / 0.9742 GB, free: 34.68 MB / 0.5573 GB Notification: Performance of matching and sorting (n=554): time 1.156/4.404, allocations: 130 MB / 1.101 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05401/4.458, allocations: 24.19 MB / 1.125 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02484/4.483, allocations: 9.376 MB / 1.134 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001955/4.485, allocations: 106.2 kB / 1.134 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.007788/4.493, allocations: 8.654 MB / 1.142 GB, free: 104.9 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004343/4.497, allocations: 2.143 MB / 1.145 GB, free: 103.7 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002757/4.5, allocations: 317 kB / 1.145 GB, free: 103.7 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001208/4.501, allocations: 0.9894 MB / 1.146 GB, free: 103.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02222/4.524, allocations: 9.389 MB / 1.155 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02842/4.552, allocations: 18.71 MB / 1.173 GB, free: 84.68 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02907/4.581, allocations: 12.87 MB / 1.186 GB, free: 79.76 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004236/4.582, allocations: 92.72 kB / 1.186 GB, free: 79.76 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2093) (initialization): time 0.1201/4.702, allocations: 34.97 MB / 1.22 GB, free: 67.26 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002343/4.702, allocations: 152.9 kB / 1.22 GB, free: 67.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08468/4.787, allocations: 22.06 MB / 1.242 GB, free: 49.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05866/4.846, allocations: 9.316 MB / 1.251 GB, free: 43.55 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02552/4.871, allocations: 3.937 MB / 1.255 GB, free: 40.24 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.564/5.435, allocations: 48.42 MB / 1.302 GB, free: 93.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02744/5.463, allocations: 1.692 MB / 1.304 GB, free: 93.65 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004418/5.467, allocations: 0.9817 MB / 1.305 GB, free: 93.65 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.02025/5.487, allocations: 6.263 MB / 1.311 GB, free: 93.53 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003617/5.491, allocations: 0.8708 MB / 1.312 GB, free: 93.53 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1254/5.617, allocations: 27.63 MB / 1.339 GB, free: 88.16 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1119/5.728, allocations: 25.79 MB / 1.364 GB, free: 80.87 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001334/5.729, allocations: 22.72 kB / 1.364 GB, free: 80.87 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001872/5.729, allocations: 33.88 kB / 1.364 GB, free: 80.87 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.2168/5.946, allocations: 58.59 MB / 1.421 GB, free: 51.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.826e-05/5.946, allocations: 0 / 1.421 GB, free: 51.89 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01082/5.957, allocations: 1.077 MB / 1.422 GB, free: 50.85 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0881/6.045, allocations: 14.01 MB / 1.436 GB, free: 36.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001973/6.047, allocations: 167.8 kB / 1.436 GB, free: 36.74 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5682/6.615, allocations: 61.81 MB / 1.496 GB, free: 95.37 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05457/6.67, allocations: 23.93 MB / 1.52 GB, free: 88.58 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1365/6.806, allocations: 38.95 MB / 1.558 GB, free: 76.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009519/6.816, allocations: 2.476 MB / 1.56 GB, free: 76.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004565/6.82, allocations: 125.6 kB / 1.56 GB, free: 76.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01575/6.836, allocations: 0.8535 MB / 1.561 GB, free: 75.97 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003423/6.84, allocations: 420.1 kB / 1.561 GB, free: 75.93 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001604/6.841, allocations: 174.5 kB / 1.562 GB, free: 75.89 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01612/6.857, allocations: 5.771 MB / 1.567 GB, free: 73.97 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.132e-06/6.858, allocations: 0 / 1.567 GB, free: 73.97 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02631/6.884, allocations: 4.29 MB / 1.571 GB, free: 73.62 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.002697/6.887, allocations: 286.2 kB / 1.572 GB, free: 73.47 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.05474/6.941, allocations: 23.47 MB / 1.595 GB, free: 64.41 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/6.941, allocations: 0 / 1.595 GB, free: 64.41 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.03119/6.973, allocations: 11.23 MB / 1.606 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01246/6.985, allocations: 1.275 MB / 1.607 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1153/7.101, allocations: 43.18 MB / 1.649 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02701/7.128, allocations: 9.467 MB / 1.658 GB, free: 8.355 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008016/7.136, allocations: 0.8038 MB / 1.659 GB, free: 7.66 MB / 0.5573 GB Notification: Performance of SimCode: time 2.144e-06/7.136, allocations: 8 kB / 1.659 GB, free: 7.652 MB / 0.5573 GB Notification: Performance of Templates: time 3.729/10.86, allocations: 0.8662 GB / 2.525 GB, free: 135.3 MB / 0.6042 GB