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.278/2.278, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.966e-05/2.975e-05, allocations: 4 kB / 309.7 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3244, allocations: 54.85 MB / 364.5 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1389/0.4633, allocations: 90.96 MB / 455.5 MB, free: 5.492 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.4636, allocations: 75.97 kB / 455.6 MB, free: 5.418 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07776/0.5414, allocations: 19.96 MB / 475.5 MB, free: 1.359 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.172e-06/0.5414, allocations: 0 / 475.5 MB, free: 1.359 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.846e-05/0.5415, allocations: 20 kB / 475.6 MB, free: 1.34 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.003175/0.5447, allocations: 1.373 MB / 476.9 MB, free: 15.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.5448, allocations: 12.03 kB / 476.9 MB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/0.546, allocations: 202.3 kB / 477.1 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/0.5478, allocations: 0.688 MB / 477.8 MB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.828e-05/0.5479, allocations: 74.05 kB / 477.9 MB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002608/0.5482, allocations: 103.9 kB / 478 MB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00732/0.5555, allocations: 2.649 MB / 480.6 MB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.978e-05/0.5556, allocations: 7.938 kB / 480.7 MB, free: 11.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001812/0.5558, allocations: 51.92 kB / 480.7 MB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004026/0.5562, allocations: 201.8 kB / 480.9 MB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007234/0.5635, allocations: 2.385 MB / 483.3 MB, free: 9.336 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01258/0.5761, allocations: 8.527 MB / 491.8 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004886/0.581, allocations: 0.9991 MB / 492.8 MB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005344/0.5816, allocations: 248.8 kB / 493.1 MB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002101/0.5837, allocations: 1.739 MB / 494.8 MB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.5838, allocations: 38.56 kB / 494.8 MB, free: 13.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=44): time 3.964e-06/0.5838, allocations: 0 / 494.8 MB, free: 13.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=58): time 0.01429/0.5981, allocations: 2.695 MB / 497.5 MB, free: 10.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.5982, allocations: 67.95 kB / 497.6 MB, free: 10.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/0.5996, allocations: 0.7732 MB / 498.4 MB, free: 9.656 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.095e-05/0.5997, allocations: 29.7 kB / 498.4 MB, free: 9.621 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005744/0.6003, allocations: 0.6785 MB / 499.1 MB, free: 8.934 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002341/0.6006, allocations: 213.1 kB / 499.3 MB, free: 8.723 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.822e-05/0.6006, allocations: 24 kB / 499.3 MB, free: 8.699 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002181/0.6009, allocations: 366.8 kB / 499.7 MB, free: 8.332 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007439/0.6016, allocations: 346.5 kB / 0.4883 GB, free: 7.992 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.6029, allocations: 0.9569 MB / 0.4892 GB, free: 6.738 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.604, allocations: 0.5651 MB / 0.4898 GB, free: 6.172 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-05/0.6041, allocations: 8 kB / 0.4898 GB, free: 6.164 MB / 426.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002738/0.6068, allocations: 1.3 MB / 0.491 GB, free: 4.859 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.306e-05/0.6069, allocations: 22.02 kB / 0.4911 GB, free: 4.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.131e-05/0.6069, allocations: 24 kB / 0.4911 GB, free: 4.816 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.506e-05/0.607, allocations: 32 kB / 0.4911 GB, free: 4.785 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/0.6086, allocations: 315.5 kB / 0.4914 GB, free: 4.477 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/0.61, allocations: 1.376 MB / 0.4928 GB, free: 2.965 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009814/0.611, allocations: 51.91 kB / 0.4928 GB, free: 2.914 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.6112, allocations: 60 kB / 0.4929 GB, free: 2.855 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 () * 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.0003028/0.6115, allocations: 219.6 kB / 0.4931 GB, free: 2.633 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.6117, allocations: 86.86 kB / 0.4932 GB, free: 2.547 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/0.6119, allocations: 116.4 kB / 0.4933 GB, free: 2.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.574e-06/0.612, allocations: 8 kB / 0.4933 GB, free: 2.422 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.553e-06/0.612, allocations: 0 / 0.4933 GB, free: 2.422 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.612, allocations: 3.984 kB / 0.4933 GB, free: 2.418 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004869/0.6169, allocations: 2.137 MB / 0.4954 GB, free: 148 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/0.6169, allocations: 7.984 kB / 0.4954 GB, free: 140 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006971/0.6176, allocations: 123.8 kB / 0.4955 GB, free: 16 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.247e-05/0.6177, allocations: 12 kB / 0.4955 GB, free: 4 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.028e-05/0.6178, allocations: 16.05 kB / 0.4955 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/0.6191, allocations: 1.339 MB / 0.4968 GB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.235e-05/0.6191, allocations: 11.94 kB / 0.4968 GB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.6207, allocations: 1.127 MB / 0.4979 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004031/0.6212, allocations: 203.9 kB / 0.4981 GB, free: 12.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.6213, allocations: 23.98 kB / 0.4982 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004784/0.6218, allocations: 16 kB / 0.4982 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.6219, allocations: 55.78 kB / 0.4982 GB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.035e-05/0.622, allocations: 27.98 kB / 0.4983 GB, free: 12.78 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001075/0.6231, allocations: 0.5616 MB / 0.4988 GB, free: 12.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.19e-07/0.6231, allocations: 0 / 0.4988 GB, free: 12.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001376/0.6245, allocations: 216 kB / 0.499 GB, free: 12.02 MB / 442.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.0002456/0.6247, allocations: 140.8 kB / 0.4991 GB, free: 11.87 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001925/0.6267, allocations: 0.8437 MB / 0.5 GB, free: 11.03 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.572e-06/0.6267, allocations: 0 / 0.5 GB, free: 11.03 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006986/0.6274, allocations: 289.2 kB / 0.5002 GB, free: 10.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008385/0.6283, allocations: 111.2 kB / 0.5004 GB, free: 10.64 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00397/0.6323, allocations: 1.742 MB / 0.5021 GB, free: 8.785 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/0.6337, allocations: 1.24 MB / 0.5033 GB, free: 7.516 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003155/0.634, allocations: 67.44 kB / 0.5033 GB, free: 7.449 MB / 442.7 MB Notification: Performance of SimCode: time 5.544e-06/0.634, allocations: 0 / 0.5033 GB, free: 7.449 MB / 442.7 MB Notification: Performance of Templates: time 0.02776/0.6618, allocations: 15.66 MB / 0.5186 GB, free: 7.781 MB / 458.7 MB