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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.336/2.336, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.588e-05/2.631e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3408, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5182/0.859, allocations: 114.5 MB / 472.6 MB, free: 43.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/0.8594, allocations: 79.27 kB / 472.7 MB, free: 43.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.245/2.104, allocations: 223.6 MB / 0.6799 GB, free: 48.56 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.611e-05/2.104, allocations: 0 / 0.6799 GB, free: 48.56 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0008607/2.105, allocations: 279.1 kB / 0.6802 GB, free: 48.55 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.08328/2.189, allocations: 14.5 MB / 0.6943 GB, free: 44.14 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/2.189, allocations: 11.03 kB / 0.6944 GB, free: 44.14 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07581/2.265, allocations: 10.51 MB / 0.7046 GB, free: 43.28 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05169/2.316, allocations: 13.99 MB / 0.7183 GB, free: 41.95 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009363/2.317, allocations: 476.5 kB / 0.7187 GB, free: 41.95 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00735/2.325, allocations: 0.8625 MB / 0.7196 GB, free: 41.93 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05214/2.377, allocations: 19.35 MB / 0.7385 GB, free: 41.68 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07915/2.456, allocations: 27.87 MB / 0.7657 GB, free: 21.08 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001084/2.457, allocations: 142 kB / 0.7658 GB, free: 21.01 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006595/2.464, allocations: 68 kB / 0.7659 GB, free: 20.94 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005604/2.47, allocations: 2.544 MB / 0.7684 GB, free: 18.81 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6283/3.098, allocations: 126.7 MB / 0.8921 GB, free: 40.83 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01583/3.114, allocations: 8.515 MB / 0.9004 GB, free: 40.17 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01254/3.126, allocations: 6.657 MB / 0.9069 GB, free: 40.12 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07109/3.197, allocations: 30.77 MB / 0.9369 GB, free: 31.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/3.198, allocations: 81.84 kB / 0.937 GB, free: 31.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=424): time 8.897e-06/3.198, allocations: 3.172 kB / 0.937 GB, free: 31.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=554): time 0.4449/3.643, allocations: 96.92 MB / 1.032 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002081/3.643, allocations: 342.4 kB / 1.032 GB, free: 8.16 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02122/3.664, allocations: 7.402 MB / 1.039 GB, free: 1.895 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001786/3.666, allocations: 29.7 kB / 1.039 GB, free: 1.859 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.3945/4.06, allocations: 8.799 MB / 1.048 GB, free: 114.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.004417/4.065, allocations: 2.082 MB / 1.05 GB, free: 113.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003331/4.068, allocations: 1.406 kB / 1.05 GB, free: 113.1 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.002241/4.071, allocations: 1.004 MB / 1.051 GB, free: 112.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0207/4.091, allocations: 8.981 MB / 1.06 GB, free: 112.7 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02673/4.118, allocations: 18.42 MB / 1.078 GB, free: 100.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02625/4.144, allocations: 12.55 MB / 1.09 GB, free: 100.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004623/4.145, allocations: 97.12 kB / 1.09 GB, free: 100.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2136) (initialization): time 0.1156/4.261, allocations: 32.78 MB / 1.122 GB, free: 96.17 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005362/4.261, allocations: 148.8 kB / 1.122 GB, free: 96.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0851/4.346, allocations: 21.56 MB / 1.143 GB, free: 89.36 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05607/4.402, allocations: 9.264 MB / 1.152 GB, free: 87.61 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0261/4.429, allocations: 4.017 MB / 1.156 GB, free: 87.16 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07165/4.5, allocations: 43.18 MB / 1.198 GB, free: 53.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02708/4.527, allocations: 1.392 MB / 1.2 GB, free: 52.79 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004694/4.532, allocations: 1.007 MB / 1.201 GB, free: 51.85 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1530 * 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 (2001): * Single equations (assignments): 1974 * 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.007303/4.54, allocations: 0.9258 MB / 1.202 GB, free: 50.92 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1345/4.674, allocations: 26.18 MB / 1.227 GB, free: 31.48 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004161/4.678, allocations: 0.8214 MB / 1.228 GB, free: 30.65 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5199/5.198, allocations: 27.05 MB / 1.254 GB, free: 97.76 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.104/5.302, allocations: 25.29 MB / 1.279 GB, free: 97.43 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.309e-05/5.303, allocations: 19.72 kB / 1.279 GB, free: 97.43 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001879/5.303, allocations: 23.91 kB / 1.279 GB, free: 97.43 MB / 0.5417 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.1814/5.484, allocations: 55.52 MB / 1.333 GB, free: 83.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.595e-05/5.484, allocations: 5.094 kB / 1.333 GB, free: 83.65 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01081/5.495, allocations: 1.083 MB / 1.334 GB, free: 83.62 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08482/5.58, allocations: 13.92 MB / 1.348 GB, free: 81.49 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001852/5.582, allocations: 94.94 kB / 1.348 GB, free: 81.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1077/5.69, allocations: 56.09 MB / 1.403 GB, free: 33.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.04803/5.738, allocations: 21.78 MB / 1.424 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5333/6.271, allocations: 38.68 MB / 1.462 GB, free: 89.76 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009167/6.28, allocations: 2.415 MB / 1.464 GB, free: 89.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003908/6.284, allocations: 35.52 kB / 1.464 GB, free: 89.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01526/6.3, allocations: 0.77 MB / 1.465 GB, free: 89.66 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003436/6.303, allocations: 421.9 kB / 1.465 GB, free: 89.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001577/6.305, allocations: 175.3 kB / 1.466 GB, free: 89.66 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01376/6.318, allocations: 4.911 MB / 1.47 GB, free: 89.41 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.032e-06/6.319, allocations: 0 / 1.47 GB, free: 89.41 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02554/6.344, allocations: 4.113 MB / 1.474 GB, free: 89.41 MB / 0.5417 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.1284/6.473, allocations: 39.69 MB / 1.513 GB, free: 83.91 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.04963/6.522, allocations: 22.45 MB / 1.535 GB, free: 75.27 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/6.522, allocations: 3.906 kB / 1.535 GB, free: 75.27 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.02896/6.551, allocations: 10.87 MB / 1.546 GB, free: 70.41 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01131/6.563, allocations: 1.061 MB / 1.547 GB, free: 70.04 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1251/6.688, allocations: 36.56 MB / 1.582 GB, free: 40.56 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02393/6.712, allocations: 9.457 MB / 1.592 GB, free: 33.74 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01916/6.731, allocations: 6.707 MB / 1.598 GB, free: 27.57 MB / 0.5417 GB Notification: Performance of SimCode: time 1.774e-06/6.731, allocations: 0 / 1.598 GB, free: 27.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 11.45/18.18, allocations: 0.9381 GB / 2.536 GB, free: 107.1 MB / 0.5886 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