Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.InitializationConversion.Joints.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.InitializationConversion.Joints,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actuatedPrismatic.s|actuatedPrismatic.v|actuatedRevolute.phi|actuatedRevolute.w|bodyBox8.body.Q.1.|bodyBox8.body.Q.2.|bodyBox8.body.Q.3.|bodyBox8.body.Q.4.|bodyBox8.body.frame_a.r_0.1.|bodyBox8.body.frame_a.r_0.2.|bodyBox8.body.frame_a.r_0.3.|bodyBox8.body.w_a.1.|bodyBox8.body.w_a.2.|bodyBox8.body.w_a.3.|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w|prismatic.s|prismatic.v|revolute.phi|revolute.w|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.InitializationConversion.Joints") Notification: Performance of loadModel(ModelicaTest): time 2.252/2.252, allocations: 234.9 MB / 251.1 MB, free: 9.703 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004217/0.0004218, allocations: 8 kB / 314.9 MB, free: 9.738 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3832, allocations: 54.86 MB / 369.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2078/0.5911, allocations: 107.2 MB / 477 MB, free: 1.426 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/0.5915, allocations: 75.97 kB / 477.1 MB, free: 1.352 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.791/2.382, allocations: 262 MB / 0.7217 GB, free: 41.43 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.965e-06/2.382, allocations: 0 / 0.7217 GB, free: 41.43 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001631/2.384, allocations: 266.1 kB / 0.722 GB, free: 41.42 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: 3972 * Number of variables: 3972 Notification: Performance of Generate backend data structure: time 0.07322/2.457, allocations: 15.27 MB / 0.7369 GB, free: 36.12 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/2.457, allocations: 10.72 kB / 0.7369 GB, free: 36.12 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1892/2.647, allocations: 26.78 MB / 0.7631 GB, free: 35.21 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09672/2.743, allocations: 27.22 MB / 0.7897 GB, free: 33.14 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001195/2.745, allocations: 0.8876 MB / 0.7905 GB, free: 32.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006781/2.751, allocations: 1.241 MB / 0.7917 GB, free: 31.98 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08946/2.841, allocations: 27.45 MB / 0.8185 GB, free: 10.68 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001512/2.842, allocations: 182.4 kB / 0.8187 GB, free: 10.57 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006739/2.849, allocations: 0.5437 MB / 0.8192 GB, free: 10.08 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005533/2.855, allocations: 2.422 MB / 0.8216 GB, free: 8.062 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09074/2.946, allocations: 22.94 MB / 0.844 GB, free: 5.465 MB / 490.7 MB 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 preOpt removeSimpleEquations (simulation): time 0.6535/3.599, allocations: 119.7 MB / 0.961 GB, free: 24.54 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06368/3.663, allocations: 13.33 MB / 0.974 GB, free: 23.82 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001256/3.664, allocations: 402.8 kB / 0.9744 GB, free: 23.54 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.769e-05/3.664, allocations: 99.56 kB / 0.9745 GB, free: 23.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=550): time 1.021e-05/3.664, allocations: 0 / 0.9745 GB, free: 23.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=734): time 1.254/4.918, allocations: 132.4 MB / 1.104 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002523/4.921, allocations: 2.383 MB / 1.106 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03042/4.951, allocations: 10.97 MB / 1.117 GB, free: 101.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002747/4.954, allocations: 140.2 kB / 1.117 GB, free: 101.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.008289/4.962, allocations: 7.636 MB / 1.124 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.005582/4.968, allocations: 2.674 MB / 1.127 GB, free: 96.21 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003888/4.972, allocations: 278.9 kB / 1.127 GB, free: 96.21 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001807/4.974, allocations: 0.9135 MB / 1.128 GB, free: 95.86 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0243/4.998, allocations: 9.242 MB / 1.137 GB, free: 95.83 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03013/5.028, allocations: 16.18 MB / 1.153 GB, free: 87.21 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02999/5.058, allocations: 12.03 MB / 1.165 GB, free: 83.21 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003144/5.059, allocations: 64.66 kB / 1.165 GB, free: 83.21 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.223/5.282, allocations: 45.08 MB / 1.209 GB, free: 70.41 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002006/5.282, allocations: 106 kB / 1.209 GB, free: 70.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1744/5.456, allocations: 33.56 MB / 1.242 GB, free: 45.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1842/5.641, allocations: 21.61 MB / 1.263 GB, free: 27.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02175/5.662, allocations: 3.162 MB / 1.266 GB, free: 24.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.637/6.299, allocations: 69.68 MB / 1.334 GB, free: 89.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02547/6.325, allocations: 1.305 MB / 1.335 GB, free: 89.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004678/6.33, allocations: 0.7745 MB / 1.336 GB, free: 89.27 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1061 * Number of states: 0 () * Number of discrete variables: 108 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],bodyBox8.color[3],bodyBox8.color[2],bodyBox8.color[1],bodyBox8.body.sphereColor[3],bodyBox8.body.sphereColor[2],bodyBox8.body.sphereColor[1],bodyBox7.color[3],bodyBox7.color[2],bodyBox7.color[1],bodyBox7.body.sphereColor[3],bodyBox7.body.sphereColor[2],bodyBox7.body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],bodyBox6.color[3],bodyBox6.color[2],bodyBox6.color[1],bodyBox6.body.sphereColor[3],bodyBox6.body.sphereColor[2],bodyBox6.body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],bodyBox5.color[3],bodyBox5.color[2],bodyBox5.color[1],bodyBox5.body.sphereColor[3],bodyBox5.body.sphereColor[2],bodyBox5.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox4.color[3],bodyBox4.color[2],bodyBox4.color[1],bodyBox4.body.sphereColor[3],bodyBox4.body.sphereColor[2],bodyBox4.body.sphereColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],actuatedPrismatic.boxColor[3],actuatedPrismatic.boxColor[2],actuatedPrismatic.boxColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],actuatedRevolute.cylinderColor[3],actuatedRevolute.cylinderColor[2],actuatedRevolute.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (1573): * Single equations (assignments): 1561 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(4,100.0%),(3,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(21,54.2%) 193} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.02033/6.35, allocations: 5.735 MB / 1.342 GB, free: 87.12 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005263/6.355, allocations: 1.092 MB / 1.343 GB, free: 87.12 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1096/6.465, allocations: 27.15 MB / 1.369 GB, free: 77.91 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1365/6.602, allocations: 24.46 MB / 1.393 GB, free: 67.43 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003373/6.602, allocations: 43.95 kB / 1.393 GB, free: 67.39 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002628/6.602, allocations: 33.61 kB / 1.393 GB, free: 67.39 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2742/6.876, allocations: 56.09 MB / 1.448 GB, free: 23.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001355/6.877, allocations: 4 kB / 1.448 GB, free: 23.14 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01853/6.895, allocations: 1.152 MB / 1.449 GB, free: 22.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09434/6.99, allocations: 11.41 MB / 1.46 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003073/6.993, allocations: 160.4 kB / 1.46 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5943/7.587, allocations: 56.9 MB / 1.516 GB, free: 95.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002202/7.589, allocations: 1.763 MB / 1.518 GB, free: 93.67 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1276/7.717, allocations: 38.71 MB / 1.555 GB, free: 81.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01144/7.728, allocations: 2.739 MB / 1.558 GB, free: 80.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006468/7.735, allocations: 137.5 kB / 1.558 GB, free: 80.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01694/7.752, allocations: 0.7283 MB / 1.559 GB, free: 80.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004852/7.757, allocations: 0.4991 MB / 1.559 GB, free: 80.44 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002679/7.76, allocations: 189.6 kB / 1.56 GB, free: 80.39 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.02192/7.782, allocations: 7.051 MB / 1.566 GB, free: 78.11 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.022e-06/7.782, allocations: 4.562 kB / 1.566 GB, free: 78.11 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02843/7.81, allocations: 4.17 MB / 1.571 GB, free: 77.75 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 40 ($STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],revolute.phi,revolute.w,actuatedRevolute.phi,actuatedRevolute.w,prismatic.s,prismatic.v,actuatedPrismatic.s,actuatedPrismatic.v,cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w,universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w,bodyBox7.body.w_a[1],bodyBox7.body.w_a[2],bodyBox7.body.w_a[3],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * 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 (496): * Single equations (assignments): 487 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {8} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(19,68.7%) 192} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003609/7.814, allocations: 322.9 kB / 1.571 GB, free: 77.56 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.06759/7.881, allocations: 24.73 MB / 1.595 GB, free: 61.74 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/7.881, allocations: 1.875 kB / 1.595 GB, free: 61.74 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.03844/7.92, allocations: 12.38 MB / 1.607 GB, free: 51.12 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0161/7.936, allocations: 1.638 MB / 1.609 GB, free: 49.79 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.121/8.057, allocations: 43.19 MB / 1.651 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03279/8.09, allocations: 9.33 MB / 1.66 GB, free: 5.148 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007927/8.098, allocations: 0.8069 MB / 1.661 GB, free: 4.41 MB / 0.5417 GB Notification: Performance of SimCode: time 2.344e-06/8.098, allocations: 0 / 1.661 GB, free: 4.41 MB / 0.5417 GB Notification: Performance of Templates: time 2.395/10.49, allocations: 0.5247 GB / 2.185 GB, free: 106 MB / 0.5886 GB