Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.UniversalSpherical.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.Joints.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.301/2.301, allocations: 235 MB / 248.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.148e-05/3.161e-05, allocations: 4 kB / 309.8 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.393, allocations: 54.84 MB / 364.6 MB, free: 5.562 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2025/0.5956, allocations: 115.1 MB / 479.8 MB, free: 13.28 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/0.5959, allocations: 74.25 kB / 479.8 MB, free: 13.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.177/1.773, allocations: 230.1 MB / 0.6933 GB, free: 14.15 MB / 474.7 MB Notification: Performance of FrontEnd: time 5.099e-06/1.773, allocations: 0 / 0.6933 GB, free: 14.15 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001191/1.774, allocations: 279.9 kB / 0.6936 GB, free: 13.88 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4698 * Number of variables: 4698 Notification: Performance of Generate backend data structure: time 0.7943/2.568, allocations: 14.51 MB / 0.7077 GB, free: 35.54 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/2.568, allocations: 9.344 kB / 0.7078 GB, free: 35.54 MB / 474.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0141/2.583, allocations: 2.835 MB / 0.7105 GB, free: 35.36 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07982/2.662, allocations: 10.51 MB / 0.7208 GB, free: 34.49 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06394/2.726, allocations: 14 MB / 0.7345 GB, free: 33.97 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001745/2.728, allocations: 1.085 MB / 0.7355 GB, free: 33.94 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008662/2.737, allocations: 1.443 MB / 0.7369 GB, free: 33.93 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1107/2.848, allocations: 32.72 MB / 0.7689 GB, free: 27.87 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001097/2.849, allocations: 148.2 kB / 0.769 GB, free: 27.86 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006465/2.855, allocations: 0.655 MB / 0.7697 GB, free: 27.86 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005613/2.861, allocations: 2.54 MB / 0.7721 GB, free: 27.83 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1122/2.973, allocations: 26.92 MB / 0.7984 GB, free: 21.9 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.103/4.076, allocations: 131.4 MB / 0.9267 GB, free: 26.66 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06326/4.14, allocations: 12.89 MB / 0.9393 GB, free: 25.96 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01332/4.153, allocations: 6.79 MB / 0.946 GB, free: 25.91 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07254/4.226, allocations: 31.04 MB / 0.9763 GB, free: 18.66 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.206e-05/4.226, allocations: 81.62 kB / 0.9764 GB, free: 18.61 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=424): time 8.576e-06/4.226, allocations: 0 / 0.9764 GB, free: 18.61 MB / 0.5263 GB Notification: Performance of matching and sorting (n=554): time 0.5554/4.781, allocations: 107.4 MB / 1.081 GB, free: 7.273 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05828/4.84, allocations: 23.09 MB / 1.104 GB, free: 15.48 MB / 0.5888 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02486/4.865, allocations: 8.258 MB / 1.112 GB, free: 7.273 MB / 0.5888 GB Notification: Performance of collectPreVariables (initialization): time 0.001756/4.866, allocations: 112.1 kB / 1.112 GB, free: 7.16 MB / 0.5888 GB Notification: Performance of collectInitialEqns (initialization): time 0.01032/4.877, allocations: 8.657 MB / 1.12 GB, free: 14.5 MB / 0.6044 GB Notification: Performance of collectInitialBindings (initialization): time 0.005168/4.882, allocations: 2.142 MB / 1.122 GB, free: 12.37 MB / 0.6044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003358/4.885, allocations: 324.1 kB / 1.123 GB, free: 12.06 MB / 0.6044 GB Notification: Performance of setup shared object (initialization): time 0.001995/4.887, allocations: 0.9958 MB / 1.124 GB, free: 11.05 MB / 0.6044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02599/4.913, allocations: 9.231 MB / 1.133 GB, free: 1.816 MB / 0.6044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4937/5.407, allocations: 18.49 MB / 1.151 GB, free: 149.5 MB / 0.6044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03185/5.439, allocations: 12.8 MB / 1.163 GB, free: 149.4 MB / 0.6044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000417/5.44, allocations: 91.94 kB / 1.163 GB, free: 149.4 MB / 0.6044 GB Notification: Performance of matching and sorting (n=2093) (initialization): time 0.1171/5.557, allocations: 34.67 MB / 1.197 GB, free: 148 MB / 0.6044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002872/5.557, allocations: 141.8 kB / 1.197 GB, free: 148 MB / 0.6044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08148/5.639, allocations: 21.9 MB / 1.219 GB, free: 144.1 MB / 0.6044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05656/5.695, allocations: 9.323 MB / 1.228 GB, free: 142.4 MB / 0.6044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02637/5.722, allocations: 3.933 MB / 1.232 GB, free: 141.9 MB / 0.6044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08283/5.804, allocations: 47.07 MB / 1.278 GB, free: 115 MB / 0.6044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02843/5.833, allocations: 1.706 MB / 1.279 GB, free: 114.7 MB / 0.6044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004448/5.837, allocations: 0.9797 MB / 1.28 GB, free: 114.6 MB / 0.6044 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1958): * Single equations (assignments): 1931 * 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,4,4,4} * 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.007235/5.845, allocations: 1.294 MB / 1.282 GB, free: 113.6 MB / 0.6044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003099/5.848, allocations: 0.8701 MB / 1.282 GB, free: 113.1 MB / 0.6044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1135/5.961, allocations: 27.46 MB / 1.309 GB, free: 93.09 MB / 0.6044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1065/6.068, allocations: 25.62 MB / 1.334 GB, free: 72.76 MB / 0.6044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.713e-05/6.068, allocations: 25.92 kB / 1.334 GB, free: 72.74 MB / 0.6044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001635/6.068, allocations: 23.91 kB / 1.334 GB, free: 72.71 MB / 0.6044 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 postOpt removeSimpleEquations (simulation): time 0.618/6.686, allocations: 58.44 MB / 1.391 GB, free: 139.1 MB / 0.6044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000101/6.686, allocations: 3.812 kB / 1.391 GB, free: 139.1 MB / 0.6044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01082/6.697, allocations: 1.082 MB / 1.392 GB, free: 139.1 MB / 0.6044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08561/6.783, allocations: 14 MB / 1.406 GB, free: 139 MB / 0.6044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002306/6.785, allocations: 170.5 kB / 1.406 GB, free: 139 MB / 0.6044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1186/6.904, allocations: 59.16 MB / 1.464 GB, free: 120.5 MB / 0.6044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05114/6.955, allocations: 22.82 MB / 1.486 GB, free: 108.3 MB / 0.6044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.13/7.085, allocations: 39.2 MB / 1.525 GB, free: 89.82 MB / 0.6044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01004/7.095, allocations: 2.476 MB / 1.527 GB, free: 88.05 MB / 0.6044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004263/7.1, allocations: 123.3 kB / 1.527 GB, free: 87.93 MB / 0.6044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01587/7.115, allocations: 0.8574 MB / 1.528 GB, free: 87.45 MB / 0.6044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003493/7.119, allocations: 418.9 kB / 1.528 GB, free: 87.23 MB / 0.6044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001723/7.121, allocations: 181.1 kB / 1.529 GB, free: 87.1 MB / 0.6044 GB Notification: Performance of sorting global known variables: time 0.01578/7.137, allocations: 5.688 MB / 1.534 GB, free: 81.88 MB / 0.6044 GB Notification: Performance of sort global known variables: time 1.403e-06/7.137, allocations: 0 / 1.534 GB, free: 81.88 MB / 0.6044 GB Notification: Performance of remove unused functions: time 0.02534/7.162, allocations: 4.28 MB / 1.538 GB, free: 77.61 MB / 0.6044 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 () * 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.6338/7.796, allocations: 40.27 MB / 1.578 GB, free: 141.8 MB / 0.6044 GB Notification: Performance of simCode: created initialization part: time 0.05665/7.852, allocations: 23.2 MB / 1.6 GB, free: 140.3 MB / 0.6044 GB Notification: Performance of simCode: created event and clocks part: time 1.355e-05/7.853, allocations: 2.375 kB / 1.6 GB, free: 140.3 MB / 0.6044 GB Notification: Performance of simCode: created simulation system equations: time 0.03031/7.883, allocations: 11.09 MB / 1.611 GB, free: 138.9 MB / 0.6044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01177/7.895, allocations: 1.273 MB / 1.612 GB, free: 138.9 MB / 0.6044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1325/8.027, allocations: 37.37 MB / 1.649 GB, free: 133.2 MB / 0.6044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03446/8.062, allocations: 9.476 MB / 1.658 GB, free: 130.3 MB / 0.6044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02473/8.087, allocations: 6.727 MB / 1.665 GB, free: 124.8 MB / 0.6044 GB Notification: Performance of SimCode: time 1.994e-06/8.087, allocations: 0 / 1.665 GB, free: 124.8 MB / 0.6044 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 11.22/19.31, allocations: 0.9443 GB / 2.609 GB, free: 22.38 MB / 0.6044 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.UniversalSpherical_res.mat does not exist to compare? outputFormat=mat