Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.3.|bodyBox.v_0.1.|bodyBox.v_0.2.|bodyBox.v_0.3.|bodyBox1.body.Q.1.|bodyBox1.body.Q.2.|bodyBox1.body.Q.3.|bodyBox1.body.Q.4.|bodyBox1.body.w_a.1.|bodyBox1.body.w_a.2.|bodyBox1.body.w_a.3.|bodyBox2.body.Q.1.|bodyBox2.body.Q.2.|bodyBox2.body.Q.3.|bodyBox2.body.Q.4.|bodyBox2.body.frame_a.r_0.1.|bodyBox2.body.frame_a.r_0.2.|bodyBox2.body.frame_a.r_0.3.|bodyBox2.body.w_a.1.|bodyBox2.body.w_a.2.|bodyBox2.body.w_a.3.|bodyBox2.v_0.1.|bodyBox2.v_0.2.|bodyBox2.v_0.3.|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universalSpherical.rRod_0.1.|universalSpherical.rRod_0.2.|universalSpherical.rRod_0.3.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.UniversalSpherical") Notification: Performance of loadModel(ModelicaTest): time 1.94/1.94, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004312/0.0004314, allocations: 12 kB / 282.5 MB, free: 9.637 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2787, allocations: 48.71 MB / 331.2 MB, free: 6.488 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.UniversalSpherical): time 0.1488/0.4275, allocations: 104.8 MB / 436 MB, free: 5.551 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0643/0.4918, allocations: 24.54 MB / 460.5 MB, free: 12.94 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02312/0.515, allocations: 0.5416 MB / 461 MB, free: 12.4 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01761/0.5326, allocations: 5.509 MB / 466.5 MB, free: 6.863 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3243/0.857, allocations: 14.39 MB / 480.9 MB, free: 5.398 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009162/0.8662, allocations: 2.105 MB / 483 MB, free: 5.371 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.05286/0.9191, allocations: 28.4 MB / 0.4994 GB, free: 1.297 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04121/0.9604, allocations: 22.49 MB / 0.5214 GB, free: 4.844 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00637/0.9668, allocations: 2.89 MB / 0.5242 GB, free: 3.008 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007765/0.9746, allocations: 4.016 MB / 0.5282 GB, free: 284 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002748/0.9774, allocations: 492 kB / 0.5286 GB, free: 15.79 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00565/0.9831, allocations: 1.634 MB / 0.5302 GB, free: 14.42 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007763/0.9909, allocations: 5.148 MB / 0.5352 GB, free: 10.77 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004237/0.9951, allocations: 2.648 MB / 0.5378 GB, free: 9.93 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02924/1.024, allocations: 20.66 MB / 0.558 GB, free: 8.051 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.684e-06/1.024, allocations: 0 / 0.558 GB, free: 8.051 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.065e-06/1.025, allocations: 4 kB / 0.558 GB, free: 8.047 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005374/1.025, allocations: 0 / 0.558 GB, free: 8.047 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.04253/1.068, allocations: 13.99 MB / 0.5717 GB, free: 11.32 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/1.068, allocations: 12.03 kB / 0.5717 GB, free: 11.31 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2766/1.344, allocations: 22.31 MB / 0.5935 GB, free: 6.023 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02561/1.37, allocations: 9.438 MB / 0.6027 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001056/1.371, allocations: 0.8918 MB / 0.6036 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005673/1.377, allocations: 1.464 MB / 0.605 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08424/1.461, allocations: 32.7 MB / 0.6369 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006556/1.462, allocations: 104.9 kB / 0.637 GB, free: 5.734 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004005/1.466, allocations: 0.5359 MB / 0.6375 GB, free: 5.594 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008839/1.475, allocations: 4.487 MB / 0.6419 GB, free: 1.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5592/2.034, allocations: 27.61 MB / 0.6689 GB, free: 189.3 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.1606/2.195, allocations: 112.8 MB / 0.7791 GB, free: 80.91 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04457/2.239, allocations: 13.25 MB / 0.792 GB, free: 67.52 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05299/2.292, allocations: 31.21 MB / 0.8225 GB, free: 35.36 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.905e-05/2.292, allocations: 77.5 kB / 0.8225 GB, free: 35.27 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=427): time 9.305e-06/2.292, allocations: 0 / 0.8225 GB, free: 35.27 MB / 0.4949 GB Notification: Performance of matching and sorting (n=555): time 0.9638/3.256, allocations: 119.7 MB / 0.9395 GB, free: 138.7 MB / 0.495 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03946/3.296, allocations: 24.23 MB / 0.9631 GB, free: 113.7 MB / 0.495 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01724/3.313, allocations: 9.917 MB / 0.9728 GB, free: 103.9 MB / 0.495 GB Notification: Performance of collectPreVariables (initialization): time 0.001307/3.314, allocations: 104.4 kB / 0.9729 GB, free: 103.8 MB / 0.495 GB Notification: Performance of collectInitialEqns (initialization): time 0.005424/3.32, allocations: 8.618 MB / 0.9813 GB, free: 95.18 MB / 0.495 GB Notification: Performance of collectInitialBindings (initialization): time 0.003091/3.323, allocations: 2.143 MB / 0.9834 GB, free: 93.05 MB / 0.495 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00172/3.325, allocations: 317.6 kB / 0.9837 GB, free: 92.75 MB / 0.495 GB Notification: Performance of setup shared object (initialization): time 0.0009047/3.326, allocations: 0.9886 MB / 0.9847 GB, free: 91.75 MB / 0.495 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01689/3.342, allocations: 9.565 MB / 0.994 GB, free: 82.17 MB / 0.495 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02168/3.364, allocations: 18.82 MB / 1.012 GB, free: 58.82 MB / 0.495 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02214/3.386, allocations: 13.02 MB / 1.025 GB, free: 45.76 MB / 0.495 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002343/3.387, allocations: 92 kB / 1.025 GB, free: 45.67 MB / 0.495 GB Notification: Performance of matching and sorting (n=2084) (initialization): time 0.4035/3.79, allocations: 35.55 MB / 1.06 GB, free: 153.2 MB / 0.495 GB Notification: Performance of prepare postOptimizeDAE: time 0.00025/3.79, allocations: 143.7 kB / 1.06 GB, free: 153.2 MB / 0.495 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06201/3.852, allocations: 22.7 MB / 1.082 GB, free: 145.8 MB / 0.495 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04106/3.894, allocations: 9.904 MB / 1.092 GB, free: 141.9 MB / 0.495 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01685/3.91, allocations: 3.96 MB / 1.096 GB, free: 139.2 MB / 0.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06657/3.977, allocations: 49.92 MB / 1.144 GB, free: 88.13 MB / 0.495 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01958/3.997, allocations: 1.713 MB / 1.146 GB, free: 86.46 MB / 0.495 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003033/4, allocations: 0.9699 MB / 1.147 GB, free: 85.49 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.01353/4.013, allocations: 6.262 MB / 1.153 GB, free: 79.29 MB / 0.495 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002381/4.016, allocations: 0.8646 MB / 1.154 GB, free: 78.89 MB / 0.495 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07756/4.093, allocations: 28.05 MB / 1.181 GB, free: 50.81 MB / 0.495 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.07205/4.165, allocations: 26.22 MB / 1.207 GB, free: 24.52 MB / 0.495 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-05/4.165, allocations: 24 kB / 1.207 GB, free: 24.5 MB / 0.495 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001167/4.166, allocations: 31.84 kB / 1.207 GB, free: 24.46 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.422/4.588, allocations: 59.51 MB / 1.265 GB, free: 133.8 MB / 0.495 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.669e-05/4.588, allocations: 3.969 kB / 1.265 GB, free: 133.8 MB / 0.495 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007438/4.595, allocations: 1.135 MB / 1.266 GB, free: 133.7 MB / 0.495 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06135/4.657, allocations: 14.26 MB / 1.28 GB, free: 127.1 MB / 0.495 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001545/4.658, allocations: 169.6 kB / 1.28 GB, free: 127 MB / 0.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09367/4.752, allocations: 62.67 MB / 1.342 GB, free: 64.11 MB / 0.495 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.03879/4.791, allocations: 23.98 MB / 1.365 GB, free: 39.61 MB / 0.495 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3795/5.17, allocations: 39.53 MB / 1.404 GB, free: 138.2 MB / 0.495 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00735/5.178, allocations: 2.524 MB / 1.406 GB, free: 138.2 MB / 0.495 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002916/5.181, allocations: 121.9 kB / 1.406 GB, free: 138.2 MB / 0.495 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009828/5.19, allocations: 0.8674 MB / 1.407 GB, free: 138.2 MB / 0.495 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002555/5.193, allocations: 421.3 kB / 1.407 GB, free: 138.1 MB / 0.495 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001134/5.194, allocations: 173.8 kB / 1.408 GB, free: 138.1 MB / 0.495 GB Notification: Performance of sorting global known variables: time 0.01301/5.207, allocations: 6.211 MB / 1.414 GB, free: 136.4 MB / 0.495 GB Notification: Performance of sort global known variables: time 1.051e-06/5.207, allocations: 0 / 1.414 GB, free: 136.4 MB / 0.495 GB Notification: Performance of remove unused functions: time 0.02058/5.228, allocations: 4.331 MB / 1.418 GB, free: 136.1 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.001828/5.23, allocations: 291.3 kB / 1.418 GB, free: 135.9 MB / 0.495 GB Notification: Performance of simCode: created initialization part: time 0.04479/5.275, allocations: 23.78 MB / 1.441 GB, free: 126.2 MB / 0.495 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/5.275, allocations: 3.719 kB / 1.441 GB, free: 126.2 MB / 0.495 GB Notification: Performance of simCode: created simulation system equations: time 0.02418/5.299, allocations: 11.38 MB / 1.453 GB, free: 121.1 MB / 0.495 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008559/5.307, allocations: 1.282 MB / 1.454 GB, free: 120.6 MB / 0.495 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0753/5.383, allocations: 41.8 MB / 1.495 GB, free: 84.12 MB / 0.495 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02017/5.403, allocations: 9.455 MB / 1.504 GB, free: 75.81 MB / 0.495 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005496/5.408, allocations: 0.8193 MB / 1.505 GB, free: 75 MB / 0.495 GB Notification: Performance of SimCode: time 1.596e-06/5.409, allocations: 0 / 1.505 GB, free: 75 MB / 0.495 GB Notification: Performance of Templates: time 2.564/7.972, allocations: 0.8667 GB / 2.371 GB, free: 122.5 MB / 0.5106 GB