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.415/2.415, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004803/0.0004802, allocations: 16 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3524, allocations: 54.85 MB / 369.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6791/1.032, allocations: 115.2 MB / 484.6 MB, free: 42.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003788/1.032, allocations: 82.56 kB / 484.7 MB, free: 42.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.248/2.28, allocations: 229.8 MB / 0.6977 GB, free: 54.58 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.376e-06/2.28, allocations: 3.25 kB / 0.6978 GB, free: 54.58 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0008515/2.281, allocations: 282.2 kB / 0.698 GB, free: 54.57 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: 4698 * Number of variables: 4698 Notification: Performance of Generate backend data structure: time 0.08615/2.367, allocations: 15.21 MB / 0.7129 GB, free: 49.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/2.367, allocations: 9.406 kB / 0.7129 GB, free: 49.86 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01407/2.381, allocations: 2.853 MB / 0.7157 GB, free: 49.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07717/2.458, allocations: 10.5 MB / 0.7259 GB, free: 48.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05031/2.508, allocations: 14.05 MB / 0.7396 GB, free: 47.47 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001404/2.51, allocations: 1.086 MB / 0.7407 GB, free: 47.44 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008083/2.518, allocations: 1.45 MB / 0.7421 GB, free: 47.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1061/2.624, allocations: 33 MB / 0.7743 GB, free: 37.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001127/2.625, allocations: 141.6 kB / 0.7745 GB, free: 37.87 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007319/2.633, allocations: 0.6566 MB / 0.7751 GB, free: 37.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005513/2.638, allocations: 2.546 MB / 0.7776 GB, free: 37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08616/2.724, allocations: 27.3 MB / 0.8043 GB, free: 14.67 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7041/3.429, allocations: 131.4 MB / 0.9326 GB, free: 26.36 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06526/3.494, allocations: 13 MB / 0.9453 GB, free: 25.66 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06893/3.563, allocations: 31 MB / 0.9756 GB, free: 33.99 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.476e-05/3.563, allocations: 79.16 kB / 0.9756 GB, free: 33.95 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=424): time 8.286e-06/3.563, allocations: 0 / 0.9756 GB, free: 33.95 MB / 0.5573 GB Notification: Performance of matching and sorting (n=554): time 1.235/4.798, allocations: 126.9 MB / 1.1 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0571/4.855, allocations: 24.19 MB / 1.123 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0228/4.878, allocations: 8.337 MB / 1.131 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001876/4.88, allocations: 110.1 kB / 1.131 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.007828/4.888, allocations: 8.661 MB / 1.14 GB, free: 105.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00446/4.892, allocations: 2.142 MB / 1.142 GB, free: 104.3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003422/4.896, allocations: 320 kB / 1.142 GB, free: 104.3 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.002022/4.898, allocations: 0.992 MB / 1.143 GB, free: 104 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02267/4.92, allocations: 9.386 MB / 1.152 GB, free: 101.7 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03077/4.951, allocations: 18.65 MB / 1.171 GB, free: 85.85 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04003/4.991, allocations: 12.86 MB / 1.183 GB, free: 80.93 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004417/4.992, allocations: 92.97 kB / 1.183 GB, free: 80.93 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2093) (initialization): time 0.1279/5.12, allocations: 34.98 MB / 1.217 GB, free: 68.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002621/5.12, allocations: 146.8 kB / 1.218 GB, free: 68.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0881/5.208, allocations: 22.08 MB / 1.239 GB, free: 51.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1116/5.32, allocations: 9.327 MB / 1.248 GB, free: 45.05 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03484/5.355, allocations: 3.933 MB / 1.252 GB, free: 41.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.641/5.996, allocations: 48.41 MB / 1.299 GB, free: 93.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02723/6.023, allocations: 1.701 MB / 1.301 GB, free: 93.81 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004803/6.028, allocations: 0.9806 MB / 1.302 GB, free: 93.81 MB / 0.5573 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 (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.02028/6.048, allocations: 6.273 MB / 1.308 GB, free: 93.69 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003643/6.052, allocations: 0.8679 MB / 1.309 GB, free: 93.69 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1152/6.167, allocations: 27.62 MB / 1.336 GB, free: 88.85 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1083/6.275, allocations: 25.82 MB / 1.361 GB, free: 81.55 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001216/6.276, allocations: 21.14 kB / 1.361 GB, free: 81.55 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001945/6.276, allocations: 30.97 kB / 1.361 GB, free: 81.55 MB / 0.5573 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.1921/6.468, allocations: 58.68 MB / 1.419 GB, free: 53.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001023/6.468, allocations: 4 kB / 1.419 GB, free: 53.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01081/6.479, allocations: 1.087 MB / 1.42 GB, free: 52.05 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08413/6.563, allocations: 14.01 MB / 1.433 GB, free: 38.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001991/6.565, allocations: 167.8 kB / 1.433 GB, free: 37.94 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5507/7.116, allocations: 61.81 MB / 1.494 GB, free: 94.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05328/7.169, allocations: 23.93 MB / 1.517 GB, free: 87.58 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1357/7.305, allocations: 39.49 MB / 1.556 GB, free: 76.36 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009375/7.314, allocations: 2.471 MB / 1.558 GB, free: 75.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00455/7.319, allocations: 129.9 kB / 1.558 GB, free: 75.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01575/7.335, allocations: 0.8514 MB / 1.559 GB, free: 75.43 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003985/7.339, allocations: 426.3 kB / 1.56 GB, free: 75.38 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00218/7.341, allocations: 174.7 kB / 1.56 GB, free: 75.34 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01698/7.358, allocations: 5.77 MB / 1.565 GB, free: 73.42 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.093e-06/7.358, allocations: 2.812 kB / 1.565 GB, free: 73.42 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02622/7.384, allocations: 4.29 MB / 1.57 GB, free: 73.08 MB / 0.5573 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.1363/7.521, allocations: 40.55 MB / 1.609 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.05371/7.575, allocations: 23.5 MB / 1.632 GB, free: 32.98 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/7.575, allocations: 0 / 1.632 GB, free: 32.98 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.03082/7.605, allocations: 11.22 MB / 1.643 GB, free: 23.22 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01202/7.618, allocations: 1.28 MB / 1.644 GB, free: 22.19 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.07/8.687, allocations: 297 MB / 1.934 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02793/8.715, allocations: 9.474 MB / 1.944 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01949/8.735, allocations: 6.728 MB / 1.95 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of SimCode: time 2.375e-06/8.735, allocations: 0 / 1.95 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 12.25/20.98, allocations: 0.9387 GB / 2.889 GB, free: 125.5 MB / 0.6823 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