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 2.115/2.115, allocations: 209.3 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004397/0.0004399, allocations: 12 kB / 282.5 MB, free: 9.637 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2811, allocations: 48.71 MB / 331.2 MB, free: 6.469 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.01772/0.2989, allocations: 14.77 MB / 346 MB, free: 12.17 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01026/0.3092, allocations: 3.724 MB / 349.7 MB, free: 9.281 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003103/0.3124, allocations: 63.75 kB / 349.7 MB, free: 9.273 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002367/0.3148, allocations: 0.6927 MB / 350.4 MB, free: 8.762 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007391/0.3222, allocations: 1.916 MB / 352.4 MB, free: 7.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.3237, allocations: 247.5 kB / 352.6 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001467/0.3252, allocations: 499.4 kB / 353.1 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00213/0.3274, allocations: 1.052 MB / 354.1 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004739/0.3279, allocations: 243.2 kB / 354.4 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008207/0.3287, allocations: 0.4887 MB / 354.9 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001645/0.3289, allocations: 57.38 kB / 354.9 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009097/0.3298, allocations: 388.1 kB / 355.3 MB, free: 5.695 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005367/0.3304, allocations: 414.4 kB / 355.7 MB, free: 5.465 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002804/0.3307, allocations: 208.6 kB / 355.9 MB, free: 5.32 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001858/0.3326, allocations: 1.322 MB / 357.2 MB, free: 4.406 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.511e-06/0.3326, allocations: 0 / 357.2 MB, free: 4.406 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.36e-06/0.3326, allocations: 4 kB / 357.2 MB, free: 4.402 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.142e-05/0.3326, allocations: 0 / 357.2 MB, free: 4.402 MB / 282.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.003564/0.3362, allocations: 1.431 MB / 358.7 MB, free: 2.922 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3363, allocations: 8.031 kB / 358.7 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009934/0.3373, allocations: 170.3 kB / 358.8 MB, free: 2.746 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/0.3388, allocations: 0.6112 MB / 359.5 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.373e-05/0.3389, allocations: 57.97 kB / 359.5 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003216/0.3393, allocations: 83.95 kB / 359.6 MB, free: 1.957 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007405/0.3467, allocations: 2.699 MB / 362.3 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.683e-05/0.3468, allocations: 11.94 kB / 362.3 MB, free: 15.1 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/0.3469, allocations: 35.97 kB / 362.3 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006883/0.3476, allocations: 389.6 kB / 362.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00754/0.3552, allocations: 2.396 MB / 365.1 MB, free: 12.28 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01328/0.3685, allocations: 8.197 MB / 373.3 MB, free: 3.828 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004921/0.3735, allocations: 0.9834 MB / 374.3 MB, free: 2.832 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002113/0.3756, allocations: 1.734 MB / 376 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.3757, allocations: 35.28 kB / 376.1 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of pre-optimization done (n=44): time 6.282e-06/0.3757, allocations: 96 / 376.1 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of matching and sorting (n=58): time 0.01531/0.3911, allocations: 2.99 MB / 379.1 MB, free: 13.78 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.3912, allocations: 55.97 kB / 379.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.3927, allocations: 0.8754 MB / 380 MB, free: 12.83 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.503e-05/0.3928, allocations: 33.64 kB / 380 MB, free: 12.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006262/0.3935, allocations: 0.6862 MB / 380.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/0.3937, allocations: 209.2 kB / 380.9 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.709e-05/0.3938, allocations: 24 kB / 380.9 MB, free: 11.86 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002304/0.3941, allocations: 362.8 kB / 381.3 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007992/0.3949, allocations: 358.4 kB / 381.6 MB, free: 11.15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.3962, allocations: 0.9693 MB / 382.6 MB, free: 9.883 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.3974, allocations: 0.5641 MB / 383.2 MB, free: 9.316 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-05/0.3974, allocations: 12 kB / 383.2 MB, free: 9.305 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002949/0.4004, allocations: 1.323 MB / 384.5 MB, free: 7.977 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.998e-05/0.4005, allocations: 25.12 kB / 384.5 MB, free: 7.953 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.465e-05/0.4005, allocations: 23.95 kB / 384.5 MB, free: 7.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-05/0.4006, allocations: 32 kB / 384.6 MB, free: 7.898 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.4021, allocations: 311.5 kB / 384.9 MB, free: 7.594 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.4036, allocations: 1.368 MB / 386.3 MB, free: 6.094 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.4046, allocations: 51.98 kB / 386.3 MB, free: 6.043 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.4047, allocations: 60 kB / 386.4 MB, free: 5.984 MB / 314.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.001021/0.4058, allocations: 499.8 kB / 386.9 MB, free: 5.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/0.406, allocations: 86.88 kB / 386.9 MB, free: 5.395 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.4063, allocations: 116.3 kB / 387 MB, free: 5.277 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.4063, allocations: 8 kB / 387.1 MB, free: 5.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.086e-06/0.4063, allocations: 0 / 387.1 MB, free: 5.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.4063, allocations: 3.984 kB / 387.1 MB, free: 5.266 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00506/0.4114, allocations: 2.152 MB / 389.2 MB, free: 2.977 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.722e-05/0.4115, allocations: 15.97 kB / 389.2 MB, free: 2.961 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006874/0.4122, allocations: 123.8 kB / 389.3 MB, free: 2.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.837e-05/0.4122, allocations: 11.98 kB / 389.4 MB, free: 2.828 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.93e-05/0.4123, allocations: 16 kB / 389.4 MB, free: 2.812 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001305/0.4136, allocations: 1.333 MB / 390.7 MB, free: 1.352 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.559e-05/0.4136, allocations: 11.94 kB / 390.7 MB, free: 1.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.4151, allocations: 0.8336 MB / 391.6 MB, free: 416 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004181/0.4155, allocations: 204 kB / 391.8 MB, free: 192 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/0.4157, allocations: 20 kB / 391.8 MB, free: 172 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004687/0.4162, allocations: 16 kB / 391.8 MB, free: 156 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.752e-05/0.4163, allocations: 55.78 kB / 391.8 MB, free: 100 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-05/0.4163, allocations: 27.94 kB / 391.9 MB, free: 72 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001112/0.4175, allocations: 0.5732 MB / 392.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.94e-07/0.4175, allocations: 4 kB / 392.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00145/0.4189, allocations: 216 kB / 392.7 MB, free: 15.29 MB / 330.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.0002428/0.4192, allocations: 123 kB / 392.8 MB, free: 15.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00209/0.4213, allocations: 0.8501 MB / 393.6 MB, free: 14.31 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.046e-06/0.4214, allocations: 0 / 393.6 MB, free: 14.31 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007357/0.4221, allocations: 286.4 kB / 393.9 MB, free: 14.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008806/0.423, allocations: 111.7 kB / 394 MB, free: 13.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005192/0.4282, allocations: 2.607 MB / 396.6 MB, free: 11.21 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001443/0.4297, allocations: 1.229 MB / 397.9 MB, free: 9.957 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003404/0.4301, allocations: 75.44 kB / 397.9 MB, free: 9.883 MB / 330.7 MB Notification: Performance of SimCode: time 1.81e-06/0.4301, allocations: 0 / 397.9 MB, free: 9.883 MB / 330.7 MB Notification: Performance of Templates: time 0.02954/0.4596, allocations: 15.69 MB / 413.6 MB, free: 10.19 MB / 346.7 MB