Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.321/2.321, allocations: 235 MB / 248.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.608e-05/2.625e-05, allocations: 0 / 309.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3273, allocations: 54.85 MB / 364.5 MB, free: 5.516 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1625/0.4898, allocations: 107.1 MB / 471.7 MB, free: 5.301 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.4901, allocations: 80.52 kB / 471.7 MB, free: 5.223 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.877/2.367, allocations: 258.9 MB / 0.7135 GB, free: 34.45 MB / 474.8 MB Notification: Performance of FrontEnd: time 3.869e-06/2.367, allocations: 0 / 0.7135 GB, free: 34.45 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.001169/2.368, allocations: 271.6 kB / 0.7138 GB, free: 34.45 MB / 474.8 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.05304/2.421, allocations: 13.56 MB / 0.727 GB, free: 30.66 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/2.421, allocations: 10.16 kB / 0.727 GB, free: 30.66 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1335/2.555, allocations: 26.82 MB / 0.7532 GB, free: 29.77 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08229/2.637, allocations: 27.12 MB / 0.7797 GB, free: 27.9 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001091/2.638, allocations: 0.8881 MB / 0.7806 GB, free: 27.87 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00527/2.644, allocations: 1.24 MB / 0.7818 GB, free: 27.84 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09863/2.742, allocations: 27.14 MB / 0.8083 GB, free: 22.37 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001117/2.743, allocations: 176.8 kB / 0.8085 GB, free: 22.34 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004614/2.748, allocations: 0.5434 MB / 0.809 GB, free: 22.34 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004629/2.753, allocations: 2.418 MB / 0.8114 GB, free: 22.3 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05853/2.811, allocations: 22.07 MB / 0.8329 GB, free: 8.719 MB / 474.8 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.543/3.354, allocations: 120.4 MB / 0.9505 GB, free: 26.31 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04795/3.402, allocations: 13.25 MB / 0.9634 GB, free: 25.61 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01365/3.416, allocations: 8.586 MB / 0.9718 GB, free: 25.55 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007182/3.417, allocations: 412.3 kB / 0.9722 GB, free: 25.27 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.873e-05/3.417, allocations: 96.25 kB / 0.9723 GB, free: 25.22 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=550): time 1.211e-05/3.417, allocations: 0 / 0.9723 GB, free: 25.22 MB / 0.5262 GB Notification: Performance of matching and sorting (n=734): time 0.533/3.95, allocations: 112.8 MB / 1.082 GB, free: 9.766 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002718/3.953, allocations: 2.352 MB / 1.085 GB, free: 7.234 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03126/3.984, allocations: 9.691 MB / 1.094 GB, free: 15.11 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.002009/3.986, allocations: 142.4 kB / 1.094 GB, free: 14.96 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.008787/3.995, allocations: 7.644 MB / 1.102 GB, free: 8.418 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.005049/4, allocations: 2.672 MB / 1.104 GB, free: 6.039 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00259/4.003, allocations: 288.1 kB / 1.105 GB, free: 5.758 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.001439/4.004, allocations: 0.9106 MB / 1.106 GB, free: 5.008 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3749/4.379, allocations: 10.34 MB / 1.116 GB, free: 116.2 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02545/4.404, allocations: 15.97 MB / 1.131 GB, free: 107.6 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02608/4.431, allocations: 11.95 MB / 1.143 GB, free: 107.5 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003813/4.431, allocations: 64.78 kB / 1.143 GB, free: 107.5 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.1588/4.59, allocations: 44.87 MB / 1.187 GB, free: 106.6 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002301/4.59, allocations: 104.5 kB / 1.187 GB, free: 106.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1168/4.707, allocations: 33.45 MB / 1.22 GB, free: 102.6 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1045/4.812, allocations: 21.67 MB / 1.241 GB, free: 98.35 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01457/4.826, allocations: 3.171 MB / 1.244 GB, free: 95.71 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1375/4.964, allocations: 65.99 MB / 1.308 GB, free: 34.11 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0188/4.983, allocations: 1.315 MB / 1.31 GB, free: 32.82 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003825/4.986, allocations: 0.7746 MB / 1.31 GB, free: 32.05 MB / 0.5574 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): 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.3738/5.36, allocations: 1.132 MB / 1.311 GB, free: 102.1 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003213/5.364, allocations: 1.092 MB / 1.313 GB, free: 102.1 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07596/5.44, allocations: 27.08 MB / 1.339 GB, free: 101.6 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06648/5.506, allocations: 24.37 MB / 1.363 GB, free: 101.1 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001011/5.506, allocations: 48.12 kB / 1.363 GB, free: 101.1 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001643/5.506, allocations: 35.11 kB / 1.363 GB, free: 101.1 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1401/5.646, allocations: 56.01 MB / 1.418 GB, free: 87.97 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.527e-05/5.647, allocations: 3.781 kB / 1.418 GB, free: 87.97 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007717/5.654, allocations: 1.151 MB / 1.419 GB, free: 87.94 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04714/5.702, allocations: 11.48 MB / 1.43 GB, free: 85.73 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002267/5.704, allocations: 161.8 kB / 1.43 GB, free: 85.64 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1111/5.815, allocations: 54.51 MB / 1.483 GB, free: 43.98 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00158/5.817, allocations: 1.734 MB / 1.485 GB, free: 42.24 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4389/6.256, allocations: 38.76 MB / 1.523 GB, free: 90.72 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01023/6.266, allocations: 2.74 MB / 1.525 GB, free: 90.63 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004426/6.27, allocations: 141.2 kB / 1.526 GB, free: 90.63 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01149/6.282, allocations: 0.749 MB / 1.526 GB, free: 90.63 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003322/6.285, allocations: 0.498 MB / 1.527 GB, free: 90.62 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001784/6.287, allocations: 190.9 kB / 1.527 GB, free: 90.62 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0177/6.305, allocations: 6.946 MB / 1.534 GB, free: 90.25 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.266e-06/6.305, allocations: 0.8438 kB / 1.534 GB, free: 90.25 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.02139/6.326, allocations: 4.174 MB / 1.538 GB, free: 90.25 MB / 0.5574 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.002356/6.329, allocations: 313.9 kB / 1.538 GB, free: 90.16 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.05321/6.382, allocations: 24.41 MB / 1.562 GB, free: 89.02 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 9.158e-06/6.382, allocations: 3.188 kB / 1.562 GB, free: 89.02 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.02947/6.411, allocations: 12.24 MB / 1.574 GB, free: 88.12 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01196/6.423, allocations: 1.64 MB / 1.576 GB, free: 88.06 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08034/6.504, allocations: 33.1 MB / 1.608 GB, free: 80.38 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02163/6.525, allocations: 9.319 MB / 1.617 GB, free: 77.8 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005298/6.531, allocations: 0.8027 MB / 1.618 GB, free: 77.77 MB / 0.5574 GB Notification: Performance of SimCode: time 1.82e-06/6.531, allocations: 2.344 kB / 1.618 GB, free: 77.77 MB / 0.5574 GB Notification: Performance of Templates: time 1.853/8.384, allocations: 0.5245 GB / 2.142 GB, free: 137.4 MB / 0.6043 GB