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.SphericalSpherical.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.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.1_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical") Notification: Performance of loadModel(ModelicaTest): time 1.991/1.991, allocations: 209.3 MB / 224.9 MB, free: 188 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004423/0.0004426, allocations: 12 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2847, allocations: 48.7 MB / 331.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1277/0.4124, allocations: 84.53 MB / 415.8 MB, free: 9.879 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.4127, allocations: 75.97 kB / 415.9 MB, free: 9.805 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0765/0.4892, allocations: 19.94 MB / 435.8 MB, free: 5.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.026e-06/0.4892, allocations: 0 / 435.8 MB, free: 5.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.104e-05/0.4893, allocations: 20 kB / 435.8 MB, free: 5.711 MB / 362.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.00362/0.4929, allocations: 1.448 MB / 437.3 MB, free: 4.211 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.493, allocations: 8.031 kB / 437.3 MB, free: 4.203 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/0.4943, allocations: 206.3 kB / 437.5 MB, free: 4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.4961, allocations: 0.6971 MB / 438.2 MB, free: 3.262 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.16e-05/0.4962, allocations: 82.05 kB / 438.3 MB, free: 3.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002579/0.4965, allocations: 103.9 kB / 438.4 MB, free: 3.078 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007467/0.504, allocations: 2.68 MB / 441.1 MB, free: 228 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.005e-05/0.5041, allocations: 7.938 kB / 441.1 MB, free: 220 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001774/0.5043, allocations: 43.98 kB / 441.1 MB, free: 176 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003975/0.5047, allocations: 197.9 kB / 441.3 MB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007339/0.512, allocations: 2.416 MB / 443.7 MB, free: 13.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01322/0.5253, allocations: 8.54 MB / 452.3 MB, free: 4.758 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004923/0.5303, allocations: 1.002 MB / 453.3 MB, free: 3.746 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002116/0.5324, allocations: 1.739 MB / 455 MB, free: 1.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.5325, allocations: 30.56 kB / 455 MB, free: 1.691 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 4.252e-06/0.5325, allocations: 0 / 455 MB, free: 1.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.01548/0.548, allocations: 3.025 MB / 458.1 MB, free: 14.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.5481, allocations: 59.97 kB / 458.1 MB, free: 14.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/0.5497, allocations: 0.7887 MB / 458.9 MB, free: 13.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.177e-05/0.5498, allocations: 29.7 kB / 458.9 MB, free: 13.76 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006051/0.5504, allocations: 0.6784 MB / 459.6 MB, free: 13.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/0.5507, allocations: 217 kB / 459.8 MB, free: 12.86 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.891e-05/0.5508, allocations: 24 kB / 459.8 MB, free: 12.83 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002252/0.551, allocations: 362.8 kB / 460.2 MB, free: 12.47 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007813/0.5518, allocations: 366.3 kB / 460.6 MB, free: 12.11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.5532, allocations: 0.9615 MB / 461.5 MB, free: 10.85 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.5543, allocations: 0.568 MB / 462.1 MB, free: 10.29 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.557e-05/0.5544, allocations: 8 kB / 462.1 MB, free: 10.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002868/0.5572, allocations: 1.327 MB / 463.4 MB, free: 8.941 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/0.5573, allocations: 12.94 kB / 463.4 MB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.388e-05/0.5574, allocations: 20 kB / 463.5 MB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.442e-05/0.5574, allocations: 36 kB / 463.5 MB, free: 8.875 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/0.5589, allocations: 311.5 kB / 463.8 MB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.5604, allocations: 1.372 MB / 465.2 MB, free: 7.066 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.5616, allocations: 56.23 kB / 465.2 MB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/0.5617, allocations: 64 kB / 465.3 MB, free: 6.949 MB / 394.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.00105/0.5628, allocations: 495.7 kB / 465.8 MB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002142/0.563, allocations: 82.88 kB / 465.8 MB, free: 6.371 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/0.5633, allocations: 116.4 kB / 466 MB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.5633, allocations: 8 kB / 466 MB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.955e-06/0.5634, allocations: 0 / 466 MB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.5634, allocations: 7.984 kB / 466 MB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005168/0.5686, allocations: 2.148 MB / 468.1 MB, free: 3.953 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.524e-05/0.5686, allocations: 8 kB / 468.1 MB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007252/0.5693, allocations: 127.8 kB / 468.3 MB, free: 3.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.046e-05/0.5694, allocations: 11.95 kB / 468.3 MB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-05/0.5694, allocations: 24.44 kB / 468.3 MB, free: 3.785 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/0.5708, allocations: 1.349 MB / 469.6 MB, free: 2.301 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.306e-05/0.5709, allocations: 16.19 kB / 469.7 MB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003334/0.5742, allocations: 1.117 MB / 470.8 MB, free: 0.9062 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000899/0.5752, allocations: 200 kB / 471 MB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002921/0.5755, allocations: 16 kB / 471 MB, free: 0.6758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.5767, allocations: 23.94 kB / 471 MB, free: 0.6523 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002327/0.5769, allocations: 63.72 kB / 471.1 MB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/0.5771, allocations: 20 kB / 471.1 MB, free: 0.5703 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002377/0.5795, allocations: 0.5771 MB / 471.7 MB, free: 0 / 394.7 MB Notification: Performance of sort global known variables: time 1.516e-06/0.5795, allocations: 48 / 471.7 MB, free: 16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003454/0.583, allocations: 220 kB / 471.9 MB, free: 15.78 MB / 410.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.0004433/0.5835, allocations: 123.9 kB / 472 MB, free: 15.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004274/0.5878, allocations: 0.8577 MB / 472.9 MB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/0.5879, allocations: 1.5 kB / 472.9 MB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001532/0.5894, allocations: 288.2 kB / 473.1 MB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/0.5913, allocations: 112.1 kB / 473.3 MB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.6019, allocations: 2.58 MB / 475.8 MB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002974/0.605, allocations: 1.24 MB / 477.1 MB, free: 10.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006835/0.6057, allocations: 71.44 kB / 477.1 MB, free: 10.38 MB / 410.7 MB Notification: Performance of SimCode: time 2.549e-06/0.6057, allocations: 0 / 477.1 MB, free: 10.38 MB / 410.7 MB Notification: Performance of Templates: time 0.3158/0.9215, allocations: 15.66 MB / 492.8 MB, free: 121.7 MB / 410.7 MB