Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Joints,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_InitializationConversion_Joints",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.987/1.987, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.0004837, allocations: 12 kB / 282.7 MB, free: 9.559 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1075, allocations: 48.71 MB / 331.4 MB, free: 8.754 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6286/0.7361, allocations: 100.4 MB / 431.7 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004266/0.7366, allocations: 75.97 kB / 431.8 MB, free: 500 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.686/2.423, allocations: 258.2 MB / 0.6738 GB, free: 26.04 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.206e-06/2.423, allocations: 0 / 0.6738 GB, free: 26.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.00179/2.425, allocations: 266.9 kB / 0.6741 GB, free: 26.03 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.07974/2.505, allocations: 15.26 MB / 0.689 GB, free: 20.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/2.505, allocations: 17.62 kB / 0.689 GB, free: 20.74 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01423/2.519, allocations: 1.987 MB / 0.6909 GB, free: 20.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2029/2.722, allocations: 26.77 MB / 0.7171 GB, free: 19.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1141/2.836, allocations: 27.23 MB / 0.7436 GB, free: 17.67 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001569/2.838, allocations: 0.8845 MB / 0.7445 GB, free: 17.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008483/2.846, allocations: 1.231 MB / 0.7457 GB, free: 17.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09348/2.94, allocations: 27.34 MB / 0.7724 GB, free: 3.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001404/2.941, allocations: 181.9 kB / 0.7726 GB, free: 3.156 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00622/2.947, allocations: 0.5373 MB / 0.7731 GB, free: 2.672 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005692/2.953, allocations: 2.426 MB / 0.7755 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1194/3.073, allocations: 24.52 MB / 0.7994 GB, free: 2.047 MB / 442.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.62/3.693, allocations: 119.7 MB / 0.9163 GB, free: 27.31 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0655/3.758, allocations: 13.34 MB / 0.9293 GB, free: 26.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00126/3.759, allocations: 413.3 kB / 0.9297 GB, free: 26.31 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/3.76, allocations: 94.44 kB / 0.9298 GB, free: 26.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=550): time 1.032e-05/3.76, allocations: 3.219 kB / 0.9298 GB, free: 26.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=734): time 1.172/4.932, allocations: 129.9 MB / 1.057 GB, free: 92.61 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002633/4.934, allocations: 2.386 MB / 1.059 GB, free: 90.49 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02836/4.963, allocations: 9.697 MB / 1.068 GB, free: 89.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.00274/4.966, allocations: 139 kB / 1.069 GB, free: 89.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007948/4.974, allocations: 7.632 MB / 1.076 GB, free: 86.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.005796/4.979, allocations: 2.676 MB / 1.079 GB, free: 84.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003735/4.983, allocations: 282.6 kB / 1.079 GB, free: 84.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001536/4.985, allocations: 0.9126 MB / 1.08 GB, free: 84.24 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02325/5.008, allocations: 9.229 MB / 1.089 GB, free: 82.06 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02859/5.037, allocations: 16.12 MB / 1.105 GB, free: 69.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03034/5.067, allocations: 12.01 MB / 1.116 GB, free: 64.95 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002908/5.067, allocations: 64.91 kB / 1.116 GB, free: 64.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.2168/5.284, allocations: 44.5 MB / 1.16 GB, free: 40.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002106/5.285, allocations: 104.8 kB / 1.16 GB, free: 40.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.5969/5.881, allocations: 33.75 MB / 1.193 GB, free: 80.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1519/6.033, allocations: 20.89 MB / 1.213 GB, free: 80.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0219/6.055, allocations: 3.165 MB / 1.216 GB, free: 80.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1983/6.254, allocations: 68.74 MB / 1.283 GB, free: 69.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03404/6.288, allocations: 1.317 MB / 1.285 GB, free: 69.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00609/6.294, allocations: 0.7783 MB / 1.285 GB, free: 68.93 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.03632/6.33, allocations: 5.727 MB / 1.291 GB, free: 66.78 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006178/6.336, allocations: 1.092 MB / 1.292 GB, free: 66.78 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1144/6.451, allocations: 27.27 MB / 1.319 GB, free: 52.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.09776/6.549, allocations: 24.56 MB / 1.343 GB, free: 32.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001218/6.549, allocations: 43.95 kB / 1.343 GB, free: 32.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002096/6.549, allocations: 39.86 kB / 1.343 GB, free: 32.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7229/7.272, allocations: 56.18 MB / 1.398 GB, free: 81.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000139/7.272, allocations: 0 / 1.398 GB, free: 81.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01797/7.29, allocations: 1.156 MB / 1.399 GB, free: 81.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07144/7.362, allocations: 11.49 MB / 1.41 GB, free: 81.55 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003014/7.365, allocations: 158.1 kB / 1.41 GB, free: 81.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2482/7.613, allocations: 56.93 MB / 1.466 GB, free: 67.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002978/7.616, allocations: 1.764 MB / 1.468 GB, free: 66.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1305/7.747, allocations: 39.08 MB / 1.506 GB, free: 41.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01159/7.758, allocations: 2.736 MB / 1.508 GB, free: 39.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005981/7.764, allocations: 139.6 kB / 1.508 GB, free: 39.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01671/7.781, allocations: 0.7485 MB / 1.509 GB, free: 38.94 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004797/7.786, allocations: 0.4981 MB / 1.51 GB, free: 38.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002706/7.789, allocations: 192.9 kB / 1.51 GB, free: 38.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.02084/7.81, allocations: 7.058 MB / 1.517 GB, free: 32.72 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.252e-06/7.81, allocations: 0 / 1.517 GB, free: 32.72 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.02723/7.837, allocations: 4.153 MB / 1.521 GB, free: 28.58 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.5812/8.418, allocations: 40.41 MB / 1.56 GB, free: 80.37 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.07624/8.495, allocations: 24.71 MB / 1.584 GB, free: 79.21 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/8.495, allocations: 3.312 kB / 1.584 GB, free: 79.21 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0405/8.535, allocations: 12.39 MB / 1.597 GB, free: 78.27 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01725/8.552, allocations: 1.633 MB / 1.598 GB, free: 78.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.239/9.792, allocations: 338.1 MB / 1.928 GB, free: 21.68 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02921/9.821, allocations: 9.332 MB / 1.937 GB, free: 20.63 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02279/9.844, allocations: 6.895 MB / 1.944 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of SimCode: time 1.823e-06/9.844, allocations: 3.625 kB / 1.944 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 11.96/21.81, allocations: 0.6021 GB / 2.546 GB, free: 81.31 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.InitializationConversion.Joints_res.mat does not exist to compare? outputFormat=mat