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.InitializationConversion.Joints.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.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.834/1.834, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.871e-05/2.892e-05, allocations: 4 kB / 277.8 MB, free: 15.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08778/0.08783, allocations: 48.7 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3697/0.4576, allocations: 100.3 MB / 426.8 MB, free: 7.652 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.4578, allocations: 76.2 kB / 426.9 MB, free: 7.613 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.29/1.748, allocations: 258.4 MB / 0.6692 GB, free: 12.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.13e-06/1.748, allocations: 3.938 kB / 0.6692 GB, free: 12.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.00109/1.749, allocations: 268 kB / 0.6695 GB, free: 11.83 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.05074/1.8, allocations: 13.55 MB / 0.6827 GB, free: 14.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/1.8, allocations: 8.031 kB / 0.6827 GB, free: 14.17 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4246/2.224, allocations: 26.8 MB / 0.7089 GB, free: 44.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0814/2.306, allocations: 27.09 MB / 0.7354 GB, free: 43.37 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001009/2.307, allocations: 0.8865 MB / 0.7362 GB, free: 43.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005052/2.312, allocations: 1.235 MB / 0.7374 GB, free: 43.31 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07172/2.384, allocations: 27.12 MB / 0.7639 GB, free: 37.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001025/2.385, allocations: 181.5 kB / 0.7641 GB, free: 37.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004365/2.389, allocations: 0.5457 MB / 0.7646 GB, free: 37.82 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004465/2.394, allocations: 2.413 MB / 0.767 GB, free: 37.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05924/2.453, allocations: 22.07 MB / 0.7885 GB, free: 33.2 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.5781/3.031, allocations: 119.7 MB / 0.9054 GB, free: 26.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04906/3.08, allocations: 13.24 MB / 0.9183 GB, free: 25.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01352/3.094, allocations: 8.59 MB / 0.9267 GB, free: 25.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008249/3.094, allocations: 403.8 kB / 0.9271 GB, free: 25.12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.032e-05/3.095, allocations: 97.41 kB / 0.9272 GB, free: 25.08 MB / 490.7 MB Notification: Performance of pre-optimization done (n=550): time 1.274e-05/3.095, allocations: 3.062 kB / 0.9272 GB, free: 25.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=734): time 0.4695/3.564, allocations: 112.8 MB / 1.037 GB, free: 2.488 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00267/3.567, allocations: 2.355 MB / 1.04 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0264/3.593, allocations: 9.595 MB / 1.049 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.00197/3.595, allocations: 137.7 kB / 1.049 GB, free: 7.371 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.008869/3.604, allocations: 7.634 MB / 1.057 GB, free: 400 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.004925/3.609, allocations: 2.668 MB / 1.059 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002696/3.612, allocations: 288.1 kB / 1.06 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001492/3.613, allocations: 0.9091 MB / 1.06 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02093/3.634, allocations: 9.074 MB / 1.069 GB, free: 4.793 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02844/3.663, allocations: 15.96 MB / 1.085 GB, free: 1.719 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3378/4.001, allocations: 11.93 MB / 1.096 GB, free: 132.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000244/4.001, allocations: 68.16 kB / 1.097 GB, free: 132.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.1485/4.149, allocations: 44.2 MB / 1.14 GB, free: 131.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001667/4.15, allocations: 104.1 kB / 1.14 GB, free: 131.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1109/4.261, allocations: 32.77 MB / 1.172 GB, free: 128.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09868/4.359, allocations: 20.86 MB / 1.192 GB, free: 126.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01488/4.374, allocations: 3.164 MB / 1.195 GB, free: 126.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1292/4.503, allocations: 65.16 MB / 1.259 GB, free: 65.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01846/4.522, allocations: 1.311 MB / 1.26 GB, free: 63.94 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003762/4.526, allocations: 0.7823 MB / 1.261 GB, free: 63.16 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 () * 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.006077/4.532, allocations: 1.132 MB / 1.262 GB, free: 62.12 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003648/4.536, allocations: 1.099 MB / 1.263 GB, free: 61.61 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3887/4.924, allocations: 27.08 MB / 1.29 GB, free: 123 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06945/4.994, allocations: 24.37 MB / 1.313 GB, free: 122.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001152/4.994, allocations: 40.88 kB / 1.313 GB, free: 122.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001751/4.994, allocations: 33.33 kB / 1.313 GB, free: 122.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1431/5.137, allocations: 56 MB / 1.368 GB, free: 113.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.538e-05/5.137, allocations: 3.531 kB / 1.368 GB, free: 113.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008023/5.145, allocations: 1.152 MB / 1.369 GB, free: 113.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04548/5.191, allocations: 11.47 MB / 1.38 GB, free: 111.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001935/5.193, allocations: 161.9 kB / 1.381 GB, free: 111.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1376/5.331, allocations: 54.51 MB / 1.434 GB, free: 78.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002831/5.334, allocations: 1.733 MB / 1.436 GB, free: 76.68 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4389/5.772, allocations: 38.78 MB / 1.473 GB, free: 116.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009192/5.782, allocations: 2.737 MB / 1.476 GB, free: 116.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004065/5.786, allocations: 138.8 kB / 1.476 GB, free: 116.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01158/5.797, allocations: 0.7427 MB / 1.477 GB, free: 116.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003438/5.801, allocations: 0.5073 MB / 1.477 GB, free: 116.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001777/5.803, allocations: 196.9 kB / 1.478 GB, free: 116.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01879/5.821, allocations: 6.938 MB / 1.484 GB, free: 116.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.256e-06/5.822, allocations: 0 / 1.484 GB, free: 116.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02076/5.842, allocations: 4.163 MB / 1.488 GB, free: 116.3 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 () * 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.002228/5.845, allocations: 315.9 kB / 1.489 GB, free: 116.2 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.05153/5.896, allocations: 24.38 MB / 1.513 GB, free: 115.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.678e-06/5.896, allocations: 0 / 1.513 GB, free: 115.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.02789/5.924, allocations: 12.23 MB / 1.525 GB, free: 114.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01189/5.936, allocations: 1.646 MB / 1.526 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07789/6.014, allocations: 33.09 MB / 1.558 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02208/6.036, allocations: 9.316 MB / 1.568 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005261/6.041, allocations: 0.8046 MB / 1.568 GB, free: 106 MB / 0.5417 GB Notification: Performance of SimCode: time 2.025e-06/6.041, allocations: 0 / 1.568 GB, free: 106 MB / 0.5417 GB Notification: Performance of Templates: time 1.776/7.817, allocations: 0.5235 GB / 2.092 GB, free: 138.6 MB / 0.5573 GB