Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Joints,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_InitializationConversion_Joints",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.185/2.185, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.934e-05/1.945e-05, allocations: 0 / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3636, allocations: 54.86 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2077/0.5713, allocations: 106.5 MB / 464.6 MB, free: 4.238 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.5717, allocations: 71.97 kB / 464.7 MB, free: 4.168 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753/2.325, allocations: 253.4 MB / 0.7013 GB, free: 40.31 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.275e-06/2.325, allocations: 0 / 0.7013 GB, free: 40.31 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001319/2.327, allocations: 266 kB / 0.7015 GB, free: 40.3 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.06779/2.394, allocations: 13.56 MB / 0.7148 GB, free: 35.63 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/2.394, allocations: 7.188 kB / 0.7148 GB, free: 35.63 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2122/2.607, allocations: 26.83 MB / 0.741 GB, free: 34.02 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09613/2.703, allocations: 27.09 MB / 0.7674 GB, free: 11.03 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009573/2.704, allocations: 390.6 kB / 0.7678 GB, free: 10.65 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006784/2.711, allocations: 0.7455 MB / 0.7685 GB, free: 9.906 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04576/2.756, allocations: 15.95 MB / 0.7841 GB, free: 9.961 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07725/2.834, allocations: 23.61 MB / 0.8072 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00141/2.835, allocations: 176.1 kB / 0.8073 GB, free: 500 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00612/2.841, allocations: 63.98 kB / 0.8074 GB, free: 436 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006847/2.848, allocations: 2.418 MB / 0.8098 GB, free: 14.02 MB / 0.4948 GB 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.5955/3.444, allocations: 116.1 MB / 0.9231 GB, free: 16.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02062/3.465, allocations: 10.6 MB / 0.9335 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01517/3.48, allocations: 8.426 MB / 0.9417 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001154/3.481, allocations: 415.2 kB / 0.9421 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.055e-05/3.481, allocations: 94.78 kB / 0.9422 GB, free: 9.305 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=550): time 1.088e-05/3.481, allocations: 0 / 0.9422 GB, free: 9.305 MB / 0.4948 GB Notification: Performance of matching and sorting (n=747): time 0.8885/4.37, allocations: 109.2 MB / 1.049 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000235/4.37, allocations: 0.6589 MB / 1.049 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02187/4.392, allocations: 8.262 MB / 1.058 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.00255/4.395, allocations: 29.23 kB / 1.058 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.007534/4.402, allocations: 7.773 MB / 1.065 GB, free: 96.89 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.005257/4.407, allocations: 2.632 MB / 1.068 GB, free: 95.24 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00334/4.411, allocations: 0 / 1.068 GB, free: 95.24 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001597/4.412, allocations: 0.9286 MB / 1.069 GB, free: 94.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02059/4.433, allocations: 9.13 MB / 1.078 GB, free: 94.87 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02583/4.459, allocations: 16.1 MB / 1.093 GB, free: 85.42 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03875/4.498, allocations: 12 MB / 1.105 GB, free: 81.16 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005165/4.498, allocations: 71.34 kB / 1.105 GB, free: 81.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1888) (initialization): time 0.2459/4.744, allocations: 43.82 MB / 1.148 GB, free: 68.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002976/4.745, allocations: 108 kB / 1.148 GB, free: 68.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2722/5.017, allocations: 33.53 MB / 1.181 GB, free: 44.15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.159/5.176, allocations: 21.36 MB / 1.202 GB, free: 24.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02248/5.198, allocations: 3.24 MB / 1.205 GB, free: 20.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5737/5.772, allocations: 60.91 MB / 1.264 GB, free: 87.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02477/5.797, allocations: 1.048 MB / 1.265 GB, free: 87.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004752/5.802, allocations: 0.7978 MB / 1.266 GB, free: 87.75 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1091 * 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 (1616): * Single equations (assignments): 1604 * 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,64.6%) 193} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.008094/5.81, allocations: 0.7576 MB / 1.267 GB, free: 87.55 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.09711/5.907, allocations: 25.96 MB / 1.292 GB, free: 79.96 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004952/5.912, allocations: 1.025 MB / 1.293 GB, free: 79.96 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09872/6.011, allocations: 26.99 MB / 1.319 GB, free: 71.23 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0885/6.099, allocations: 24.45 MB / 1.343 GB, free: 55.17 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001267/6.1, allocations: 40 kB / 1.343 GB, free: 55.13 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002762/6.1, allocations: 39.02 kB / 1.343 GB, free: 55.12 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1721/6.272, allocations: 55.06 MB / 1.397 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.641e-05/6.272, allocations: 11.3 kB / 1.397 GB, free: 7.605 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01217/6.284, allocations: 1.172 MB / 1.398 GB, free: 6.477 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4982/6.783, allocations: 11.37 MB / 1.409 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002945/6.786, allocations: 54.91 kB / 1.41 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1493/6.935, allocations: 51.06 MB / 1.459 GB, free: 99.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001879/6.937, allocations: 1.675 MB / 1.461 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1157/7.053, allocations: 39.13 MB / 1.499 GB, free: 83.97 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01063/7.063, allocations: 2.707 MB / 1.502 GB, free: 83.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004736/7.068, allocations: 20.2 kB / 1.502 GB, free: 83.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0159/7.084, allocations: 0.6376 MB / 1.503 GB, free: 83.11 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004441/7.089, allocations: 0.5033 MB / 1.503 GB, free: 83.04 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002414/7.091, allocations: 197.3 kB / 1.503 GB, free: 83 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01683/7.108, allocations: 5.788 MB / 1.509 GB, free: 80.98 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.01e-07/7.108, allocations: 2.156 kB / 1.509 GB, free: 80.98 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02627/7.134, allocations: 3.861 MB / 1.513 GB, free: 80.97 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 40 ($STATESET8092594568.x[6],$STATESET8092594568.x[5],$STATESET8092594568.x[4],$STATESET8092594568.x[3],$STATESET8092594568.x[2],$STATESET8092594568.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 (509): * Single equations (assignments): 500 * 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 {(20,65.0%) 191} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1222/7.256, allocations: 39.94 MB / 1.552 GB, free: 52.54 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.06409/7.321, allocations: 24.17 MB / 1.575 GB, free: 31.44 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/7.321, allocations: 0 / 1.575 GB, free: 31.44 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.03709/7.358, allocations: 12.34 MB / 1.587 GB, free: 20.62 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01479/7.373, allocations: 1.37 MB / 1.589 GB, free: 19.53 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6523/8.025, allocations: 37.22 MB / 1.625 GB, free: 100.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0307/8.056, allocations: 9.346 MB / 1.634 GB, free: 99.56 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02621/8.082, allocations: 6.867 MB / 1.641 GB, free: 99.56 MB / 0.5417 GB Notification: Performance of SimCode: time 1.624e-06/8.082, allocations: 0 / 1.641 GB, free: 99.56 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 10.78/18.86, allocations: 0.6009 GB / 2.242 GB, free: 125.1 MB / 0.6042 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.InitializationConversion.Joints_res.mat does not exist to compare? outputFormat=mat