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 1.866/1.866, allocations: 209.2 MB / 224.8 MB, free: 296 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005954/0.0005955, allocations: 11.98 kB / 282.6 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3388, allocations: 48.71 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.UniversalSpherical): time 0.1596/0.4984, allocations: 104.8 MB / 436 MB, free: 5.504 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.06972/0.5682, allocations: 24.54 MB / 460.6 MB, free: 12.9 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02312/0.5914, allocations: 0.5416 MB / 461.1 MB, free: 12.36 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01912/0.6106, allocations: 5.513 MB / 466.6 MB, free: 6.816 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3769/0.9876, allocations: 14.38 MB / 481 MB, free: 5.34 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01121/0.9988, allocations: 2.1 MB / 483.1 MB, free: 5.312 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.07697/1.076, allocations: 28.41 MB / 0.4995 GB, free: 1.25 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04561/1.122, allocations: 22.49 MB / 0.5215 GB, free: 4.797 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007438/1.129, allocations: 2.887 MB / 0.5243 GB, free: 2.961 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009004/1.138, allocations: 4.021 MB / 0.5282 GB, free: 236 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003221/1.141, allocations: 496 kB / 0.5287 GB, free: 15.74 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006727/1.148, allocations: 1.634 MB / 0.5303 GB, free: 14.37 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008961/1.157, allocations: 5.14 MB / 0.5353 GB, free: 10.73 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005325/1.163, allocations: 2.649 MB / 0.5379 GB, free: 9.883 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0308/1.193, allocations: 20.66 MB / 0.5581 GB, free: 7.996 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.193, allocations: 0 / 0.5581 GB, free: 7.996 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.086e-06/1.193, allocations: 5.969 kB / 0.5581 GB, free: 7.992 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0007936/1.194, allocations: 0 / 0.5581 GB, free: 7.992 MB / 442.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.0591/1.253, allocations: 13.99 MB / 0.5718 GB, free: 11.27 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/1.253, allocations: 8.031 kB / 0.5718 GB, free: 11.26 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009831/1.263, allocations: 2.569 MB / 0.5743 GB, free: 9.648 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5214/1.785, allocations: 22.32 MB / 0.5961 GB, free: 4.355 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03161/1.816, allocations: 9.448 MB / 0.6053 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001141/1.818, allocations: 0.895 MB / 0.6062 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007895/1.825, allocations: 1.452 MB / 0.6076 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09997/1.926, allocations: 32.74 MB / 0.6395 GB, free: 4.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007361/1.926, allocations: 97.53 kB / 0.6396 GB, free: 4.039 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005148/1.931, allocations: 0.5429 MB / 0.6402 GB, free: 3.895 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01097/1.942, allocations: 4.488 MB / 0.6446 GB, free: 284 kB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6357/2.578, allocations: 27.65 MB / 0.6716 GB, free: 189 MB / 0.4949 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.1946/2.773, allocations: 112.9 MB / 0.7818 GB, free: 78.09 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06032/2.833, allocations: 13.25 MB / 0.7948 GB, free: 64.7 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06682/2.9, allocations: 31.22 MB / 0.8253 GB, free: 32.54 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.634e-05/2.9, allocations: 85.42 kB / 0.8253 GB, free: 32.45 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=427): time 9.298e-06/2.9, allocations: 0 / 0.8253 GB, free: 32.45 MB / 0.4949 GB Notification: Performance of matching and sorting (n=555): time 1.177/4.077, allocations: 119.7 MB / 0.9423 GB, free: 135.9 MB / 0.495 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05257/4.13, allocations: 24.23 MB / 0.9659 GB, free: 110.9 MB / 0.495 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01923/4.149, allocations: 9.911 MB / 0.9756 GB, free: 101 MB / 0.495 GB Notification: Performance of collectPreVariables (initialization): time 0.001804/4.151, allocations: 111.9 kB / 0.9757 GB, free: 100.9 MB / 0.495 GB Notification: Performance of collectInitialEqns (initialization): time 0.006229/4.157, allocations: 8.629 MB / 0.9841 GB, free: 92.32 MB / 0.495 GB Notification: Performance of collectInitialBindings (initialization): time 0.003811/4.161, allocations: 2.138 MB / 0.9862 GB, free: 90.2 MB / 0.495 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0025/4.164, allocations: 322.7 kB / 0.9865 GB, free: 89.89 MB / 0.495 GB Notification: Performance of setup shared object (initialization): time 0.00108/4.165, allocations: 0.9886 MB / 0.9875 GB, free: 88.89 MB / 0.495 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0212/4.186, allocations: 9.565 MB / 0.9968 GB, free: 79.32 MB / 0.495 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02653/4.212, allocations: 18.82 MB / 1.015 GB, free: 55.96 MB / 0.495 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02755/4.24, allocations: 13.02 MB / 1.028 GB, free: 42.9 MB / 0.495 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002867/4.24, allocations: 92 kB / 1.028 GB, free: 42.81 MB / 0.495 GB Notification: Performance of matching and sorting (n=2084) (initialization): time 0.4309/4.671, allocations: 35.55 MB / 1.063 GB, free: 152.6 MB / 0.495 GB Notification: Performance of prepare postOptimizeDAE: time 0.000216/4.672, allocations: 139.8 kB / 1.063 GB, free: 152.6 MB / 0.495 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08462/4.756, allocations: 22.7 MB / 1.085 GB, free: 145.2 MB / 0.495 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05794/4.814, allocations: 9.902 MB / 1.095 GB, free: 140.2 MB / 0.495 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02422/4.838, allocations: 3.957 MB / 1.099 GB, free: 136.2 MB / 0.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08612/4.925, allocations: 49.9 MB / 1.147 GB, free: 85.16 MB / 0.495 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02604/4.951, allocations: 1.718 MB / 1.149 GB, free: 83.48 MB / 0.495 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003672/4.954, allocations: 0.9742 MB / 1.15 GB, free: 82.51 MB / 0.495 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): 5 * Torn equation systems: 9 * 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: 2 {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: 3 {3 1,3 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0161/4.971, allocations: 6.264 MB / 1.156 GB, free: 76.31 MB / 0.495 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002561/4.973, allocations: 0.8661 MB / 1.157 GB, free: 75.91 MB / 0.495 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.113/5.086, allocations: 28.05 MB / 1.184 GB, free: 47.87 MB / 0.495 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4232/5.509, allocations: 26.21 MB / 1.21 GB, free: 143.8 MB / 0.495 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001004/5.51, allocations: 21.28 kB / 1.21 GB, free: 143.8 MB / 0.495 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001714/5.51, allocations: 26.75 kB / 1.21 GB, free: 143.8 MB / 0.495 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.1881/5.698, allocations: 59.59 MB / 1.268 GB, free: 126 MB / 0.495 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.33e-05/5.698, allocations: 0 / 1.268 GB, free: 126 MB / 0.495 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01079/5.709, allocations: 1.144 MB / 1.269 GB, free: 125.9 MB / 0.495 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08733/5.796, allocations: 14.26 MB / 1.283 GB, free: 119.6 MB / 0.495 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001875/5.798, allocations: 172.1 kB / 1.283 GB, free: 119.5 MB / 0.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.122/5.92, allocations: 62.68 MB / 1.345 GB, free: 60.35 MB / 0.495 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05206/5.972, allocations: 23.99 MB / 1.368 GB, free: 35.84 MB / 0.495 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4549/6.427, allocations: 39.53 MB / 1.407 GB, free: 138.8 MB / 0.495 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008833/6.436, allocations: 2.519 MB / 1.409 GB, free: 138.7 MB / 0.495 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003649/6.44, allocations: 124.1 kB / 1.409 GB, free: 138.7 MB / 0.495 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01407/6.454, allocations: 0.8657 MB / 1.41 GB, free: 138.7 MB / 0.495 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002532/6.456, allocations: 422.4 kB / 1.41 GB, free: 138.7 MB / 0.495 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009486/6.457, allocations: 176.5 kB / 1.411 GB, free: 138.7 MB / 0.495 GB Notification: Performance of sorting global known variables: time 0.01331/6.471, allocations: 6.208 MB / 1.417 GB, free: 136.9 MB / 0.495 GB Notification: Performance of sort global known variables: time 9.31e-07/6.471, allocations: 0 / 1.417 GB, free: 136.9 MB / 0.495 GB Notification: Performance of remove unused functions: time 0.02087/6.491, allocations: 4.33 MB / 1.421 GB, free: 136.5 MB / 0.495 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.132/6.624, allocations: 40.34 MB / 1.46 GB, free: 121 MB / 0.495 GB Notification: Performance of simCode: created initialization part: time 0.05086/6.674, allocations: 23.79 MB / 1.483 GB, free: 97.2 MB / 0.495 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/6.674, allocations: 0 / 1.483 GB, free: 97.2 MB / 0.495 GB Notification: Performance of simCode: created simulation system equations: time 0.02877/6.703, allocations: 11.36 MB / 1.495 GB, free: 85.73 MB / 0.495 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01027/6.714, allocations: 1.287 MB / 1.496 GB, free: 84.5 MB / 0.495 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4253/7.139, allocations: 74.52 MB / 1.569 GB, free: 150.9 MB / 0.495 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02163/7.161, allocations: 9.46 MB / 1.578 GB, free: 149.9 MB / 0.495 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01601/7.177, allocations: 6.736 MB / 1.584 GB, free: 149.9 MB / 0.495 GB Notification: Performance of SimCode: time 2.054e-06/7.177, allocations: 0 / 1.584 GB, free: 149.9 MB / 0.495 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 11.51/18.68, allocations: 0.939 GB / 2.523 GB, free: 166.7 MB / 0.5419 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