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/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.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.216/2.216, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.439e-05/2.442e-05, allocations: 7.984 kB / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2729, allocations: 54.85 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.136/0.409, allocations: 90.29 MB / 448.3 MB, free: 4.516 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/0.4092, allocations: 75.95 kB / 448.4 MB, free: 4.441 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07686/0.4861, allocations: 19.54 MB / 467.9 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.921e-06/0.4861, allocations: 0 / 467.9 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.005e-05/0.4862, allocations: 20 kB / 468 MB, free: 0.7266 MB / 394.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.2829/0.7691, allocations: 1.365 MB / 469.3 MB, free: 92.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.7692, allocations: 9.5 kB / 469.3 MB, free: 92.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/0.7706, allocations: 205 kB / 469.5 MB, free: 92.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001968/0.7726, allocations: 0.6924 MB / 470.2 MB, free: 91.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.649e-05/0.7727, allocations: 33 kB / 470.3 MB, free: 91.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00026/0.773, allocations: 58.45 kB / 470.3 MB, free: 91.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003702/0.7767, allocations: 1.688 MB / 472 MB, free: 91.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003792/0.7805, allocations: 1.943 MB / 474 MB, free: 91.53 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.049e-05/0.7806, allocations: 12.34 kB / 474 MB, free: 91.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001463/0.7808, allocations: 6.703 kB / 474 MB, free: 91.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003696/0.7812, allocations: 207.8 kB / 474.2 MB, free: 91.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00916/0.7903, allocations: 7.457 MB / 481.6 MB, free: 87.28 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007242/0.7911, allocations: 405.6 kB / 482 MB, free: 87.12 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004031/0.7915, allocations: 241.6 kB / 482.3 MB, free: 87.03 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001531/0.7931, allocations: 1.737 MB / 484 MB, free: 85.54 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.7931, allocations: 42.09 kB / 484 MB, free: 85.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 4.253e-06/0.7931, allocations: 0 / 484 MB, free: 85.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=58): time 0.008621/0.8018, allocations: 2.001 MB / 486 MB, free: 84.95 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.8019, allocations: 62.5 kB / 486.1 MB, free: 84.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009383/0.8028, allocations: 0.6484 MB / 486.8 MB, free: 84.58 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.326e-05/0.8029, allocations: 25.7 kB / 486.8 MB, free: 84.55 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003442/0.8032, allocations: 0.7052 MB / 487.5 MB, free: 83.96 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.8034, allocations: 203 kB / 487.7 MB, free: 83.81 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-05/0.8035, allocations: 1.125 kB / 487.7 MB, free: 83.81 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.8036, allocations: 360.4 kB / 488 MB, free: 83.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006187/0.8042, allocations: 339.2 kB / 488.4 MB, free: 83.36 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008669/0.8051, allocations: 0.9465 MB / 489.3 MB, free: 82.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008707/0.806, allocations: 0.5381 MB / 489.8 MB, free: 82.24 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/0.806, allocations: 3.438 kB / 489.9 MB, free: 82.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002163/0.8082, allocations: 1.181 MB / 491 MB, free: 81.83 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.8082, allocations: 13 kB / 491 MB, free: 81.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/0.8083, allocations: 20.53 kB / 491.1 MB, free: 81.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.989e-05/0.8083, allocations: 33.84 kB / 491.1 MB, free: 81.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/0.8098, allocations: 328.3 kB / 491.4 MB, free: 81.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008705/0.8107, allocations: 1.321 MB / 492.7 MB, free: 80.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009592/0.8116, allocations: 27.53 kB / 492.8 MB, free: 80.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.8118, allocations: 64.97 kB / 492.8 MB, free: 80.48 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * 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.0002208/0.812, allocations: 175.5 kB / 493 MB, free: 80.33 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.8121, allocations: 76.45 kB / 493.1 MB, free: 80.29 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002117/0.8124, allocations: 111.5 kB / 493.2 MB, free: 80.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.899e-06/0.8124, allocations: 7.562 kB / 493.2 MB, free: 80.21 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.794e-06/0.8124, allocations: 3.953 kB / 493.2 MB, free: 80.21 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.959e-06/0.8124, allocations: 3.844 kB / 493.2 MB, free: 80.21 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003814/0.8162, allocations: 1.821 MB / 495 MB, free: 79.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.8163, allocations: 7.594 kB / 495 MB, free: 79.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007087/0.817, allocations: 131.4 kB / 495.2 MB, free: 79.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.545e-05/0.8171, allocations: 10.44 kB / 495.2 MB, free: 79.28 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/0.8171, allocations: 6.812 kB / 495.2 MB, free: 79.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007942/0.8179, allocations: 1.285 MB / 496.5 MB, free: 77.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-05/0.8179, allocations: 11.44 kB / 496.5 MB, free: 77.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.8191, allocations: 1.07 MB / 497.5 MB, free: 76.96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003044/0.8194, allocations: 205.7 kB / 497.7 MB, free: 76.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.8195, allocations: 6.75 kB / 497.7 MB, free: 76.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004688/0.82, allocations: 11.17 kB / 497.8 MB, free: 76.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.865e-05/0.8201, allocations: 49.39 kB / 497.8 MB, free: 76.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.8201, allocations: 25.69 kB / 497.8 MB, free: 76.78 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006372/0.8208, allocations: 457.4 kB / 498.3 MB, free: 76.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.84e-07/0.8208, allocations: 0 / 498.3 MB, free: 76.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001292/0.8221, allocations: 180 kB / 498.5 MB, free: 76.23 MB / 394.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 () * 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.0001876/0.8223, allocations: 118.6 kB / 498.6 MB, free: 76.11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001471/0.8238, allocations: 0.7862 MB / 499.4 MB, free: 75.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.023e-06/0.8238, allocations: 4.125 kB / 499.4 MB, free: 75.39 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005209/0.8244, allocations: 259.1 kB / 499.6 MB, free: 75.17 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006802/0.825, allocations: 86.09 kB / 499.7 MB, free: 75.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003315/0.8284, allocations: 1.695 MB / 0.4896 GB, free: 73.49 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.8294, allocations: 1.237 MB / 0.4909 GB, free: 72.42 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002789/0.8297, allocations: 70.23 kB / 0.4909 GB, free: 72.35 MB / 394.7 MB Notification: Performance of SimCode: time 1.705e-06/0.8298, allocations: 0 / 0.4909 GB, free: 72.35 MB / 394.7 MB Notification: Performance of Templates: time 0.02113/0.8509, allocations: 14.98 MB / 0.5055 GB, free: 59.22 MB / 394.7 MB