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.263/2.263, allocations: 234.9 MB / 250.4 MB, free: 9.773 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005798/0.0005799, allocations: 12 kB / 314.4 MB, free: 9.727 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.346, allocations: 54.85 MB / 369.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.UniversalSpherical): time 0.159/0.5051, allocations: 104.8 MB / 474.1 MB, free: 3.723 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.08814/0.5933, allocations: 24.56 MB / 498.6 MB, free: 11.08 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02097/0.6143, allocations: 0.5493 MB / 499.2 MB, free: 10.53 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0181/0.6325, allocations: 5.517 MB / 0.4929 GB, free: 4.984 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3921/1.025, allocations: 14.38 MB / 0.5069 GB, free: 5.211 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01103/1.036, allocations: 2.088 MB / 0.5089 GB, free: 5.188 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0753/1.111, allocations: 28.4 MB / 0.5367 GB, free: 1.023 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04405/1.155, allocations: 22.55 MB / 0.5587 GB, free: 5.125 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006644/1.162, allocations: 2.884 MB / 0.5615 GB, free: 3.289 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008494/1.17, allocations: 4.031 MB / 0.5655 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002675/1.173, allocations: 492 kB / 0.5659 GB, free: 76 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006045/1.179, allocations: 1.643 MB / 0.5675 GB, free: 14.68 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008206/1.187, allocations: 5.152 MB / 0.5726 GB, free: 11.04 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004785/1.192, allocations: 2.648 MB / 0.5751 GB, free: 10.2 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02929/1.222, allocations: 20.68 MB / 0.5953 GB, free: 8.297 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.222, allocations: 0 / 0.5953 GB, free: 8.297 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.886e-06/1.222, allocations: 4 kB / 0.5953 GB, free: 8.293 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006965/1.222, allocations: 4 kB / 0.5953 GB, free: 8.289 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.05669/1.279, allocations: 14 MB / 0.609 GB, free: 11.56 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/1.279, allocations: 8.031 kB / 0.609 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009361/1.289, allocations: 2.567 MB / 0.6115 GB, free: 9.941 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.495/1.784, allocations: 22.38 MB / 0.6334 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02945/1.813, allocations: 9.469 MB / 0.6426 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009735/1.814, allocations: 0.8929 MB / 0.6435 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007067/1.821, allocations: 1.462 MB / 0.6449 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0921/1.913, allocations: 32.74 MB / 0.6769 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005914/1.914, allocations: 99.44 kB / 0.677 GB, free: 4.254 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004407/1.918, allocations: 0.5318 MB / 0.6775 GB, free: 4.117 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01007/1.928, allocations: 4.503 MB / 0.6819 GB, free: 0.4922 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6685/2.597, allocations: 27.64 MB / 0.7089 GB, free: 210.9 MB / 0.5418 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.1817/2.779, allocations: 113 MB / 0.8193 GB, free: 116.2 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05846/2.837, allocations: 13.24 MB / 0.8322 GB, free: 102.8 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06141/2.899, allocations: 31.3 MB / 0.8628 GB, free: 70.53 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.178e-05/2.899, allocations: 77.5 kB / 0.8629 GB, free: 70.44 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=427): time 8.526e-06/2.899, allocations: 0 / 0.8629 GB, free: 70.44 MB / 0.5418 GB Notification: Performance of matching and sorting (n=555): time 1.18/4.079, allocations: 119.7 MB / 0.9798 GB, free: 185 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05189/4.131, allocations: 24.22 MB / 1.003 GB, free: 164 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01978/4.151, allocations: 9.913 MB / 1.013 GB, free: 154.2 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 0.00188/4.153, allocations: 111.8 kB / 1.013 GB, free: 154 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.00628/4.159, allocations: 8.635 MB / 1.022 GB, free: 145.4 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.003912/4.163, allocations: 2.138 MB / 1.024 GB, free: 143.3 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002606/4.166, allocations: 317.6 kB / 1.024 GB, free: 143 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.001088/4.167, allocations: 0.9882 MB / 1.025 GB, free: 142 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02086/4.188, allocations: 9.659 MB / 1.034 GB, free: 132.3 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02585/4.213, allocations: 18.91 MB / 1.053 GB, free: 109.1 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02568/4.239, allocations: 13.12 MB / 1.066 GB, free: 95.98 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000233/4.239, allocations: 92 kB / 1.066 GB, free: 95.89 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2084) (initialization): time 0.1373/4.377, allocations: 38.32 MB / 1.103 GB, free: 57.44 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001764/4.377, allocations: 146 kB / 1.103 GB, free: 57.3 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.4724/4.849, allocations: 25.48 MB / 1.128 GB, free: 171.2 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1088/4.958, allocations: 12.86 MB / 1.141 GB, free: 171.1 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02529/4.984, allocations: 3.957 MB / 1.145 GB, free: 171.1 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1878/5.171, allocations: 56.39 MB / 1.2 GB, free: 137.7 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03813/5.21, allocations: 1.721 MB / 1.201 GB, free: 136 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004012/5.214, allocations: 0.9778 MB / 1.202 GB, free: 135 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1473 * 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 (1949): * Single equations (assignments): 1922 * 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.01697/5.231, allocations: 6.264 MB / 1.209 GB, free: 128.8 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00309/5.234, allocations: 0.873 MB / 1.209 GB, free: 128.4 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1127/5.347, allocations: 28.05 MB / 1.237 GB, free: 100.4 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1073/5.454, allocations: 26.21 MB / 1.262 GB, free: 74.14 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001024/5.454, allocations: 20 kB / 1.262 GB, free: 74.12 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001557/5.454, allocations: 27.89 kB / 1.262 GB, free: 74.09 MB / 0.5419 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.5713/6.025, allocations: 59.6 MB / 1.321 GB, free: 162.4 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001001/6.026, allocations: 0 / 1.321 GB, free: 162.4 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01095/6.037, allocations: 1.133 MB / 1.322 GB, free: 162.4 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08783/6.124, allocations: 14.26 MB / 1.336 GB, free: 162.3 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002178/6.127, allocations: 168.8 kB / 1.336 GB, free: 162.3 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1298/6.257, allocations: 62.68 MB / 1.397 GB, free: 132.5 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05415/6.311, allocations: 23.99 MB / 1.42 GB, free: 108 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1361/6.447, allocations: 39.54 MB / 1.459 GB, free: 68.73 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01001/6.457, allocations: 2.517 MB / 1.462 GB, free: 66.68 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005128/6.462, allocations: 124 kB / 1.462 GB, free: 66.55 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01561/6.478, allocations: 0.8696 MB / 1.462 GB, free: 65.68 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003497/6.481, allocations: 420.3 kB / 1.463 GB, free: 65.27 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001881/6.483, allocations: 171.8 kB / 1.463 GB, free: 65.11 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.01527/6.499, allocations: 6.208 MB / 1.469 GB, free: 58.95 MB / 0.5419 GB Notification: Performance of sort global known variables: time 7.12e-07/6.499, allocations: 4 kB / 1.469 GB, free: 58.94 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.02416/6.523, allocations: 4.386 MB / 1.473 GB, free: 54.56 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (436): * Single equations (assignments): 421 * 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.5249/7.048, allocations: 40.32 MB / 1.513 GB, free: 163.3 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.05874/7.107, allocations: 23.95 MB / 1.536 GB, free: 159.6 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.497e-05/7.107, allocations: 6.5 kB / 1.536 GB, free: 159.6 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0325/7.139, allocations: 11.36 MB / 1.547 GB, free: 154.5 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01247/7.152, allocations: 1.316 MB / 1.549 GB, free: 154 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1407/7.292, allocations: 74.54 MB / 1.621 GB, free: 90.26 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02334/7.316, allocations: 9.471 MB / 1.631 GB, free: 83.34 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01827/7.334, allocations: 6.74 MB / 1.637 GB, free: 77.15 MB / 0.5419 GB Notification: Performance of SimCode: time 1.654e-06/7.334, allocations: 1.75 kB / 1.637 GB, free: 77.15 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 11.22/18.56, allocations: 0.9419 GB / 2.579 GB, free: 170.8 MB / 0.5731 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