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.187/2.187, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000439/0.0004391, allocations: 12 kB / 314.4 MB, free: 9.539 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2804, allocations: 54.85 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4094/0.6899, allocations: 107.2 MB / 476.5 MB, free: 94.83 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.6902, allocations: 81.02 kB / 476.6 MB, free: 94.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.197/1.887, allocations: 258.7 MB / 0.718 GB, free: 41.03 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.845e-06/1.887, allocations: 0 / 0.718 GB, free: 41.03 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001049/1.888, allocations: 269.5 kB / 0.7183 GB, free: 41.02 MB / 458.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.05493/1.943, allocations: 15.26 MB / 0.7332 GB, free: 35.61 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/1.943, allocations: 14.62 kB / 0.7332 GB, free: 35.61 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1293/2.073, allocations: 26.78 MB / 0.7594 GB, free: 20.75 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07749/2.15, allocations: 27.24 MB / 0.786 GB, free: 10.45 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001335/2.152, allocations: 0.8915 MB / 0.7868 GB, free: 9.605 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005754/2.157, allocations: 1.234 MB / 0.788 GB, free: 8.426 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08278/2.24, allocations: 27.35 MB / 0.8147 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001077/2.241, allocations: 186.4 kB / 0.8149 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004635/2.246, allocations: 0.5455 MB / 0.8155 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005048/2.251, allocations: 2.414 MB / 0.8178 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.388/2.639, allocations: 22.4 MB / 0.8397 GB, free: 75.33 MB / 0.4948 GB 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.1697/2.809, allocations: 119.7 MB / 0.9566 GB, free: 21.43 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0471/2.856, allocations: 13.33 MB / 0.9696 GB, free: 17.56 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008484/2.857, allocations: 410.6 kB / 0.97 GB, free: 17.25 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.342e-05/2.857, allocations: 100.9 kB / 0.9701 GB, free: 17.17 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=550): time 1.124e-05/2.857, allocations: 0 / 0.9701 GB, free: 17.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=734): time 0.9133/3.77, allocations: 129.6 MB / 1.097 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001797/3.772, allocations: 2.379 MB / 1.099 GB, free: 103 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02193/3.794, allocations: 9.703 MB / 1.108 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001936/3.796, allocations: 142.8 kB / 1.109 GB, free: 100 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.006227/3.802, allocations: 7.639 MB / 1.116 GB, free: 94.23 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.004/3.806, allocations: 2.669 MB / 1.119 GB, free: 92.23 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002398/3.809, allocations: 285.6 kB / 1.119 GB, free: 92.01 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.00106/3.81, allocations: 0.9098 MB / 1.12 GB, free: 91.44 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01859/3.829, allocations: 9.245 MB / 1.129 GB, free: 87.55 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02158/3.85, allocations: 16.13 MB / 1.145 GB, free: 69.96 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02206/3.872, allocations: 12.03 MB / 1.156 GB, free: 59.61 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001833/3.873, allocations: 68 kB / 1.156 GB, free: 59.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.1461/4.019, allocations: 45.18 MB / 1.201 GB, free: 24.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001855/4.019, allocations: 108 kB / 1.201 GB, free: 24.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.4579/4.477, allocations: 33.65 MB / 1.234 GB, free: 92.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09972/4.576, allocations: 21.7 MB / 1.255 GB, free: 92.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01506/4.592, allocations: 3.166 MB / 1.258 GB, free: 92.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1482/4.74, allocations: 69.7 MB / 1.326 GB, free: 75.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01787/4.758, allocations: 1.321 MB / 1.327 GB, free: 74.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003394/4.761, allocations: 0.7709 MB / 1.328 GB, free: 74.02 MB / 0.5261 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.01451/4.776, allocations: 5.729 MB / 1.333 GB, free: 69.42 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003002/4.779, allocations: 1.102 MB / 1.335 GB, free: 68.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06783/4.847, allocations: 27.27 MB / 1.361 GB, free: 44.49 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0616/4.908, allocations: 24.56 MB / 1.385 GB, free: 20.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-05/4.908, allocations: 43.98 kB / 1.385 GB, free: 20.03 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001386/4.909, allocations: 31.88 kB / 1.385 GB, free: 20 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4833/5.392, allocations: 56.21 MB / 1.44 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.34e-05/5.392, allocations: 0 / 1.44 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00784/5.4, allocations: 1.154 MB / 1.441 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05971/5.46, allocations: 11.5 MB / 1.452 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002991/5.463, allocations: 160.7 kB / 1.453 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1666/5.629, allocations: 56.92 MB / 1.508 GB, free: 91.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001599/5.631, allocations: 1.763 MB / 1.51 GB, free: 89.96 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08929/5.72, allocations: 39.07 MB / 1.548 GB, free: 63.98 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008896/5.729, allocations: 2.739 MB / 1.551 GB, free: 62.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004259/5.733, allocations: 138.6 kB / 1.551 GB, free: 61.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0108/5.744, allocations: 0.7471 MB / 1.552 GB, free: 61.53 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003214/5.747, allocations: 0.5072 MB / 1.552 GB, free: 61.23 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001699/5.749, allocations: 187.1 kB / 1.552 GB, free: 61.06 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01691/5.766, allocations: 7.046 MB / 1.559 GB, free: 55.31 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.254e-06/5.766, allocations: 0 / 1.559 GB, free: 55.31 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02137/5.788, allocations: 4.174 MB / 1.563 GB, free: 51.15 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.002324/5.79, allocations: 324.4 kB / 1.564 GB, free: 50.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.05066/5.841, allocations: 24.74 MB / 1.588 GB, free: 30 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/5.841, allocations: 4 kB / 1.588 GB, free: 30 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.02773/5.868, allocations: 12.4 MB / 1.6 GB, free: 19.35 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01124/5.88, allocations: 1.633 MB / 1.601 GB, free: 18.02 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4261/6.306, allocations: 43.16 MB / 1.644 GB, free: 93.59 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02301/6.329, allocations: 9.322 MB / 1.653 GB, free: 92.54 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005208/6.334, allocations: 0.8071 MB / 1.653 GB, free: 92.54 MB / 0.5417 GB Notification: Performance of SimCode: time 1.929e-06/6.334, allocations: 0 / 1.653 GB, free: 92.54 MB / 0.5417 GB Notification: Performance of Templates: time 1.523/7.857, allocations: 0.5246 GB / 2.178 GB, free: 104.2 MB / 0.6198 GB