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.SphericalSpherical.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sphericalSpherical.frame_b.r_0.1.|sphericalSpherical.frame_b.r_0.2.|sphericalSpherical.frame_b.r_0.3.|sphericalSpherical.frame_b.f.1.|sphericalSpherical.frame_b.f.2.|sphericalSpherical.frame_b.f.3.|sphericalSpherical.frame_b.t.1.|sphericalSpherical.frame_b.t.2.|sphericalSpherical.frame_b.t.3.|Prismatic1.frame_b.r_0.1.|Prismatic1.frame_b.r_0.2.|Prismatic1.frame_b.r_0.3.|Prismatic1.frame_b.f.1.|Prismatic1.frame_b.f.2.|Prismatic1.frame_b.f.3.|Prismatic1.frame_b.t.1.|Prismatic1.frame_b.t.2.|Prismatic1.frame_b.t.3.|Fixed1.frame_b.r_0.1.|Fixed1.frame_b.r_0.2.|Fixed1.frame_b.r_0.3.|Fixed1.frame_b.f.1.|Fixed1.frame_b.f.2.|Fixed1.frame_b.f.3.|Fixed1.frame_b.t.1.|Fixed1.frame_b.t.2.|Fixed1.frame_b.t.3.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical") Notification: Performance of loadModel(ModelicaTest): time 2.13/2.13, allocations: 234.9 MB / 250.5 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000435/0.0004351, allocations: 16 kB / 314.4 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2934, allocations: 54.85 MB / 369.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1521/0.4456, allocations: 91.05 MB / 460.3 MB, free: 1.582 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.4459, allocations: 83.88 kB / 460.4 MB, free: 1.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07564/0.5215, allocations: 19.95 MB / 480.3 MB, free: 13.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.673e-06/0.5216, allocations: 0 / 480.3 MB, free: 13.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.115e-05/0.5216, allocations: 27.92 kB / 480.4 MB, free: 13.39 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.003359/0.525, allocations: 1.451 MB / 481.8 MB, free: 11.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.5251, allocations: 15.97 kB / 481.8 MB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/0.5263, allocations: 198.3 kB / 482 MB, free: 11.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/0.528, allocations: 0.7011 MB / 482.7 MB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.062e-05/0.5281, allocations: 74.05 kB / 482.8 MB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002553/0.5284, allocations: 108 kB / 482.9 MB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007387/0.5358, allocations: 2.668 MB / 485.6 MB, free: 7.902 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.117e-05/0.5359, allocations: 11.84 kB / 485.6 MB, free: 7.891 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001796/0.5361, allocations: 47.98 kB / 485.6 MB, free: 7.844 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003629/0.5365, allocations: 205.8 kB / 485.8 MB, free: 7.645 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007141/0.5436, allocations: 2.404 MB / 488.2 MB, free: 5.238 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01256/0.5562, allocations: 8.532 MB / 496.8 MB, free: 12.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004929/0.5612, allocations: 1.007 MB / 497.8 MB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002073/0.5633, allocations: 1.738 MB / 499.5 MB, free: 9.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.5634, allocations: 35.28 kB / 499.6 MB, free: 9.367 MB / 426.7 MB Notification: Performance of pre-optimization done (n=44): time 3.683e-06/0.5634, allocations: 0 / 499.6 MB, free: 9.367 MB / 426.7 MB Notification: Performance of matching and sorting (n=58): time 0.01493/0.5783, allocations: 3.017 MB / 0.4908 GB, free: 6.336 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.5784, allocations: 55.97 kB / 0.4908 GB, free: 6.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/0.5798, allocations: 0.7886 MB / 0.4916 GB, free: 5.473 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.299e-05/0.5799, allocations: 37.7 kB / 0.4917 GB, free: 5.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005565/0.5805, allocations: 0.6668 MB / 0.4923 GB, free: 4.754 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/0.5807, allocations: 217 kB / 0.4925 GB, free: 4.539 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.514e-05/0.5808, allocations: 27.94 kB / 0.4925 GB, free: 4.512 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.581, allocations: 362.8 kB / 0.4929 GB, free: 4.148 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007595/0.5818, allocations: 362.4 kB / 0.4932 GB, free: 3.797 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.5831, allocations: 0.9615 MB / 0.4942 GB, free: 2.535 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.5842, allocations: 0.5681 MB / 0.4947 GB, free: 1.965 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.477e-05/0.5843, allocations: 8 kB / 0.4947 GB, free: 1.957 MB / 426.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002702/0.587, allocations: 1.323 MB / 0.496 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/0.587, allocations: 16 kB / 0.496 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.31e-05/0.5871, allocations: 23.95 kB / 0.4961 GB, free: 0.5898 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.511e-05/0.5871, allocations: 35.98 kB / 0.4961 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.5886, allocations: 320.1 kB / 0.4964 GB, free: 248 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2538/0.8424, allocations: 1.367 MB / 0.4977 GB, free: 116.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.8435, allocations: 50.36 kB / 0.4978 GB, free: 116.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/0.8436, allocations: 65.91 kB / 0.4978 GB, free: 116.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 24 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001033/0.8447, allocations: 496.3 kB / 0.4983 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.8449, allocations: 86.98 kB / 0.4984 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.8451, allocations: 115.6 kB / 0.4985 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.8451, allocations: 5.75 kB / 0.4985 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.8452, allocations: 0.5312 kB / 0.4985 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.8452, allocations: 8.672 kB / 0.4985 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004875/0.8501, allocations: 2.14 MB / 0.5006 GB, free: 116 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/0.8501, allocations: 5.906 kB / 0.5006 GB, free: 116 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006755/0.8508, allocations: 131.1 kB / 0.5007 GB, free: 116 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-05/0.8508, allocations: 12.02 kB / 0.5008 GB, free: 116 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.402e-05/0.8509, allocations: 13.62 kB / 0.5008 GB, free: 116 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008107/0.8517, allocations: 1.356 MB / 0.5021 GB, free: 114.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.198e-06/0.8517, allocations: 7.781 kB / 0.5021 GB, free: 114.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.8529, allocations: 1.125 MB / 0.5032 GB, free: 114 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003433/0.8533, allocations: 207.6 kB / 0.5034 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.8534, allocations: 19.42 kB / 0.5034 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004688/0.8539, allocations: 16.56 kB / 0.5034 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.084e-05/0.854, allocations: 55.05 kB / 0.5035 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.095e-05/0.8541, allocations: 19.38 kB / 0.5035 GB, free: 113.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008949/0.855, allocations: 0.5787 MB / 0.5041 GB, free: 113.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.298e-06/0.855, allocations: 0 / 0.5041 GB, free: 113.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001339/0.8563, allocations: 215.7 kB / 0.5043 GB, free: 113.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 0 () * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000202/0.8566, allocations: 134.1 kB / 0.5044 GB, free: 113.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001693/0.8583, allocations: 0.8599 MB / 0.5052 GB, free: 113.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.8583, allocations: 0 / 0.5052 GB, free: 113.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000618/0.8589, allocations: 279.3 kB / 0.5055 GB, free: 113.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008014/0.8598, allocations: 118.2 kB / 0.5056 GB, free: 113.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003959/0.8637, allocations: 2.581 MB / 0.5081 GB, free: 112.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009435/0.8647, allocations: 1.233 MB / 0.5093 GB, free: 111.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002882/0.865, allocations: 72.69 kB / 0.5094 GB, free: 111.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.514e-06/0.865, allocations: 0 / 0.5094 GB, free: 111.7 MB / 426.7 MB Notification: Performance of Templates: time 0.02211/0.8872, allocations: 15.67 MB / 0.5247 GB, free: 105.9 MB / 426.7 MB