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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.385/2.385, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.325e-05/3.334e-05, allocations: 4 kB / 309.8 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.4391, allocations: 54.85 MB / 364.6 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1985/0.6376, allocations: 107.1 MB / 471.8 MB, free: 5.301 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.638, allocations: 76.55 kB / 471.8 MB, free: 5.227 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.138/2.776, allocations: 258.9 MB / 0.7136 GB, free: 34.48 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.745e-06/2.776, allocations: 0 / 0.7136 GB, free: 34.48 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.0017/2.777, allocations: 273.6 kB / 0.7139 GB, free: 34.48 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.07268/2.85, allocations: 13.56 MB / 0.7271 GB, free: 30.69 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/2.85, allocations: 9.406 kB / 0.7271 GB, free: 30.69 MB / 474.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01436/2.864, allocations: 1.995 MB / 0.7291 GB, free: 30.55 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.211/3.076, allocations: 26.82 MB / 0.7553 GB, free: 29.66 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1408/3.216, allocations: 27.12 MB / 0.7817 GB, free: 27.79 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001249/3.218, allocations: 0.8892 MB / 0.7826 GB, free: 27.76 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006723/3.224, allocations: 1.239 MB / 0.7838 GB, free: 27.73 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09123/3.316, allocations: 27.14 MB / 0.8103 GB, free: 22.27 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001063/3.317, allocations: 180.7 kB / 0.8105 GB, free: 22.24 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005122/3.322, allocations: 0.5526 MB / 0.811 GB, free: 22.24 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00534/3.327, allocations: 2.419 MB / 0.8134 GB, free: 22.2 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07516/3.403, allocations: 22.08 MB / 0.835 GB, free: 7.047 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.6477/4.05, allocations: 119.8 MB / 0.9519 GB, free: 25.13 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06279/4.113, allocations: 13.25 MB / 0.9649 GB, free: 24.43 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01631/4.13, allocations: 8.593 MB / 0.9733 GB, free: 24.38 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/4.131, allocations: 403.8 kB / 0.9736 GB, free: 24.09 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.668e-05/4.131, allocations: 94.72 kB / 0.9737 GB, free: 24.05 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=550): time 1.07e-05/4.131, allocations: 0 / 0.9737 GB, free: 24.05 MB / 0.5262 GB Notification: Performance of matching and sorting (n=734): time 0.6313/4.762, allocations: 113 MB / 1.084 GB, free: 9.508 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003044/4.765, allocations: 2.354 MB / 1.086 GB, free: 6.973 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03001/4.795, allocations: 9.599 MB / 1.096 GB, free: 14.64 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.002724/4.798, allocations: 141.8 kB / 1.096 GB, free: 14.49 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.00997/4.808, allocations: 7.643 MB / 1.103 GB, free: 7.957 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.006638/4.815, allocations: 2.675 MB / 1.106 GB, free: 5.574 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004239/4.819, allocations: 285.5 kB / 1.106 GB, free: 5.297 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.00185/4.821, allocations: 0.909 MB / 1.107 GB, free: 4.547 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4772/5.298, allocations: 10.33 MB / 1.117 GB, free: 116.4 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04282/5.341, allocations: 15.97 MB / 1.133 GB, free: 107.8 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03849/5.38, allocations: 11.94 MB / 1.144 GB, free: 107.7 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004986/5.38, allocations: 68.72 kB / 1.144 GB, free: 107.7 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.2282/5.609, allocations: 44.88 MB / 1.188 GB, free: 106.8 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002227/5.609, allocations: 106.4 kB / 1.188 GB, free: 106.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.192/5.801, allocations: 33.45 MB / 1.221 GB, free: 102.7 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.157/5.958, allocations: 21.67 MB / 1.242 GB, free: 97.93 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0231/5.981, allocations: 3.166 MB / 1.245 GB, free: 95.3 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1818/6.163, allocations: 65.99 MB / 1.31 GB, free: 33.59 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02591/6.189, allocations: 1.316 MB / 1.311 GB, free: 32.31 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.4252/6.614, allocations: 0.7792 MB / 1.312 GB, free: 101.8 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.008882/6.623, allocations: 1.127 MB / 1.313 GB, free: 101.7 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005558/6.629, allocations: 1.095 MB / 1.314 GB, free: 101.7 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1453/6.774, allocations: 27.08 MB / 1.34 GB, free: 101.2 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1431/6.917, allocations: 24.37 MB / 1.364 GB, free: 100.7 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002185/6.917, allocations: 39.81 kB / 1.364 GB, free: 100.7 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002439/6.918, allocations: 34.36 kB / 1.364 GB, free: 100.7 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2296/7.147, allocations: 56.01 MB / 1.419 GB, free: 87.56 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001125/7.148, allocations: 5.375 kB / 1.419 GB, free: 87.56 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.012/7.16, allocations: 1.152 MB / 1.42 GB, free: 87.53 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06129/7.221, allocations: 11.48 MB / 1.431 GB, free: 85.32 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002641/7.224, allocations: 156.7 kB / 1.432 GB, free: 85.23 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1486/7.372, allocations: 54.51 MB / 1.485 GB, free: 43.09 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001929/7.374, allocations: 1.735 MB / 1.486 GB, free: 41.34 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5867/7.961, allocations: 38.77 MB / 1.524 GB, free: 91.02 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01272/7.974, allocations: 2.741 MB / 1.527 GB, free: 90.92 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006164/7.98, allocations: 143.1 kB / 1.527 GB, free: 90.92 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01739/7.997, allocations: 0.7437 MB / 1.528 GB, free: 90.92 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004377/8.002, allocations: 0.5065 MB / 1.528 GB, free: 90.91 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002569/8.004, allocations: 189.7 kB / 1.529 GB, free: 90.91 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.02049/8.025, allocations: 6.948 MB / 1.535 GB, free: 90.54 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.152e-06/8.025, allocations: 0 / 1.535 GB, free: 90.54 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.02559/8.051, allocations: 4.164 MB / 1.539 GB, free: 90.54 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.1302/8.181, allocations: 39.69 MB / 1.578 GB, free: 88.78 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.06792/8.249, allocations: 24.41 MB / 1.602 GB, free: 84.04 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/8.249, allocations: 4 kB / 1.602 GB, free: 84.03 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.03944/8.288, allocations: 12.23 MB / 1.614 GB, free: 79.09 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01613/8.305, allocations: 1.647 MB / 1.616 GB, free: 78.45 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1409/8.446, allocations: 37.51 MB / 1.652 GB, free: 58.77 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03281/8.478, allocations: 9.322 MB / 1.661 GB, free: 52.12 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01972/8.498, allocations: 6.912 MB / 1.668 GB, free: 45.72 MB / 0.5574 GB Notification: Performance of SimCode: time 1.794e-06/8.498, allocations: 0 / 1.668 GB, free: 45.72 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 10.78/19.28, allocations: 0.604 GB / 2.272 GB, free: 63.75 MB / 0.5887 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