Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.MultiBody.Joints.UniversalSpherical") Notification: Performance of loadModel(ModelicaTest): time 2.236/2.236, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.9e-05/1.917e-05, allocations: 0 / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.276, allocations: 54.86 MB / 358 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4322/0.7082, allocations: 114.5 MB / 472.5 MB, free: 43.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.7084, allocations: 79 kB / 472.6 MB, free: 43.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.064/1.772, allocations: 223.6 MB / 0.6798 GB, free: 48.62 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.181e-06/1.772, allocations: 3.719 kB / 0.6798 GB, free: 48.62 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006571/1.773, allocations: 285.1 kB / 0.6801 GB, free: 48.62 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.06078/1.834, allocations: 14.49 MB / 0.6942 GB, free: 44.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/1.834, allocations: 7.438 kB / 0.6943 GB, free: 44.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05543/1.889, allocations: 10.51 MB / 0.7045 GB, free: 43.34 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04009/1.929, allocations: 13.99 MB / 0.7182 GB, free: 42.02 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006991/1.93, allocations: 480.9 kB / 0.7186 GB, free: 42.01 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005272/1.935, allocations: 0.8537 MB / 0.7195 GB, free: 42 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04278/1.978, allocations: 19.36 MB / 0.7384 GB, free: 41.79 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0629/2.041, allocations: 27.87 MB / 0.7656 GB, free: 21.21 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007165/2.042, allocations: 143.7 kB / 0.7657 GB, free: 21.14 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004644/2.046, allocations: 64 kB / 0.7658 GB, free: 21.08 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003873/2.05, allocations: 2.542 MB / 0.7683 GB, free: 18.95 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5161/2.566, allocations: 126.6 MB / 0.8919 GB, free: 41.09 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01307/2.58, allocations: 8.522 MB / 0.9002 GB, free: 40.43 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0101/2.59, allocations: 6.648 MB / 0.9067 GB, free: 40.38 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05699/2.647, allocations: 30.77 MB / 0.9368 GB, free: 32 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.176e-05/2.647, allocations: 86.5 kB / 0.9369 GB, free: 31.93 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=424): time 9.386e-06/2.647, allocations: 3.562 kB / 0.9369 GB, free: 31.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=554): time 0.3278/2.975, allocations: 96.87 MB / 1.031 GB, free: 8.559 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002435/2.975, allocations: 342.4 kB / 1.032 GB, free: 8.156 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01861/2.994, allocations: 7.4 MB / 1.039 GB, free: 1.891 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001315/2.995, allocations: 29.7 kB / 1.039 GB, free: 1.855 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.3308/3.326, allocations: 8.799 MB / 1.048 GB, free: 114.5 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.003332/3.329, allocations: 2.079 MB / 1.05 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002107/3.331, allocations: 1.531 kB / 1.05 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001552/3.333, allocations: 1.007 MB / 1.051 GB, free: 112.9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01648/3.349, allocations: 8.98 MB / 1.059 GB, free: 112.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02147/3.371, allocations: 18.42 MB / 1.077 GB, free: 100.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0221/3.393, allocations: 12.55 MB / 1.09 GB, free: 100.6 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003291/3.393, allocations: 96 kB / 1.09 GB, free: 100.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2136) (initialization): time 0.08744/3.481, allocations: 32.78 MB / 1.122 GB, free: 96.38 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002585/3.481, allocations: 150.8 kB / 1.122 GB, free: 96.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05789/3.539, allocations: 21.56 MB / 1.143 GB, free: 89.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04039/3.58, allocations: 9.267 MB / 1.152 GB, free: 87.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01741/3.597, allocations: 4.013 MB / 1.156 GB, free: 87.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0589/3.656, allocations: 43.18 MB / 1.198 GB, free: 53.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02051/3.676, allocations: 1.393 MB / 1.199 GB, free: 52.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004075/3.681, allocations: 1.002 MB / 1.2 GB, free: 51.96 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.006137/3.687, allocations: 0.9326 MB / 1.201 GB, free: 51.02 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002394/3.689, allocations: 0.8253 MB / 1.202 GB, free: 50.19 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07555/3.765, allocations: 26.97 MB / 1.229 GB, free: 30.57 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4133/4.178, allocations: 25.28 MB / 1.253 GB, free: 97.59 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.756e-05/4.178, allocations: 20.22 kB / 1.253 GB, free: 97.59 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000152/4.178, allocations: 30.02 kB / 1.253 GB, free: 97.59 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.1391/4.317, allocations: 55.51 MB / 1.307 GB, free: 90.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.544e-05/4.318, allocations: 3.781 kB / 1.307 GB, free: 90.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007427/4.325, allocations: 1.079 MB / 1.309 GB, free: 90.38 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05906/4.384, allocations: 13.94 MB / 1.322 GB, free: 88.24 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001551/4.386, allocations: 86.66 kB / 1.322 GB, free: 88.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08941/4.475, allocations: 56.09 MB / 1.377 GB, free: 58.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.03462/4.51, allocations: 21.78 MB / 1.398 GB, free: 36.66 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4543/4.964, allocations: 38.67 MB / 1.436 GB, free: 86.97 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007251/4.971, allocations: 2.409 MB / 1.438 GB, free: 86.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003099/4.975, allocations: 42.38 kB / 1.438 GB, free: 86.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01005/4.985, allocations: 0.7728 MB / 1.439 GB, free: 86.88 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002695/4.987, allocations: 416.7 kB / 1.44 GB, free: 86.87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001405/4.989, allocations: 176 kB / 1.44 GB, free: 86.87 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01213/5.001, allocations: 4.907 MB / 1.445 GB, free: 86.62 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.276e-06/5.001, allocations: 3.5 kB / 1.445 GB, free: 86.62 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02274/5.024, allocations: 4.118 MB / 1.449 GB, free: 86.62 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.001728/5.026, allocations: 196.2 kB / 1.449 GB, free: 86.54 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.04093/5.067, allocations: 22.46 MB / 1.471 GB, free: 85.12 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.109e-06/5.067, allocations: 0 / 1.471 GB, free: 85.12 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.02207/5.089, allocations: 10.87 MB / 1.481 GB, free: 83.75 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00736/5.096, allocations: 1.062 MB / 1.482 GB, free: 83.72 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.081/5.177, allocations: 32.42 MB / 1.514 GB, free: 75.85 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02303/5.2, allocations: 9.463 MB / 1.523 GB, free: 72.98 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005265/5.205, allocations: 0.7947 MB / 1.524 GB, free: 72.95 MB / 0.5417 GB Notification: Performance of SimCode: time 2.194e-06/5.205, allocations: 0 / 1.524 GB, free: 72.95 MB / 0.5417 GB Notification: Performance of Templates: time 2.671/7.876, allocations: 0.861 GB / 2.385 GB, free: 73.18 MB / 0.5886 GB