Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.UniversalSpherical.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.Joints.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.202/2.202, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004504/0.0004504, allocations: 12 kB / 282.7 MB, free: 9.543 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3667, allocations: 48.69 MB / 331.4 MB, free: 6.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1992/0.5659, allocations: 108.4 MB / 439.7 MB, free: 1.969 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/0.5663, allocations: 75.97 kB / 439.8 MB, free: 1.895 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.462/2.028, allocations: 229.5 MB / 0.6537 GB, free: 30.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.685e-06/2.028, allocations: 1.688 kB / 0.6537 GB, free: 30.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007875/2.029, allocations: 285 kB / 0.6539 GB, free: 30.51 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: 4696 * Number of variables: 4696 Notification: Performance of Generate backend data structure: time 0.08635/2.115, allocations: 15.21 MB / 0.6688 GB, free: 25.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/2.115, allocations: 10.33 kB / 0.6688 GB, free: 25.79 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01433/2.13, allocations: 2.848 MB / 0.6716 GB, free: 25.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.077/2.207, allocations: 10.46 MB / 0.6818 GB, free: 24.74 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04986/2.257, allocations: 14.02 MB / 0.6955 GB, free: 23.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001399/2.258, allocations: 1.084 MB / 0.6965 GB, free: 23.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007913/2.266, allocations: 1.442 MB / 0.698 GB, free: 23.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1073/2.374, allocations: 32.99 MB / 0.7302 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001074/2.375, allocations: 138.4 kB / 0.7303 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007333/2.382, allocations: 0.657 MB / 0.7309 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005743/2.388, allocations: 2.553 MB / 0.7334 GB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09463/2.482, allocations: 27.69 MB / 0.7605 GB, free: 13.48 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6702/3.153, allocations: 131.4 MB / 0.8888 GB, free: 19.53 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06346/3.216, allocations: 13 MB / 0.9015 GB, free: 18.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07044/3.287, allocations: 30.98 MB / 0.9318 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.129e-05/3.287, allocations: 80.72 kB / 0.9318 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=424): time 8.175e-06/3.287, allocations: 3.156 kB / 0.9318 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=554): time 1.109/4.396, allocations: 126.9 MB / 1.056 GB, free: 96.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05293/4.449, allocations: 24.18 MB / 1.079 GB, free: 86.26 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0208/4.47, allocations: 8.337 MB / 1.088 GB, free: 83.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001755/4.472, allocations: 107.3 kB / 1.088 GB, free: 83.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007249/4.479, allocations: 8.663 MB / 1.096 GB, free: 76.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00437/4.483, allocations: 2.148 MB / 1.098 GB, free: 75.24 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002613/4.486, allocations: 316.5 kB / 1.098 GB, free: 74.99 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001217/4.487, allocations: 0.9899 MB / 1.099 GB, free: 74.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02184/4.509, allocations: 9.378 MB / 1.109 GB, free: 70.89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02842/4.538, allocations: 18.63 MB / 1.127 GB, free: 51.62 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02872/4.566, allocations: 12.87 MB / 1.139 GB, free: 40.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000339/4.567, allocations: 92 kB / 1.139 GB, free: 40.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2093) (initialization): time 0.5804/5.147, allocations: 35.72 MB / 1.174 GB, free: 80.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003157/5.148, allocations: 144.7 kB / 1.174 GB, free: 80.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08186/5.229, allocations: 21.83 MB / 1.196 GB, free: 79.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0538/5.283, allocations: 9.065 MB / 1.205 GB, free: 79.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0259/5.309, allocations: 3.982 MB / 1.209 GB, free: 79.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07989/5.389, allocations: 46.96 MB / 1.254 GB, free: 60.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02703/5.416, allocations: 1.705 MB / 1.256 GB, free: 60.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005113/5.421, allocations: 0.9806 MB / 1.257 GB, free: 60.36 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1485 * Number of states: 0 () * Number of discrete variables: 69 (init2.arrowColor[3],init2.arrowColor[2],init2.arrowColor[1],init.arrowColor[3],init.arrowColor[2],init.arrowColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],universalSpherical1.cylinderColor[3],universalSpherical1.cylinderColor[2],universalSpherical1.cylinderColor[1],universalSpherical1.sphereColor[3],universalSpherical1.sphereColor[2],universalSpherical1.sphereColor[1],universalSpherical1.rodColor[3],universalSpherical1.rodColor[2],universalSpherical1.rodColor[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],rs3.arrowColor[3],rs3.arrowColor[2],rs3.arrowColor[1],rs2.arrowColor[3],rs2.arrowColor[2],rs2.arrowColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],rs1.arrowColor[3],rs1.arrowColor[2],rs1.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (1967): * Single equations (assignments): 1940 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,93.8%) 8,(8,76.6%) 20,(1,100.0%) 3,(1,100.0%) 9,(4,87.5%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01934/5.441, allocations: 6.271 MB / 1.263 GB, free: 57.92 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003245/5.444, allocations: 0.8633 MB / 1.264 GB, free: 57.92 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1141/5.558, allocations: 27.63 MB / 1.291 GB, free: 49.76 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1081/5.666, allocations: 25.81 MB / 1.316 GB, free: 28.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001055/5.667, allocations: 20 kB / 1.316 GB, free: 28.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001864/5.667, allocations: 27.89 kB / 1.316 GB, free: 28.8 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 postOpt removeSimpleEquations (simulation): time 0.5997/6.266, allocations: 58.69 MB / 1.374 GB, free: 78.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001002/6.267, allocations: 2.281 kB / 1.374 GB, free: 78.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01069/6.277, allocations: 1.084 MB / 1.375 GB, free: 78.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.085/6.362, allocations: 14.02 MB / 1.388 GB, free: 78.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00215/6.365, allocations: 166.3 kB / 1.388 GB, free: 78.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1244/6.489, allocations: 61.82 MB / 1.449 GB, free: 57.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05324/6.542, allocations: 23.93 MB / 1.472 GB, free: 45.12 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.129/6.671, allocations: 39.48 MB / 1.511 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009095/6.68, allocations: 2.473 MB / 1.513 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004496/6.685, allocations: 130.4 kB / 1.513 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01547/6.701, allocations: 0.8602 MB / 1.514 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003799/6.704, allocations: 422.5 kB / 1.515 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002002/6.706, allocations: 171.8 kB / 1.515 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.02069/6.727, allocations: 5.771 MB / 1.52 GB, free: 3.883 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.927e-06/6.727, allocations: 0 / 1.52 GB, free: 3.883 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.4883/7.216, allocations: 4.282 MB / 1.525 GB, free: 93.54 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 30 ($STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[6],$STATESET3.x[5],$STATESET3.x[4],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[5],$STATESET2.x[4],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyBox1.body.w_a[1],bodyBox1.body.w_a[2],bodyBox1.body.w_a[3],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (435): * Single equations (assignments): 420 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(3,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {3,8} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 6,(4,87.5%) 6,(1,100.0%) 4,(4,93.8%) 8,(8,76.6%) 20,(7,93.9%) 12} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.1479/7.364, allocations: 40.55 MB / 1.564 GB, free: 91.37 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.08153/7.445, allocations: 23.1 MB / 1.587 GB, free: 90.21 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.625e-05/7.445, allocations: 0 / 1.587 GB, free: 90.21 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.04674/7.492, allocations: 11.22 MB / 1.598 GB, free: 85.98 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01328/7.505, allocations: 1.274 MB / 1.599 GB, free: 85.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.638/8.143, allocations: 297 MB / 1.889 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02883/8.172, allocations: 9.466 MB / 1.898 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01961/8.192, allocations: 6.731 MB / 1.905 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of SimCode: time 1.503e-06/8.192, allocations: 0 / 1.905 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 12.02/20.21, allocations: 0.9377 GB / 2.842 GB, free: 160.2 MB / 0.6042 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.UniversalSpherical_res.mat does not exist to compare? outputFormat=mat