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.937/1.937, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.304e-05/3.328e-05, allocations: 7.984 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08576/0.08582, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3454/0.4313, allocations: 84.44 MB / 411 MB, free: 7.242 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/0.4316, allocations: 78.2 kB / 411.1 MB, free: 7.203 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07568/0.5073, allocations: 19.93 MB / 431 MB, free: 5.828 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.501e-06/0.5073, allocations: 4 kB / 431 MB, free: 5.824 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.877e-05/0.5074, allocations: 20 kB / 431 MB, free: 5.805 MB / 330.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.00316/0.5105, allocations: 1.372 MB / 432.4 MB, free: 4.453 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.5106, allocations: 8.031 kB / 432.4 MB, free: 4.445 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.5119, allocations: 198.3 kB / 432.6 MB, free: 4.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/0.5135, allocations: 0.7018 MB / 433.3 MB, free: 3.629 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-05/0.5136, allocations: 81.91 kB / 433.4 MB, free: 3.574 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002525/0.5139, allocations: 98.23 kB / 433.5 MB, free: 3.508 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007156/0.5211, allocations: 2.645 MB / 436.1 MB, free: 1.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.93e-05/0.5212, allocations: 7.938 kB / 436.1 MB, free: 1.332 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002007/0.5214, allocations: 45.16 kB / 436.2 MB, free: 1.312 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003749/0.5218, allocations: 209.8 kB / 436.4 MB, free: 1.141 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007052/0.5288, allocations: 2.373 MB / 438.7 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01274/0.5416, allocations: 8.541 MB / 447.3 MB, free: 7.969 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00503/0.5467, allocations: 1.006 MB / 448.3 MB, free: 7.105 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005261/0.5472, allocations: 250.5 kB / 448.5 MB, free: 6.945 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002072/0.5493, allocations: 1.732 MB / 450.3 MB, free: 5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/0.5494, allocations: 37.38 kB / 450.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of pre-optimization done (n=44): time 6.282e-06/0.5494, allocations: 4 kB / 450.3 MB, free: 4.953 MB / 346.7 MB Notification: Performance of matching and sorting (n=58): time 0.014/0.5634, allocations: 2.694 MB / 453 MB, free: 2.547 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.5635, allocations: 55.97 kB / 453 MB, free: 2.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.5649, allocations: 0.7722 MB / 453.8 MB, free: 1.879 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.608e-05/0.565, allocations: 37.27 kB / 453.9 MB, free: 1.844 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005309/0.5656, allocations: 0.6791 MB / 454.5 MB, free: 1.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.5658, allocations: 219.3 kB / 454.8 MB, free: 1.082 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.136e-05/0.5659, allocations: 23.06 kB / 454.8 MB, free: 1.078 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002123/0.5661, allocations: 366 kB / 455.1 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007149/0.5668, allocations: 357.4 kB / 455.5 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.5681, allocations: 0.9506 MB / 456.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.5692, allocations: 0.5626 MB / 457 MB, free: 14.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/0.5692, allocations: 4 kB / 457 MB, free: 14.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002723/0.5719, allocations: 1.304 MB / 458.3 MB, free: 13.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.071e-05/0.572, allocations: 23.92 kB / 458.3 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.989e-05/0.572, allocations: 20 kB / 458.3 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.618e-05/0.5721, allocations: 32.72 kB / 458.4 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/0.5736, allocations: 320.6 kB / 458.7 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/0.575, allocations: 1.369 MB / 460.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.5761, allocations: 62.66 kB / 460.1 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.5762, allocations: 65.38 kB / 460.2 MB, free: 12 MB / 362.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.0002867/0.5765, allocations: 204.2 kB / 460.4 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.5767, allocations: 82.97 kB / 460.5 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002499/0.577, allocations: 114.3 kB / 460.6 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.577, allocations: 8 kB / 460.6 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.667e-06/0.577, allocations: 0 / 460.6 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.577, allocations: 3.984 kB / 460.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004931/0.582, allocations: 2.147 MB / 462.7 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.825e-05/0.582, allocations: 11.95 kB / 462.7 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007136/0.5828, allocations: 128.6 kB / 462.9 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-05/0.5828, allocations: 11.98 kB / 462.9 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-05/0.5829, allocations: 20 kB / 462.9 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/0.5842, allocations: 1.337 MB / 464.2 MB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.098e-05/0.5842, allocations: 7.938 kB / 464.2 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.5859, allocations: 1.115 MB / 465.4 MB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004238/0.5863, allocations: 207.9 kB / 465.6 MB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.5864, allocations: 20 kB / 465.6 MB, free: 6.246 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004775/0.5869, allocations: 19.98 kB / 465.6 MB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.5871, allocations: 55.8 kB / 465.7 MB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.72e-05/0.5871, allocations: 24 kB / 465.7 MB, free: 6.148 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00111/0.5882, allocations: 0.5694 MB / 466.3 MB, free: 5.586 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.66e-07/0.5883, allocations: 0 / 466.3 MB, free: 5.586 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001507/0.5898, allocations: 212 kB / 466.5 MB, free: 5.379 MB / 362.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.0002439/0.59, allocations: 127 kB / 466.6 MB, free: 5.246 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002024/0.5921, allocations: 0.8476 MB / 467.4 MB, free: 4.402 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.736e-06/0.5921, allocations: 8 kB / 467.4 MB, free: 4.395 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007115/0.5928, allocations: 277.1 kB / 467.7 MB, free: 4.125 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008787/0.5937, allocations: 117.6 kB / 467.8 MB, free: 4.012 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004055/0.5978, allocations: 1.734 MB / 469.6 MB, free: 2.168 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001389/0.5992, allocations: 1.24 MB / 470.8 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003252/0.5996, allocations: 75.44 kB / 470.9 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of SimCode: time 5.248e-06/0.5996, allocations: 0 / 470.9 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of Templates: time 0.02837/0.628, allocations: 15.66 MB / 486.5 MB, free: 1.164 MB / 378.7 MB