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.551/2.551, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006459/0.0006459, allocations: 12 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3832, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5109/0.8941, allocations: 107.2 MB / 476.6 MB, free: 39.49 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003539/0.8945, allocations: 77.03 kB / 476.6 MB, free: 39.49 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.624/2.518, allocations: 258.7 MB / 0.7181 GB, free: 56.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.348e-06/2.518, allocations: 4 kB / 0.7181 GB, free: 56.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.001902/2.52, allocations: 268.5 kB / 0.7184 GB, free: 56.85 MB / 490.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.09725/2.617, allocations: 15.27 MB / 0.7333 GB, free: 51.47 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/2.618, allocations: 7.812 kB / 0.7333 GB, free: 51.47 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01058/2.628, allocations: 1.997 MB / 0.7352 GB, free: 51.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1926/2.821, allocations: 26.79 MB / 0.7614 GB, free: 50.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09694/2.918, allocations: 27.23 MB / 0.788 GB, free: 40.62 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001154/2.919, allocations: 0.8894 MB / 0.7888 GB, free: 39.78 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006949/2.926, allocations: 1.235 MB / 0.7901 GB, free: 38.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09029/3.016, allocations: 27.36 MB / 0.8168 GB, free: 9.902 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001474/3.018, allocations: 188.8 kB / 0.817 GB, free: 9.773 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006273/3.024, allocations: 0.5402 MB / 0.8175 GB, free: 9.289 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005555/3.03, allocations: 2.421 MB / 0.8198 GB, free: 6.906 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08154/3.111, allocations: 22.41 MB / 0.8417 GB, free: 0.6133 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.646/3.757, allocations: 119.7 MB / 0.9587 GB, free: 42.43 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08083/3.838, allocations: 13.33 MB / 0.9717 GB, free: 38.57 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001191/3.84, allocations: 407 kB / 0.9721 GB, free: 38.27 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.785e-05/3.84, allocations: 101.5 kB / 0.9722 GB, free: 38.19 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=550): time 9.447e-06/3.84, allocations: 0 / 0.9722 GB, free: 38.19 MB / 0.5417 GB Notification: Performance of matching and sorting (n=734): time 1.337/5.176, allocations: 129.5 MB / 1.099 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002426/5.179, allocations: 2.383 MB / 1.101 GB, free: 101.8 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02827/5.207, allocations: 9.696 MB / 1.11 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002863/5.21, allocations: 144.2 kB / 1.111 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.007992/5.218, allocations: 7.638 MB / 1.118 GB, free: 97.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.005683/5.224, allocations: 2.674 MB / 1.121 GB, free: 96.08 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00387/5.228, allocations: 280.4 kB / 1.121 GB, free: 96.08 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.002462/5.23, allocations: 0.9098 MB / 1.122 GB, free: 95.74 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03097/5.261, allocations: 9.242 MB / 1.131 GB, free: 94.34 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02897/5.29, allocations: 16.14 MB / 1.147 GB, free: 81.87 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06178/5.352, allocations: 12.03 MB / 1.158 GB, free: 77.21 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004731/5.358, allocations: 65.66 kB / 1.158 GB, free: 77.21 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.2729/5.631, allocations: 45.18 MB / 1.202 GB, free: 57.56 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001783/5.631, allocations: 104 kB / 1.203 GB, free: 57.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1735/5.804, allocations: 33.66 MB / 1.235 GB, free: 32.69 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6568/6.461, allocations: 21.69 MB / 1.257 GB, free: 95.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02167/6.483, allocations: 3.172 MB / 1.26 GB, free: 95.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2589/6.742, allocations: 69.71 MB / 1.328 GB, free: 85.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02582/6.768, allocations: 1.316 MB / 1.329 GB, free: 85.06 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004809/6.773, allocations: 0.7765 MB / 1.33 GB, free: 84.95 MB / 0.5417 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.02034/6.793, allocations: 5.74 MB / 1.335 GB, free: 82.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004897/6.798, allocations: 1.093 MB / 1.337 GB, free: 82.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1041/6.902, allocations: 27.26 MB / 1.363 GB, free: 73.57 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.09477/6.997, allocations: 24.56 MB / 1.387 GB, free: 56.95 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002138/6.997, allocations: 40 kB / 1.387 GB, free: 56.91 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002686/6.997, allocations: 32.44 kB / 1.387 GB, free: 56.91 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2103/7.208, allocations: 56.22 MB / 1.442 GB, free: 7.695 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001406/7.208, allocations: 0 / 1.442 GB, free: 7.695 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01726/7.225, allocations: 1.153 MB / 1.443 GB, free: 6.586 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5353/7.761, allocations: 11.49 MB / 1.454 GB, free: 93.75 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002986/7.764, allocations: 158.9 kB / 1.455 GB, free: 93.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.162/7.926, allocations: 56.93 MB / 1.51 GB, free: 88.99 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002045/7.928, allocations: 1.767 MB / 1.512 GB, free: 87.47 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1273/8.055, allocations: 39.07 MB / 1.55 GB, free: 73.46 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01098/8.066, allocations: 2.74 MB / 1.553 GB, free: 72.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005528/8.072, allocations: 139.8 kB / 1.553 GB, free: 72.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01755/8.089, allocations: 0.7448 MB / 1.554 GB, free: 72.47 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004938/8.094, allocations: 0.4997 MB / 1.554 GB, free: 72.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00248/8.097, allocations: 195.8 kB / 1.554 GB, free: 72.36 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.02066/8.118, allocations: 7.05 MB / 1.561 GB, free: 70.07 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.322e-06/8.118, allocations: 0 / 1.561 GB, free: 70.07 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02557/8.143, allocations: 4.173 MB / 1.565 GB, free: 68.9 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.1218/8.265, allocations: 39.98 MB / 1.604 GB, free: 36.01 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.06468/8.33, allocations: 24.74 MB / 1.628 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/8.33, allocations: 4 kB / 1.628 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.03705/8.367, allocations: 12.39 MB / 1.641 GB, free: 4.531 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0159/8.383, allocations: 1.647 MB / 1.642 GB, free: 3.191 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.471/9.854, allocations: 339.1 MB / 1.973 GB, free: 163.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02451/9.878, allocations: 9.32 MB / 1.982 GB, free: 162.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01801/9.896, allocations: 6.915 MB / 1.989 GB, free: 157.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.422e-06/9.896, allocations: 0 / 1.989 GB, free: 157.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 10.75/20.64, allocations: 0.6032 GB / 2.592 GB, free: 173.5 MB / 0.6511 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