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 1.985/1.985, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.447e-05/4.472e-05, allocations: 4 kB / 277.8 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1006, allocations: 48.7 MB / 326.5 MB, free: 14.49 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3627/0.4633, allocations: 92.4 MB / 418.9 MB, free: 15.37 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.4636, allocations: 76.02 kB / 419 MB, free: 15.33 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2013/0.6649, allocations: 54.54 MB / 473.6 MB, free: 15.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.366e-06/0.6649, allocations: 0 / 473.6 MB, free: 15.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.00014/0.6651, allocations: 52 kB / 473.6 MB, free: 15.83 MB / 378.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.007061/0.6722, allocations: 2.362 MB / 476 MB, free: 13.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.6722, allocations: 12.03 kB / 476 MB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003288/0.6755, allocations: 487.7 kB / 476.5 MB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004478/0.6801, allocations: 1.509 MB / 478 MB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002939/0.6804, allocations: 217.7 kB / 478.2 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001055/0.6815, allocations: 279.9 kB / 478.4 MB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01773/0.6992, allocations: 5.912 MB / 484.4 MB, free: 4.645 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001059/0.6993, allocations: 19.81 kB / 484.4 MB, free: 4.625 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006033/0.7, allocations: 128 kB / 484.5 MB, free: 4.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001113/0.7011, allocations: 484 kB / 485 MB, free: 4.023 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01402/0.7151, allocations: 4.497 MB / 489.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03497/0.7501, allocations: 19.87 MB / 0.4974 GB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005701/0.7559, allocations: 1.238 MB / 0.4986 GB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008293/0.7568, allocations: 375.3 kB / 0.499 GB, free: 9.453 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002508/0.7593, allocations: 2.073 MB / 0.501 GB, free: 7.047 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.912e-05/0.7594, allocations: 43.08 kB / 0.501 GB, free: 6.996 MB / 410.7 MB Notification: Performance of pre-optimization done (n=66): time 4.056e-06/0.7594, allocations: 4 kB / 0.501 GB, free: 6.992 MB / 410.7 MB Notification: Performance of matching and sorting (n=110): time 0.0272/0.7866, allocations: 5.37 MB / 0.5063 GB, free: 1.602 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.816e-05/0.7867, allocations: 90.11 kB / 0.5064 GB, free: 1.492 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003178/0.7899, allocations: 1.58 MB / 0.5079 GB, free: 15.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000172/0.7901, allocations: 49.7 kB / 0.508 GB, free: 15.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001583/0.7917, allocations: 1.639 MB / 0.5096 GB, free: 14.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005379/0.7923, allocations: 410.5 kB / 0.51 GB, free: 13.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.7925, allocations: 56 kB / 0.51 GB, free: 13.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003219/0.7928, allocations: 428.6 kB / 0.5104 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001722/0.7946, allocations: 0.7631 MB / 0.5112 GB, free: 12.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003359/0.7979, allocations: 2.298 MB / 0.5134 GB, free: 9.488 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002875/0.8009, allocations: 1.316 MB / 0.5147 GB, free: 8.176 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.103e-05/0.8009, allocations: 16 kB / 0.5147 GB, free: 8.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.007814/0.8088, allocations: 3.005 MB / 0.5176 GB, free: 5.145 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.357e-05/0.8089, allocations: 31.95 kB / 0.5177 GB, free: 5.113 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.511e-05/0.8089, allocations: 52 kB / 0.5177 GB, free: 5.062 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000126/0.8091, allocations: 87.98 kB / 0.5178 GB, free: 4.977 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002939/0.812, allocations: 0.6356 MB / 0.5184 GB, free: 4.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001309/0.8122, allocations: 111.6 kB / 0.5185 GB, free: 4.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002625/0.8148, allocations: 124 kB / 0.5186 GB, free: 4.109 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004436/0.8153, allocations: 160 kB / 0.5188 GB, free: 3.953 MB / 426.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 () * 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.0005779/0.8159, allocations: 330.8 kB / 0.5191 GB, free: 3.621 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003955/0.8163, allocations: 173.8 kB / 0.5193 GB, free: 3.449 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002795/0.8191, allocations: 1.242 MB / 0.5205 GB, free: 2.191 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/0.8192, allocations: 8 kB / 0.5205 GB, free: 2.184 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.8192, allocations: 3.938 kB / 0.5205 GB, free: 2.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/0.8192, allocations: 7.984 kB / 0.5205 GB, free: 2.172 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.244/1.063, allocations: 6.424 MB / 0.5268 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.993e-05/1.063, allocations: 19.59 kB / 0.5268 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009016/1.064, allocations: 212.4 kB / 0.527 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.273e-05/1.064, allocations: 28.06 kB / 0.527 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.361e-05/1.064, allocations: 41.62 kB / 0.5271 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.894e-05/1.064, allocations: 39.58 kB / 0.5271 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.253e-05/1.064, allocations: 31.09 kB / 0.5271 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002365/1.067, allocations: 3.161 MB / 0.5302 GB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005468/1.067, allocations: 274.6 kB / 0.5305 GB, free: 110 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002834/1.068, allocations: 48.47 kB / 0.5305 GB, free: 110 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/1.069, allocations: 39.58 kB / 0.5306 GB, free: 110 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/1.069, allocations: 134 kB / 0.5307 GB, free: 110 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/1.069, allocations: 55.34 kB / 0.5308 GB, free: 110 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00235/1.071, allocations: 1.178 MB / 0.5319 GB, free: 109.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.062e-06/1.071, allocations: 1.719 kB / 0.5319 GB, free: 109.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003425/1.075, allocations: 0.4943 MB / 0.5324 GB, free: 109.9 MB / 426.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 () * 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.0004555/1.075, allocations: 192 kB / 0.5326 GB, free: 109.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003733/1.079, allocations: 1.788 MB / 0.5343 GB, free: 109.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.141e-05/1.079, allocations: 6.531 kB / 0.5343 GB, free: 109.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009785/1.08, allocations: 477.5 kB / 0.5348 GB, free: 109.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/1.082, allocations: 247.3 kB / 0.535 GB, free: 109.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/1.092, allocations: 4.537 MB / 0.5394 GB, free: 108.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003519/1.096, allocations: 2.237 MB / 0.5416 GB, free: 107.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006064/1.096, allocations: 146 kB / 0.5418 GB, free: 107.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.742e-06/1.096, allocations: 0 / 0.5418 GB, free: 107.4 MB / 426.7 MB Notification: Performance of Templates: time 0.04719/1.143, allocations: 28.54 MB / 0.5696 GB, free: 105.4 MB / 426.7 MB