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.032/2.032, allocations: 209.3 MB / 224.8 MB, free: 288 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004373/0.0004374, allocations: 8 kB / 282.5 MB, free: 9.633 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2867, allocations: 48.7 MB / 331.2 MB, free: 6.488 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.0364/0.3231, allocations: 28.48 MB / 359.7 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01855/0.3417, allocations: 6.684 MB / 366.4 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006437/0.3482, allocations: 135.8 kB / 366.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004789/0.353, allocations: 1.408 MB / 367.9 MB, free: 9.742 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01439/0.3675, allocations: 3.717 MB / 371.6 MB, free: 6.016 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00242/0.3699, allocations: 395.9 kB / 372 MB, free: 5.629 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002594/0.3726, allocations: 0.9802 MB / 373 MB, free: 4.648 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007605/0.3802, allocations: 4.014 MB / 377 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.3813, allocations: 0.5332 MB / 377.5 MB, free: 52 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.3826, allocations: 0.7045 MB / 378.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002858/0.3829, allocations: 96 kB / 378.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001278/0.3842, allocations: 0.5032 MB / 378.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001143/0.3854, allocations: 0.9001 MB / 379.7 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006512/0.386, allocations: 0.5158 MB / 380.2 MB, free: 13.32 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005332/0.3914, allocations: 3.678 MB / 383.9 MB, free: 9.633 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.663e-06/0.3914, allocations: 4 kB / 383.9 MB, free: 9.629 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.254e-06/0.3914, allocations: 0 / 383.9 MB, free: 9.629 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.072e-05/0.3916, allocations: 0 / 383.9 MB, free: 9.629 MB / 314.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.005696/0.3973, allocations: 2.435 MB / 386.4 MB, free: 7.133 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3973, allocations: 12.03 kB / 386.4 MB, free: 7.121 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/0.3991, allocations: 360 kB / 386.7 MB, free: 6.766 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003049/0.4022, allocations: 1.227 MB / 388 MB, free: 5.492 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001984/0.4024, allocations: 172.5 kB / 388.1 MB, free: 5.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006805/0.4031, allocations: 227.9 kB / 388.3 MB, free: 5.094 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01573/0.4189, allocations: 6.117 MB / 394.5 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.431e-05/0.419, allocations: 11.88 kB / 394.5 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003248/0.4193, allocations: 103.9 kB / 394.6 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002075/0.4214, allocations: 0.9613 MB / 395.5 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01409/0.4355, allocations: 4.578 MB / 400.1 MB, free: 9.023 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03229/0.4679, allocations: 18.48 MB / 418.6 MB, free: 6.023 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005848/0.4738, allocations: 1.269 MB / 419.9 MB, free: 4.738 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002536/0.4763, allocations: 2.058 MB / 421.9 MB, free: 2.348 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.114e-05/0.4764, allocations: 51.02 kB / 422 MB, free: 2.289 MB / 346.7 MB Notification: Performance of pre-optimization done (n=66): time 3.625e-06/0.4764, allocations: 0 / 422 MB, free: 2.289 MB / 346.7 MB Notification: Performance of matching and sorting (n=110): time 0.03107/0.5075, allocations: 5.979 MB / 428 MB, free: 12.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.795e-05/0.5076, allocations: 94.11 kB / 428 MB, free: 12.17 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003383/0.511, allocations: 1.788 MB / 429.8 MB, free: 10.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001599/0.5112, allocations: 45.7 kB / 429.9 MB, free: 10.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001585/0.5128, allocations: 1.639 MB / 431.5 MB, free: 8.668 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005115/0.5134, allocations: 418.5 kB / 431.9 MB, free: 8.254 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.5135, allocations: 59.94 kB / 432 MB, free: 8.195 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003237/0.5139, allocations: 432.6 kB / 432.4 MB, free: 7.766 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/0.5157, allocations: 0.7824 MB / 433.2 MB, free: 6.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003304/0.5191, allocations: 2.332 MB / 435.5 MB, free: 3.887 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002904/0.522, allocations: 1.322 MB / 436.8 MB, free: 2.566 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.136e-05/0.5221, allocations: 16 kB / 436.9 MB, free: 2.551 MB / 362.7 MB Notification: Performance of matching and sorting (n=358) (initialization): time 0.007474/0.5296, allocations: 3.056 MB / 439.9 MB, free: 15.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.741e-05/0.5297, allocations: 29.09 kB / 439.9 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-05/0.5298, allocations: 56 kB / 440 MB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000117/0.5299, allocations: 80 kB / 440.1 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002921/0.5328, allocations: 0.6317 MB / 440.7 MB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001367/0.533, allocations: 111.6 kB / 440.8 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002285/0.5353, allocations: 132.1 kB / 440.9 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003642/0.5357, allocations: 156 kB / 441.1 MB, free: 14.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 246 * 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 (358): * Single equations (assignments): 358 * 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.002696/0.5384, allocations: 1.184 MB / 442.3 MB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004138/0.5388, allocations: 173.8 kB / 442.4 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00305/0.5419, allocations: 1.258 MB / 443.7 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/0.542, allocations: 12 kB / 443.7 MB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.542, allocations: 3.984 kB / 443.7 MB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.641e-05/0.542, allocations: 7.984 kB / 443.7 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0139/0.5559, allocations: 6.439 MB / 450.2 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.711e-05/0.556, allocations: 20 kB / 450.2 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000938/0.5569, allocations: 203.6 kB / 450.4 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.376e-05/0.557, allocations: 32.88 kB / 450.4 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.483e-05/0.5571, allocations: 44 kB / 450.5 MB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.316e-05/0.5572, allocations: 43.84 kB / 450.5 MB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-05/0.5572, allocations: 39.8 kB / 450.5 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002732/0.56, allocations: 1.66 MB / 452.2 MB, free: 2.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006099/0.5606, allocations: 274.8 kB / 452.5 MB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000255/0.5609, allocations: 43.98 kB / 452.5 MB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.5619, allocations: 43.98 kB / 452.6 MB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002157/0.5621, allocations: 131.5 kB / 452.7 MB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.5623, allocations: 52 kB / 452.7 MB, free: 1.926 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002431/0.5647, allocations: 1.204 MB / 453.9 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.094e-06/0.5647, allocations: 4 kB / 453.9 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003288/0.568, allocations: 496 kB / 454.4 MB, free: 248 kB / 378.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.0004078/0.5685, allocations: 190.7 kB / 454.6 MB, free: 48 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004163/0.5727, allocations: 1.811 MB / 456.4 MB, free: 14.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.956e-05/0.5727, allocations: 4 kB / 456.4 MB, free: 14.24 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.5739, allocations: 497.8 kB / 456.9 MB, free: 13.76 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.5755, allocations: 253.9 kB / 457.2 MB, free: 13.51 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01488/0.5904, allocations: 6.541 MB / 463.7 MB, free: 6.656 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004414/0.5949, allocations: 2.24 MB / 465.9 MB, free: 4.387 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005834/0.5955, allocations: 151.4 kB / 466.1 MB, free: 4.238 MB / 394.7 MB Notification: Performance of SimCode: time 1.844e-06/0.5955, allocations: 0 / 466.1 MB, free: 4.238 MB / 394.7 MB Notification: Performance of Templates: time 0.3315/0.927, allocations: 28.54 MB / 494.6 MB, free: 128.1 MB / 410.7 MB