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.JointSSR.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.JointSSR,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.|jointSSR.frame_b.r_0.1.|jointSSR.frame_b.r_0.2.|jointSSR.frame_b.r_0.3.|jointSSR.frame_b.f.1.|jointSSR.frame_b.f.2.|jointSSR.frame_b.f.3.|jointSSR.frame_b.t.1.|jointSSR.frame_b.t.2.|jointSSR.frame_b.t.3.|jointSSR.frame_im.r_0.1.|jointSSR.frame_im.r_0.1.|jointSSR.frame_im.r_0.2.|jointSSR.frame_im.r_0.2.|jointSSR.frame_im.r_0.3.|jointSSR.frame_im.r_0.3.|jointSSR.frame_im.f.1.|jointSSR.frame_im.f.1.|jointSSR.frame_im.f.2.|jointSSR.frame_im.f.2.|jointSSR.frame_im.f.3.|jointSSR.frame_im.f.3.|jointSSR.frame_im.t.1.|jointSSR.frame_im.t.1.|jointSSR.frame_im.t.2.|jointSSR.frame_im.t.2.|jointSSR.frame_im.t.3.|jointSSR.frame_im.t.3.|jointSSR.revolute.frame_b.r_0.1.|jointSSR.revolute.frame_b.r_0.2.|jointSSR.revolute.frame_b.r_0.3.|jointSSR.revolute.frame_b.f.1.|jointSSR.revolute.frame_b.f.2.|jointSSR.revolute.frame_b.f.3.|jointSSR.revolute.frame_b.t.1.|jointSSR.revolute.frame_b.t.2.|jointSSR.revolute.frame_b.t.3.|jointSSR.rod1.frame_b.r_0.1.|jointSSR.rod1.frame_b.r_0.2.|jointSSR.rod1.frame_b.r_0.3.|jointSSR.rod1.frame_b.f.1.|jointSSR.rod1.frame_b.f.2.|jointSSR.rod1.frame_b.f.3.|jointSSR.rod1.frame_b.t.1.|jointSSR.rod1.frame_b.t.2.|jointSSR.rod1.frame_b.t.3.|jointSSR.rod2.frame_b.r_0.1.|jointSSR.rod2.frame_b.r_0.2.|jointSSR.rod2.frame_b.r_0.3.|jointSSR.rod2.frame_b.f.1.|jointSSR.rod2.frame_b.f.2.|jointSSR.rod2.frame_b.f.3.|jointSSR.rod2.frame_b.t.1.|jointSSR.rod2.frame_b.t.2.|jointSSR.rod2.frame_b.t.3.|jointSSR.relativePosition.frame_b.r_0.1.|jointSSR.relativePosition.frame_b.r_0.2.|jointSSR.relativePosition.frame_b.r_0.3.|jointSSR.relativePosition.frame_b.f.1.|jointSSR.relativePosition.frame_b.f.2.|jointSSR.relativePosition.frame_b.f.3.|jointSSR.relativePosition.frame_b.t.1.|jointSSR.relativePosition.frame_b.t.2.|jointSSR.relativePosition.frame_b.t.3.|jointSSR.relativePosition.relativePosition.frame_b.r_0.1.|jointSSR.relativePosition.relativePosition.frame_b.r_0.2.|jointSSR.relativePosition.relativePosition.frame_b.r_0.3.|jointSSR.relativePosition.relativePosition.frame_b.f.1.|jointSSR.relativePosition.relativePosition.frame_b.f.2.|jointSSR.relativePosition.relativePosition.frame_b.f.3.|jointSSR.relativePosition.relativePosition.frame_b.t.1.|jointSSR.relativePosition.relativePosition.frame_b.t.2.|jointSSR.relativePosition.relativePosition.frame_b.t.3.|jointSSR.position_b.1..y|jointSSR.position_b.2..y|jointSSR.position_b.3..y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.JointSSR") Notification: Performance of loadModel(ModelicaTest): time 1.784/1.784, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.813e-05/2.82e-05, allocations: 4 kB / 277.8 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08212/0.08217, allocations: 48.71 MB / 326.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3462/0.4284, allocations: 93.43 MB / 420 MB, free: 13.92 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.4287, allocations: 82.33 kB / 420.1 MB, free: 13.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2046/0.6333, allocations: 56.3 MB / 476.4 MB, free: 12.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.493e-06/0.6334, allocations: 0 / 476.4 MB, free: 12.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001246/0.6335, allocations: 55.94 kB / 476.4 MB, free: 12.91 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: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.007604/0.6411, allocations: 2.568 MB / 479 MB, free: 10.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.6412, allocations: 8.031 kB / 479 MB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003218/0.6444, allocations: 487.8 kB / 479.5 MB, free: 9.797 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004454/0.6489, allocations: 1.544 MB / 481 MB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000237/0.6492, allocations: 213.6 kB / 481.2 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007784/0.65, allocations: 279.9 kB / 481.5 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01846/0.6685, allocations: 6.631 MB / 488.1 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.096e-05/0.6686, allocations: 15.88 kB / 488.1 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004507/0.6691, allocations: 127.9 kB / 488.3 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001176/0.6702, allocations: 0.5239 MB / 488.8 MB, free: 100 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01652/0.6868, allocations: 5.444 MB / 494.2 MB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03617/0.723, allocations: 21.3 MB / 0.5035 GB, free: 4.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00918/0.7322, allocations: 1.787 MB / 0.5052 GB, free: 2.922 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.7336, allocations: 0.6592 MB / 0.5058 GB, free: 2.258 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008766/0.7424, allocations: 4.894 MB / 0.5106 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.7425, allocations: 39.12 kB / 0.5107 GB, free: 12.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=70): time 3.935e-06/0.7425, allocations: 0 / 0.5107 GB, free: 12.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=110): time 0.03857/0.7811, allocations: 7.49 MB / 0.518 GB, free: 5.406 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.253e-05/0.7812, allocations: 86.11 kB / 0.5181 GB, free: 5.305 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003222/0.7844, allocations: 1.71 MB / 0.5197 GB, free: 3.598 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001704/0.7846, allocations: 41.7 kB / 0.5198 GB, free: 3.551 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001429/0.7861, allocations: 1.658 MB / 0.5214 GB, free: 1.871 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005226/0.7866, allocations: 410.5 kB / 0.5218 GB, free: 1.465 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/0.7868, allocations: 60 kB / 0.5218 GB, free: 1.406 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003182/0.7871, allocations: 436.9 kB / 0.5223 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2285/1.016, allocations: 0.9917 MB / 0.5232 GB, free: 113.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003006/1.019, allocations: 2.594 MB / 0.5258 GB, free: 111.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00295/1.022, allocations: 1.57 MB / 0.5273 GB, free: 111.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.226e-05/1.022, allocations: 15.81 kB / 0.5273 GB, free: 111.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=371) (initialization): time 0.006968/1.029, allocations: 3.513 MB / 0.5307 GB, free: 111.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.513e-05/1.029, allocations: 29.03 kB / 0.5308 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.504e-05/1.029, allocations: 55.97 kB / 0.5308 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001214/1.029, allocations: 84.47 kB / 0.5309 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003308/1.032, allocations: 0.7286 MB / 0.5316 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001172/1.033, allocations: 115 kB / 0.5317 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002888/1.035, allocations: 162 kB / 0.5319 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004172/1.036, allocations: 165.9 kB / 0.532 GB, free: 111.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 257 * Number of states: 0 () * Number of discrete variables: 31 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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 (371): * Single equations (assignments): 371 * 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.0005477/1.036, allocations: 333.7 kB / 0.5323 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003503/1.037, allocations: 175.3 kB / 0.5325 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003442/1.04, allocations: 1.703 MB / 0.5342 GB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/1.04, allocations: 17.45 kB / 0.5342 GB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.676e-06/1.04, allocations: 1 kB / 0.5342 GB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/1.04, allocations: 3.656 kB / 0.5342 GB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/1.052, allocations: 5.88 MB / 0.5399 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.528e-05/1.052, allocations: 12.03 kB / 0.54 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/1.053, allocations: 251.4 kB / 0.5402 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.129e-05/1.053, allocations: 18.66 kB / 0.5402 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-05/1.053, allocations: 38.97 kB / 0.5402 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.938e-05/1.053, allocations: 27.31 kB / 0.5403 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.758e-05/1.053, allocations: 17.5 kB / 0.5403 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002802/1.056, allocations: 2.614 MB / 0.5428 GB, free: 108.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005226/1.057, allocations: 266.8 kB / 0.5431 GB, free: 108.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002766/1.057, allocations: 35.81 kB / 0.5431 GB, free: 108.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/1.058, allocations: 57.14 kB / 0.5432 GB, free: 108.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/1.058, allocations: 113.4 kB / 0.5433 GB, free: 108.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/1.059, allocations: 44.59 kB / 0.5433 GB, free: 108.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002306/1.061, allocations: 1.237 MB / 0.5445 GB, free: 108.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.21e-07/1.061, allocations: 1.375 kB / 0.5445 GB, free: 108.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003187/1.064, allocations: 0.5333 MB / 0.5451 GB, free: 108.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 110 * 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.0003863/1.064, allocations: 196.9 kB / 0.5453 GB, free: 108.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004059/1.069, allocations: 2.219 MB / 0.5474 GB, free: 107.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.467e-06/1.069, allocations: 0 / 0.5474 GB, free: 107.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/1.07, allocations: 0.6103 MB / 0.548 GB, free: 107.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/1.071, allocations: 224.8 kB / 0.5482 GB, free: 107.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009267/1.08, allocations: 4.467 MB / 0.5526 GB, free: 106.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002876/1.083, allocations: 2.23 MB / 0.5548 GB, free: 105.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007565/1.084, allocations: 153 kB / 0.5549 GB, free: 105.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.985e-06/1.084, allocations: 0 / 0.5549 GB, free: 105.1 MB / 426.7 MB Notification: Performance of Templates: time 0.04709/1.131, allocations: 30.87 MB / 0.5851 GB, free: 97.44 MB / 426.7 MB