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 2.022/2.022, allocations: 209.2 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004389/0.000439, allocations: 12 kB / 282.6 MB, free: 9.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2854, allocations: 48.69 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1502/0.4357, allocations: 100.4 MB / 431.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.436, allocations: 75.97 kB / 431.7 MB, free: 9.938 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.356/1.792, allocations: 258.2 MB / 0.6737 GB, free: 30.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.396e-06/1.792, allocations: 0 / 0.6737 GB, free: 30.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.00101/1.793, allocations: 268.8 kB / 0.674 GB, free: 30.52 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.05351/1.847, allocations: 15.26 MB / 0.6889 GB, free: 25.17 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/1.847, allocations: 6.625 kB / 0.6889 GB, free: 25.17 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1304/1.977, allocations: 26.77 MB / 0.715 GB, free: 24.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07945/2.057, allocations: 27.22 MB / 0.7416 GB, free: 20.24 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001005/2.058, allocations: 0.8827 MB / 0.7425 GB, free: 19.74 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005205/2.063, allocations: 1.232 MB / 0.7437 GB, free: 18.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07276/2.136, allocations: 27.34 MB / 0.7704 GB, free: 10.49 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001165/2.137, allocations: 177.9 kB / 0.7705 GB, free: 10.37 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005301/2.142, allocations: 0.5477 MB / 0.7711 GB, free: 9.879 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005311/2.148, allocations: 2.415 MB / 0.7734 GB, free: 7.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06698/2.215, allocations: 22.39 MB / 0.7953 GB, free: 1.316 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.4759/2.691, allocations: 119.7 MB / 0.9122 GB, free: 17.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04932/2.74, allocations: 13.34 MB / 0.9252 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000875/2.741, allocations: 408.3 kB / 0.9256 GB, free: 12.99 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.358e-05/2.741, allocations: 97.25 kB / 0.9257 GB, free: 12.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=550): time 1.234e-05/2.741, allocations: 0 / 0.9257 GB, free: 12.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=734): time 0.8625/3.603, allocations: 129.7 MB / 1.052 GB, free: 97.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001919/3.605, allocations: 2.379 MB / 1.055 GB, free: 95.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02373/3.629, allocations: 9.704 MB / 1.064 GB, free: 94.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001958/3.631, allocations: 142.9 kB / 1.064 GB, free: 94.35 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006128/3.637, allocations: 7.626 MB / 1.072 GB, free: 88.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003979/3.641, allocations: 2.679 MB / 1.074 GB, free: 86.56 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002404/3.644, allocations: 286.9 kB / 1.075 GB, free: 86.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001191/3.645, allocations: 0.9061 MB / 1.076 GB, free: 85.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0186/3.664, allocations: 9.237 MB / 1.085 GB, free: 82.33 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02322/3.687, allocations: 16.12 MB / 1.1 GB, free: 69.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02316/3.71, allocations: 12.01 MB / 1.112 GB, free: 65.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002253/3.71, allocations: 66.91 kB / 1.112 GB, free: 65.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.1399/3.85, allocations: 44.5 MB / 1.156 GB, free: 32.72 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001846/3.85, allocations: 104 kB / 1.156 GB, free: 32.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.4341/4.285, allocations: 34.32 MB / 1.189 GB, free: 87.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09667/4.381, allocations: 20.88 MB / 1.21 GB, free: 86.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01525/4.397, allocations: 3.175 MB / 1.213 GB, free: 86.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1396/4.536, allocations: 68.74 MB / 1.28 GB, free: 73.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01892/4.555, allocations: 1.313 MB / 1.281 GB, free: 72.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003516/4.559, allocations: 0.7836 MB / 1.282 GB, free: 72.84 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.01506/4.574, allocations: 5.726 MB / 1.287 GB, free: 69.03 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003605/4.578, allocations: 1.09 MB / 1.288 GB, free: 68.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08801/4.666, allocations: 27.26 MB / 1.315 GB, free: 45.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0792/4.745, allocations: 24.57 MB / 1.339 GB, free: 21.14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001991/4.745, allocations: 40 kB / 1.339 GB, free: 21.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002502/4.745, allocations: 35.86 kB / 1.339 GB, free: 21.07 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5451/5.291, allocations: 56.19 MB / 1.394 GB, free: 81.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.094e-05/5.291, allocations: 8.344 kB / 1.394 GB, free: 81.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007794/5.298, allocations: 1.153 MB / 1.395 GB, free: 81.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0444/5.343, allocations: 11.49 MB / 1.406 GB, free: 81.77 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002088/5.345, allocations: 160 kB / 1.407 GB, free: 81.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1148/5.46, allocations: 56.93 MB / 1.462 GB, free: 62.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001703/5.462, allocations: 1.761 MB / 1.464 GB, free: 61.48 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08881/5.55, allocations: 39.07 MB / 1.502 GB, free: 32.78 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009427/5.56, allocations: 2.736 MB / 1.505 GB, free: 30.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004314/5.564, allocations: 138.2 kB / 1.505 GB, free: 30.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01082/5.575, allocations: 0.7441 MB / 1.506 GB, free: 30.34 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003182/5.578, allocations: 0.5145 MB / 1.506 GB, free: 30.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001815/5.58, allocations: 188.3 kB / 1.506 GB, free: 29.87 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01774/5.598, allocations: 7.048 MB / 1.513 GB, free: 24.12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.272e-06/5.598, allocations: 0.75 kB / 1.513 GB, free: 24.12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.02085/5.619, allocations: 4.155 MB / 1.517 GB, free: 19.98 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.002308/5.621, allocations: 319.8 kB / 1.517 GB, free: 19.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.358/5.979, allocations: 25.52 MB / 1.542 GB, free: 84.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.26e-06/5.979, allocations: 0.8125 kB / 1.542 GB, free: 84.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02933/6.009, allocations: 12.4 MB / 1.554 GB, free: 83.58 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01099/6.02, allocations: 1.637 MB / 1.556 GB, free: 83.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08474/6.104, allocations: 43.12 MB / 1.598 GB, free: 69.73 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02154/6.126, allocations: 9.319 MB / 1.607 GB, free: 68.64 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005091/6.131, allocations: 0.8017 MB / 1.608 GB, free: 68.64 MB / 0.4948 GB Notification: Performance of SimCode: time 1.968e-06/6.131, allocations: 7.172 kB / 1.608 GB, free: 68.63 MB / 0.4948 GB Notification: Performance of Templates: time 1.748/7.879, allocations: 0.5236 GB / 2.132 GB, free: 126.8 MB / 0.5417 GB