Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.956/1.956, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005897/0.0005898, allocations: 12 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3494, allocations: 48.71 MB / 331.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1584/0.5078, allocations: 84.53 MB / 416.3 MB, free: 9.895 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.5081, allocations: 79.95 kB / 416.4 MB, free: 9.816 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08745/0.5956, allocations: 20.1 MB / 436.5 MB, free: 5.582 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.5956, allocations: 4 kB / 436.5 MB, free: 5.578 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.96e-05/0.5957, allocations: 27.98 kB / 436.6 MB, free: 5.551 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.004352/0.6001, allocations: 1.443 MB / 438 MB, free: 4.055 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.6002, allocations: 12.03 kB / 438 MB, free: 4.043 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001512/0.6017, allocations: 202.3 kB / 438.2 MB, free: 3.844 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001874/0.6036, allocations: 0.6972 MB / 438.9 MB, free: 3.105 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.033e-05/0.6037, allocations: 78.05 kB / 439 MB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002925/0.604, allocations: 107.9 kB / 439.1 MB, free: 2.922 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009257/0.6132, allocations: 2.669 MB / 441.8 MB, free: 80 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.478e-05/0.6134, allocations: 11.94 kB / 441.8 MB, free: 68 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001958/0.6136, allocations: 55.97 kB / 441.8 MB, free: 12 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004696/0.614, allocations: 201.8 kB / 442 MB, free: 15.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009223/0.6233, allocations: 2.408 MB / 444.4 MB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0137/0.637, allocations: 8.537 MB / 453 MB, free: 4.594 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006944/0.644, allocations: 1.003 MB / 454 MB, free: 3.578 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002228/0.6463, allocations: 1.739 MB / 455.7 MB, free: 1.562 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.6463, allocations: 34.59 kB / 455.7 MB, free: 1.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 3.025e-06/0.6464, allocations: 0 / 455.7 MB, free: 1.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.02058/0.6669, allocations: 3.025 MB / 458.8 MB, free: 14.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.6671, allocations: 59.91 kB / 458.8 MB, free: 14.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/0.6687, allocations: 0.8753 MB / 459.7 MB, free: 13.53 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.119e-05/0.6688, allocations: 37.7 kB / 459.7 MB, free: 13.49 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005588/0.6694, allocations: 0.6745 MB / 460.4 MB, free: 12.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/0.6696, allocations: 213.1 kB / 460.6 MB, free: 12.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-05/0.6697, allocations: 24 kB / 460.6 MB, free: 12.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.6699, allocations: 370.7 kB / 461 MB, free: 12.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009069/0.6708, allocations: 358.4 kB / 461.4 MB, free: 11.85 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001398/0.6723, allocations: 0.9615 MB / 462.3 MB, free: 10.59 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.6736, allocations: 0.5719 MB / 462.9 MB, free: 10.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-05/0.6736, allocations: 8 kB / 462.9 MB, free: 10.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003119/0.6768, allocations: 1.323 MB / 464.2 MB, free: 8.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/0.6768, allocations: 16 kB / 464.2 MB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.379e-05/0.6769, allocations: 23.94 kB / 464.3 MB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.52e-05/0.6769, allocations: 32.78 kB / 464.3 MB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002193/0.6791, allocations: 319.5 kB / 464.6 MB, free: 8.297 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.6804, allocations: 1.368 MB / 466 MB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.6815, allocations: 51.95 kB / 466 MB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.6816, allocations: 63.94 kB / 466.1 MB, free: 6.684 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.001062/0.6827, allocations: 0.4906 MB / 466.6 MB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.6829, allocations: 86.88 kB / 466.7 MB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003129/0.6832, allocations: 112.4 kB / 466.8 MB, free: 5.988 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.6832, allocations: 12.06 kB / 466.8 MB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.6832, allocations: 0 / 466.8 MB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.6832, allocations: 0 / 466.8 MB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005385/0.6886, allocations: 2.144 MB / 468.9 MB, free: 3.695 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-05/0.6887, allocations: 11.95 kB / 468.9 MB, free: 3.684 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.6897, allocations: 128.6 kB / 469.1 MB, free: 3.559 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.859e-05/0.6897, allocations: 12 kB / 469.1 MB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.971e-05/0.6898, allocations: 20 kB / 469.1 MB, free: 3.527 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.6909, allocations: 1.326 MB / 470.4 MB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.26e-05/0.6909, allocations: 11.94 kB / 470.4 MB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.6925, allocations: 0.8197 MB / 471.2 MB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004347/0.6929, allocations: 211.9 kB / 471.5 MB, free: 0.9062 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/0.6931, allocations: 12 kB / 471.5 MB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005702/0.6937, allocations: 31.92 kB / 471.5 MB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.6938, allocations: 51.84 kB / 471.5 MB, free: 0.8125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.56e-05/0.6939, allocations: 20 kB / 471.6 MB, free: 0.793 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001214/0.6951, allocations: 0.5771 MB / 472.1 MB, free: 224 kB / 394.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6951, allocations: 0 / 472.1 MB, free: 224 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.001335/0.6964, allocations: 219.9 kB / 472.4 MB, free: 4 kB / 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 () * 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.0002827/0.6967, allocations: 131.1 kB / 472.5 MB, free: 15.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002157/0.6989, allocations: 0.8552 MB / 473.3 MB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.6989, allocations: 0 / 473.3 MB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007915/0.6997, allocations: 277 kB / 473.6 MB, free: 14.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008506/0.7006, allocations: 115.4 kB / 473.7 MB, free: 14.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005493/0.7061, allocations: 2.583 MB / 476.3 MB, free: 11.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001376/0.7075, allocations: 1.229 MB / 477.5 MB, free: 10.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004065/0.708, allocations: 79.36 kB / 477.6 MB, free: 10.61 MB / 410.7 MB Notification: Performance of SimCode: time 1.674e-06/0.708, allocations: 4 kB / 477.6 MB, free: 10.61 MB / 410.7 MB Notification: Performance of Templates: time 0.3005/1.008, allocations: 15.65 MB / 493.3 MB, free: 120.7 MB / 410.7 MB