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.SphericalSpherical.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.389/2.389, allocations: 234.9 MB / 251.1 MB, free: 9.691 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004446/0.0004447, allocations: 12 kB / 314.9 MB, free: 9.742 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4275/0.428, allocations: 54.86 MB / 369.8 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1651/0.5931, allocations: 91.03 MB / 460.8 MB, free: 1.605 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/0.5935, allocations: 83.97 kB / 460.9 MB, free: 1.523 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1084/0.7019, allocations: 20.11 MB / 481 MB, free: 13.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.7019, allocations: 4 kB / 481 MB, free: 13.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.21e-05/0.702, allocations: 20 kB / 481.1 MB, free: 13.25 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.00529/0.7073, allocations: 1.458 MB / 482.5 MB, free: 11.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.7074, allocations: 8.031 kB / 482.5 MB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/0.7092, allocations: 206.3 kB / 482.7 MB, free: 11.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002305/0.7115, allocations: 0.6933 MB / 483.4 MB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.7117, allocations: 82.03 kB / 483.5 MB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004432/0.7121, allocations: 104 kB / 483.6 MB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01012/0.7223, allocations: 2.673 MB / 486.3 MB, free: 7.758 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.933e-05/0.7224, allocations: 15.78 kB / 486.3 MB, free: 7.742 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001953/0.7226, allocations: 47.97 kB / 486.3 MB, free: 7.695 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004794/0.7231, allocations: 209.8 kB / 486.5 MB, free: 7.488 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00971/0.7328, allocations: 2.4 MB / 488.9 MB, free: 5.086 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01565/0.7485, allocations: 8.54 MB / 497.5 MB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007055/0.7556, allocations: 1.003 MB / 498.5 MB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002352/0.758, allocations: 1.734 MB / 0.4885 GB, free: 9.258 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.7581, allocations: 39.28 kB / 0.4885 GB, free: 9.211 MB / 426.7 MB Notification: Performance of pre-optimization done (n=44): time 5.56e-06/0.7581, allocations: 3.984 kB / 0.4885 GB, free: 9.207 MB / 426.7 MB Notification: Performance of matching and sorting (n=58): time 0.02129/0.7794, allocations: 3.029 MB / 0.4915 GB, free: 6.164 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.7795, allocations: 55.97 kB / 0.4915 GB, free: 6.098 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/0.7813, allocations: 0.8753 MB / 0.4924 GB, free: 5.215 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.082e-05/0.7814, allocations: 33.7 kB / 0.4924 GB, free: 5.176 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006206/0.782, allocations: 0.6784 MB / 0.4931 GB, free: 4.488 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002673/0.7823, allocations: 213.1 kB / 0.4933 GB, free: 4.277 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.261e-05/0.7824, allocations: 20 kB / 0.4933 GB, free: 4.258 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.7826, allocations: 366.8 kB / 0.4937 GB, free: 3.891 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009389/0.7836, allocations: 362.4 kB / 0.494 GB, free: 3.535 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/0.7851, allocations: 0.9615 MB / 0.4949 GB, free: 2.277 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/0.7865, allocations: 0.5681 MB / 0.4955 GB, free: 1.707 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.547e-05/0.7865, allocations: 8 kB / 0.4955 GB, free: 1.699 MB / 426.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003186/0.7897, allocations: 1.326 MB / 0.4968 GB, free: 376 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/0.7898, allocations: 19.95 kB / 0.4968 GB, free: 356 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-05/0.7898, allocations: 20.84 kB / 0.4968 GB, free: 336 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.275e-05/0.7899, allocations: 32 kB / 0.4969 GB, free: 304 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3062/1.096, allocations: 319.4 kB / 0.4972 GB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/1.097, allocations: 1.354 MB / 0.4985 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/1.099, allocations: 51.34 kB / 0.4986 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/1.099, allocations: 64.47 kB / 0.4986 GB, free: 116.6 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.001255/1.1, allocations: 494.7 kB / 0.4991 GB, free: 116.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/1.1, allocations: 88.2 kB / 0.4992 GB, free: 116.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003272/1.101, allocations: 114.5 kB / 0.4993 GB, free: 116.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/1.101, allocations: 5.562 kB / 0.4993 GB, free: 116.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.101, allocations: 1.891 kB / 0.4993 GB, free: 116.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/1.101, allocations: 3.047 kB / 0.4993 GB, free: 116.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006087/1.107, allocations: 2.143 MB / 0.5014 GB, free: 116 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/1.107, allocations: 7.219 kB / 0.5014 GB, free: 116 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/1.108, allocations: 133.2 kB / 0.5015 GB, free: 116 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.57e-05/1.108, allocations: 10.17 kB / 0.5015 GB, free: 116 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.511e-05/1.108, allocations: 15.31 kB / 0.5015 GB, free: 116 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000866/1.109, allocations: 1.342 MB / 0.5028 GB, free: 114.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/1.109, allocations: 11.12 kB / 0.5029 GB, free: 114.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/1.11, allocations: 0.8157 MB / 0.5037 GB, free: 114.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00039/1.111, allocations: 209 kB / 0.5039 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/1.111, allocations: 21.53 kB / 0.5039 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005594/1.111, allocations: 13.25 kB / 0.5039 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.897e-05/1.111, allocations: 65.55 kB / 0.504 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/1.112, allocations: 20.91 kB / 0.504 GB, free: 114.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001071/1.113, allocations: 0.5771 MB / 0.5045 GB, free: 114.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.113, allocations: 0 / 0.5045 GB, free: 114.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001334/1.114, allocations: 216 kB / 0.5047 GB, free: 114.1 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.0002226/1.114, allocations: 133.5 kB / 0.5049 GB, free: 114 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002134/1.116, allocations: 0.8477 MB / 0.5057 GB, free: 114 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.116e-06/1.116, allocations: 1.969 kB / 0.5057 GB, free: 114 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007696/1.117, allocations: 280 kB / 0.506 GB, free: 114 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009425/1.118, allocations: 105.5 kB / 0.5061 GB, free: 114 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005026/1.123, allocations: 2.589 MB / 0.5086 GB, free: 112.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/1.124, allocations: 1.239 MB / 0.5098 GB, free: 112.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003922/1.125, allocations: 72.5 kB / 0.5099 GB, free: 112.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.082e-06/1.125, allocations: 0 / 0.5099 GB, free: 112.1 MB / 426.7 MB Notification: Performance of Templates: time 0.02906/1.154, allocations: 15.68 MB / 0.5252 GB, free: 106.3 MB / 426.7 MB