Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.InitializationConversion.Joints.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.MultiBody.InitializationConversion.Joints") Notification: Performance of loadModel(ModelicaTest): time 1.899/1.899, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000434/0.0004342, allocations: 12 kB / 283.1 MB, free: 9.703 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3746, allocations: 48.7 MB / 331.8 MB, free: 6.48 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2027/0.5774, allocations: 100.4 MB / 432.2 MB, free: 10.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003802/0.5778, allocations: 79.97 kB / 432.2 MB, free: 9.945 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.736/2.314, allocations: 261.5 MB / 0.6774 GB, free: 31.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.505e-06/2.314, allocations: 4 kB / 0.6775 GB, free: 31.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001791/2.316, allocations: 269.9 kB / 0.6777 GB, free: 31.89 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: 3966 * Number of variables: 3966 Notification: Performance of Generate backend data structure: time 0.08034/2.396, allocations: 15.26 MB / 0.6926 GB, free: 26.53 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/2.396, allocations: 7.312 kB / 0.6926 GB, free: 26.53 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1952/2.591, allocations: 26.77 MB / 0.7188 GB, free: 25.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1147/2.706, allocations: 27.18 MB / 0.7453 GB, free: 19.76 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001241/2.707, allocations: 0.8899 MB / 0.7462 GB, free: 19.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007307/2.715, allocations: 1.235 MB / 0.7474 GB, free: 18.42 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09196/2.807, allocations: 27.44 MB / 0.7742 GB, free: 7.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001374/2.808, allocations: 180.7 kB / 0.7744 GB, free: 7.719 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006853/2.815, allocations: 0.5421 MB / 0.7749 GB, free: 7.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009762/2.825, allocations: 2.412 MB / 0.7772 GB, free: 4.852 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4404/3.265, allocations: 22.39 MB / 0.7991 GB, free: 48.78 MB / 458.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.2206/3.486, allocations: 119.7 MB / 0.916 GB, free: 16.53 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06194/3.548, allocations: 13.32 MB / 0.929 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001314/3.55, allocations: 409.9 kB / 0.9294 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001139/3.55, allocations: 95.19 kB / 0.9295 GB, free: 12.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=550): time 1.021e-05/3.55, allocations: 1.312 kB / 0.9295 GB, free: 12.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=734): time 1.143/4.693, allocations: 132.1 MB / 1.058 GB, free: 97.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002465/4.696, allocations: 2.384 MB / 1.061 GB, free: 95.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03164/4.727, allocations: 10.98 MB / 1.072 GB, free: 93.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.003475/4.731, allocations: 137.7 kB / 1.072 GB, free: 93.58 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01124/4.742, allocations: 7.626 MB / 1.079 GB, free: 87.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.007605/4.75, allocations: 2.675 MB / 1.082 GB, free: 85.76 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004886/4.755, allocations: 279.7 kB / 1.082 GB, free: 85.54 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.002412/4.757, allocations: 0.9085 MB / 1.083 GB, free: 84.97 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03165/4.789, allocations: 9.233 MB / 1.092 GB, free: 81.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03889/4.828, allocations: 16.17 MB / 1.108 GB, free: 69.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03722/4.865, allocations: 12.01 MB / 1.119 GB, free: 61.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003965/4.866, allocations: 71.38 kB / 1.119 GB, free: 61.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.2203/5.086, allocations: 44.39 MB / 1.163 GB, free: 29.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001759/5.086, allocations: 104.6 kB / 1.163 GB, free: 28.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.5869/5.673, allocations: 33.31 MB / 1.195 GB, free: 88.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1453/5.818, allocations: 20.8 MB / 1.216 GB, free: 88.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0213/5.84, allocations: 3.168 MB / 1.219 GB, free: 88.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1872/6.027, allocations: 68.71 MB / 1.286 GB, free: 68.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02565/6.053, allocations: 1.294 MB / 1.287 GB, free: 67.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004463/6.057, allocations: 0.7771 MB / 1.288 GB, free: 66.68 MB / 0.4948 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): 4 * Torn equation systems: 3 * 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: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(21,54.2%) 193} * Non-linear torn systems: 2 {4 9,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.01993/6.077, allocations: 5.726 MB / 1.294 GB, free: 62.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005083/6.082, allocations: 1.095 MB / 1.295 GB, free: 61.58 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1242/6.207, allocations: 27.16 MB / 1.321 GB, free: 38.37 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.09118/6.298, allocations: 24.45 MB / 1.345 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001274/6.298, allocations: 42.38 kB / 1.345 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001861/6.298, allocations: 35.86 kB / 1.345 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6868/6.985, allocations: 56.06 MB / 1.4 GB, free: 81.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001033/6.985, allocations: 2.719 kB / 1.4 GB, free: 81.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01163/6.997, allocations: 1.157 MB / 1.401 GB, free: 81.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06178/7.059, allocations: 11.41 MB / 1.412 GB, free: 81.62 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002646/7.061, allocations: 162.9 kB / 1.412 GB, free: 81.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1775/7.239, allocations: 56.9 MB / 1.468 GB, free: 59.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002108/7.241, allocations: 1.763 MB / 1.47 GB, free: 57.71 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.162/7.403, allocations: 38.72 MB / 1.507 GB, free: 26.33 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01156/7.415, allocations: 2.733 MB / 1.51 GB, free: 24.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006478/7.421, allocations: 143.2 kB / 1.51 GB, free: 24.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01636/7.438, allocations: 0.7292 MB / 1.511 GB, free: 23.89 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004115/7.442, allocations: 0.5025 MB / 1.511 GB, free: 23.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00232/7.444, allocations: 194.1 kB / 1.512 GB, free: 23.42 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01974/7.464, allocations: 7.042 MB / 1.518 GB, free: 17.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.72e-07/7.464, allocations: 0 / 1.518 GB, free: 17.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.02514/7.489, allocations: 4.166 MB / 1.523 GB, free: 13.53 MB / 0.4948 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.003252/7.492, allocations: 314.7 kB / 1.523 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.4512/7.944, allocations: 25.14 MB / 1.547 GB, free: 83.99 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/7.944, allocations: 1.938 kB / 1.547 GB, free: 83.99 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.04011/7.984, allocations: 12.38 MB / 1.559 GB, free: 83.06 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01646/8, allocations: 1.632 MB / 1.561 GB, free: 83 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1182/8.119, allocations: 43.16 MB / 1.603 GB, free: 69.22 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02786/8.146, allocations: 9.321 MB / 1.612 GB, free: 68.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008131/8.155, allocations: 0.8044 MB / 1.613 GB, free: 68.12 MB / 0.4948 GB Notification: Performance of SimCode: time 2.204e-06/8.155, allocations: 0 / 1.613 GB, free: 68.12 MB / 0.4948 GB Notification: Performance of Templates: time 2.32/10.48, allocations: 0.5236 GB / 2.137 GB, free: 126.9 MB / 0.5417 GB