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.JointSSP.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.JointSSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rRod1_ia.1.|rRod1_ia.2.|rRod1_ia.3.|rRod2_ib.1.|rRod2_ib.2.|rRod2_ib.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.|jointSSP.frame_b.r_0.1.|jointSSP.frame_b.r_0.2.|jointSSP.frame_b.r_0.3.|jointSSP.frame_b.f.1.|jointSSP.frame_b.f.2.|jointSSP.frame_b.f.3.|jointSSP.frame_b.t.1.|jointSSP.frame_b.t.2.|jointSSP.frame_b.t.3.|jointSSP.frame_im.r_0.1.|jointSSP.frame_im.r_0.1.|jointSSP.frame_im.r_0.2.|jointSSP.frame_im.r_0.2.|jointSSP.frame_im.r_0.3.|jointSSP.frame_im.r_0.3.|jointSSP.frame_im.f.1.|jointSSP.frame_im.f.1.|jointSSP.frame_im.f.2.|jointSSP.frame_im.f.2.|jointSSP.frame_im.f.3.|jointSSP.frame_im.f.3.|jointSSP.frame_im.t.1.|jointSSP.frame_im.t.1.|jointSSP.frame_im.t.2.|jointSSP.frame_im.t.2.|jointSSP.frame_im.t.3.|jointSSP.frame_im.t.3.|jointSSP.prismatic.frame_b.r_0.1.|jointSSP.prismatic.frame_b.r_0.2.|jointSSP.prismatic.frame_b.r_0.3.|jointSSP.prismatic.frame_b.f.1.|jointSSP.prismatic.frame_b.f.2.|jointSSP.prismatic.frame_b.f.3.|jointSSP.prismatic.frame_b.t.1.|jointSSP.prismatic.frame_b.t.2.|jointSSP.prismatic.frame_b.t.3.|jointSSP.rod1.frame_b.r_0.1.|jointSSP.rod1.frame_b.r_0.2.|jointSSP.rod1.frame_b.r_0.3.|jointSSP.rod1.frame_b.f.1.|jointSSP.rod1.frame_b.f.2.|jointSSP.rod1.frame_b.f.3.|jointSSP.rod1.frame_b.t.1.|jointSSP.rod1.frame_b.t.2.|jointSSP.rod1.frame_b.t.3.|jointSSP.rod2.frame_b.r_0.1.|jointSSP.rod2.frame_b.r_0.2.|jointSSP.rod2.frame_b.r_0.3.|jointSSP.rod2.frame_b.f.1.|jointSSP.rod2.frame_b.f.2.|jointSSP.rod2.frame_b.f.3.|jointSSP.rod2.frame_b.t.1.|jointSSP.rod2.frame_b.t.2.|jointSSP.rod2.frame_b.t.3.|jointSSP.relativePosition.frame_b.r_0.1.|jointSSP.relativePosition.frame_b.r_0.2.|jointSSP.relativePosition.frame_b.r_0.3.|jointSSP.relativePosition.frame_b.f.1.|jointSSP.relativePosition.frame_b.f.2.|jointSSP.relativePosition.frame_b.f.3.|jointSSP.relativePosition.frame_b.t.1.|jointSSP.relativePosition.frame_b.t.2.|jointSSP.relativePosition.frame_b.t.3.|jointSSP.relativePosition.relativePosition.frame_b.r_0.1.|jointSSP.relativePosition.relativePosition.frame_b.r_0.2.|jointSSP.relativePosition.relativePosition.frame_b.r_0.3.|jointSSP.relativePosition.relativePosition.frame_b.f.1.|jointSSP.relativePosition.relativePosition.frame_b.f.2.|jointSSP.relativePosition.relativePosition.frame_b.f.3.|jointSSP.relativePosition.relativePosition.frame_b.t.1.|jointSSP.relativePosition.relativePosition.frame_b.t.2.|jointSSP.relativePosition.relativePosition.frame_b.t.3.|jointSSP.position_b.1..y|jointSSP.position_b.2..y|jointSSP.position_b.3..y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.JointSSP") Notification: Performance of loadModel(ModelicaTest): time 2.01/2.01, allocations: 209.3 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004344/0.0004346, allocations: 12 kB / 282.6 MB, free: 9.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2896, allocations: 48.7 MB / 331.3 MB, free: 6.488 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1386/0.4283, allocations: 92.49 MB / 423.8 MB, free: 1.898 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.4286, allocations: 75.97 kB / 423.9 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4308/0.8594, allocations: 54.47 MB / 478.3 MB, free: 96.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.69e-06/0.8594, allocations: 0 / 478.3 MB, free: 96.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001396/0.8596, allocations: 56.81 kB / 478.4 MB, free: 96.5 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.007252/0.8669, allocations: 2.482 MB / 480.9 MB, free: 95.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.8669, allocations: 8.938 kB / 480.9 MB, free: 95.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003307/0.8702, allocations: 485.6 kB / 481.3 MB, free: 95.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004332/0.8746, allocations: 1.52 MB / 482.9 MB, free: 94.78 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002669/0.8749, allocations: 217.8 kB / 483.1 MB, free: 94.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001055/0.876, allocations: 283.4 kB / 483.4 MB, free: 94.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01713/0.8931, allocations: 5.984 MB / 489.3 MB, free: 93.89 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001094/0.8933, allocations: 14.03 kB / 489.4 MB, free: 93.89 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00064/0.894, allocations: 128.3 kB / 489.5 MB, free: 93.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009978/0.895, allocations: 484 kB / 490 MB, free: 93.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01411/0.9091, allocations: 4.575 MB / 494.5 MB, free: 93.86 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02761/0.9368, allocations: 19.87 MB / 0.5023 GB, free: 80.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005552/0.9423, allocations: 1.253 MB / 0.5036 GB, free: 80.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001618/0.944, allocations: 2.073 MB / 0.5056 GB, free: 78.36 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.9441, allocations: 46.39 kB / 0.5056 GB, free: 78.31 MB / 394.7 MB Notification: Performance of pre-optimization done (n=66): time 3.565e-06/0.9441, allocations: 0 / 0.5056 GB, free: 78.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=110): time 0.03487/0.979, allocations: 6.616 MB / 0.5121 GB, free: 76.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.979, allocations: 89.45 kB / 0.5122 GB, free: 76.42 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002638/0.9817, allocations: 1.599 MB / 0.5137 GB, free: 75.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001503/0.9819, allocations: 44.36 kB / 0.5138 GB, free: 75.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009021/0.9828, allocations: 1.637 MB / 0.5154 GB, free: 74.45 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003684/0.9832, allocations: 413.7 kB / 0.5158 GB, free: 74.15 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.9833, allocations: 58.03 kB / 0.5158 GB, free: 74.11 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.9835, allocations: 429.7 kB / 0.5162 GB, free: 73.74 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.9851, allocations: 0.7896 MB / 0.517 GB, free: 73.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002302/0.9874, allocations: 2.314 MB / 0.5193 GB, free: 71.06 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002375/0.9898, allocations: 1.324 MB / 0.5206 GB, free: 70.46 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-05/0.9898, allocations: 14.94 kB / 0.5206 GB, free: 70.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.005837/0.9957, allocations: 3.049 MB / 0.5236 GB, free: 68.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.163e-05/0.9958, allocations: 36.92 kB / 0.5236 GB, free: 68.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.443e-05/0.9959, allocations: 56 kB / 0.5236 GB, free: 68.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.75e-05/0.996, allocations: 80 kB / 0.5237 GB, free: 68.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002427/0.9984, allocations: 0.6476 MB / 0.5243 GB, free: 67.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.261e-05/0.9985, allocations: 110.2 kB / 0.5245 GB, free: 67.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00211/1.001, allocations: 123 kB / 0.5246 GB, free: 67.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000266/1.001, allocations: 163.6 kB / 0.5247 GB, free: 67.09 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 247 * Number of states: 0 () * Number of discrete variables: 31 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[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 (359): * Single equations (assignments): 359 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002052/1.003, allocations: 1.191 MB / 0.5259 GB, free: 66.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003241/1.003, allocations: 165.8 kB / 0.526 GB, free: 65.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003058/1.006, allocations: 1.268 MB / 0.5273 GB, free: 64.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/1.006, allocations: 12 kB / 0.5273 GB, free: 64.74 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.965e-06/1.006, allocations: 2.625 kB / 0.5273 GB, free: 64.74 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/1.006, allocations: 3.328 kB / 0.5273 GB, free: 64.74 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01582/1.022, allocations: 6.433 MB / 0.5336 GB, free: 58.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.636e-05/1.022, allocations: 20 kB / 0.5336 GB, free: 58.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007914/1.023, allocations: 204.4 kB / 0.5338 GB, free: 58.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.078e-05/1.023, allocations: 32.69 kB / 0.5338 GB, free: 58.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.946e-05/1.023, allocations: 51.09 kB / 0.5339 GB, free: 58.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.721e-05/1.023, allocations: 39.02 kB / 0.5339 GB, free: 58.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.998e-05/1.023, allocations: 31.88 kB / 0.5339 GB, free: 58.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002406/1.026, allocations: 3.183 MB / 0.5371 GB, free: 54.43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000475/1.026, allocations: 276.1 kB / 0.5373 GB, free: 54.15 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000247/1.027, allocations: 50.33 kB / 0.5374 GB, free: 54.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009627/1.028, allocations: 36 kB / 0.5374 GB, free: 54.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/1.028, allocations: 134.8 kB / 0.5375 GB, free: 53.97 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.007e-05/1.028, allocations: 56 kB / 0.5376 GB, free: 53.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001969/1.03, allocations: 1.193 MB / 0.5387 GB, free: 52.92 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.779e-06/1.03, allocations: 0 / 0.5387 GB, free: 52.92 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003054/1.033, allocations: 0.4921 MB / 0.5392 GB, free: 52.43 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * 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 (109): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003696/1.033, allocations: 207.9 kB / 0.5394 GB, free: 52.21 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003289/1.037, allocations: 1.82 MB / 0.5412 GB, free: 50.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/1.037, allocations: 5 kB / 0.5412 GB, free: 50.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001252/1.038, allocations: 490.9 kB / 0.5417 GB, free: 49.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002739/1.041, allocations: 249.1 kB / 0.5419 GB, free: 49.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/1.052, allocations: 6.522 MB / 0.5483 GB, free: 42.86 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003069/1.055, allocations: 2.242 MB / 0.5505 GB, free: 40.61 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005395/1.056, allocations: 143.4 kB / 0.5506 GB, free: 40.46 MB / 394.7 MB Notification: Performance of SimCode: time 1.704e-06/1.056, allocations: 0 / 0.5506 GB, free: 40.46 MB / 394.7 MB Notification: Performance of Templates: time 0.04193/1.098, allocations: 28.54 MB / 0.5785 GB, free: 12.26 MB / 394.7 MB