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.886/1.886, allocations: 209.2 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004426/0.0004427, allocations: 16 kB / 282.6 MB, free: 9.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2789, allocations: 48.7 MB / 331.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1368/0.4157, allocations: 93.53 MB / 424.8 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.416, allocations: 83.95 kB / 424.9 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.428/0.844, allocations: 56.24 MB / 481.1 MB, free: 95.74 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.326e-06/0.844, allocations: 0 / 481.1 MB, free: 95.74 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001155/0.8441, allocations: 51.88 kB / 481.2 MB, free: 95.74 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: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.007093/0.8512, allocations: 2.695 MB / 483.9 MB, free: 94.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.8513, allocations: 8.844 kB / 483.9 MB, free: 94.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002965/0.8543, allocations: 486.8 kB / 484.4 MB, free: 94.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003911/0.8582, allocations: 1.543 MB / 485.9 MB, free: 93.96 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/0.8585, allocations: 212.9 kB / 486.1 MB, free: 93.95 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007494/0.8592, allocations: 283 kB / 486.4 MB, free: 93.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01716/0.8764, allocations: 6.692 MB / 493.1 MB, free: 93.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.58e-05/0.8765, allocations: 12.47 kB / 493.1 MB, free: 93.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004235/0.877, allocations: 128.4 kB / 493.2 MB, free: 93.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009328/0.8779, allocations: 0.526 MB / 493.8 MB, free: 93.05 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01559/0.8935, allocations: 5.538 MB / 499.3 MB, free: 92.19 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02829/0.9218, allocations: 21.3 MB / 0.5084 GB, free: 78.11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009015/0.9309, allocations: 1.805 MB / 0.5102 GB, free: 77.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007157/0.9381, allocations: 4.884 MB / 0.5149 GB, free: 74.38 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.9382, allocations: 42.56 kB / 0.515 GB, free: 74.33 MB / 394.7 MB Notification: Performance of pre-optimization done (n=70): time 4.007e-06/0.9382, allocations: 0 / 0.515 GB, free: 74.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=110): time 0.05992/0.9981, allocations: 10.09 MB / 0.5248 GB, free: 69.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.9982, allocations: 90.11 kB / 0.5249 GB, free: 69.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00265/1.001, allocations: 1.726 MB / 0.5266 GB, free: 67.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001635/1.001, allocations: 45.7 kB / 0.5266 GB, free: 67.61 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008508/1.002, allocations: 1.654 MB / 0.5283 GB, free: 65.96 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003559/1.002, allocations: 414.2 kB / 0.5286 GB, free: 65.56 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/1.002, allocations: 60 kB / 0.5287 GB, free: 65.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00019/1.003, allocations: 432.8 kB / 0.5291 GB, free: 65.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001908/1.005, allocations: 1.025 MB / 0.5301 GB, free: 64.04 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002569/1.007, allocations: 2.623 MB / 0.5327 GB, free: 60.62 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002584/1.01, allocations: 1.568 MB / 0.5342 GB, free: 59.05 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-05/1.01, allocations: 16 kB / 0.5342 GB, free: 59.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=371) (initialization): time 0.006567/1.016, allocations: 3.578 MB / 0.5377 GB, free: 55.45 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.061e-05/1.017, allocations: 28.62 kB / 0.5377 GB, free: 55.42 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.538e-05/1.017, allocations: 56 kB / 0.5378 GB, free: 55.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.764e-05/1.017, allocations: 84.78 kB / 0.5379 GB, free: 55.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003056/1.02, allocations: 0.7253 MB / 0.5386 GB, free: 54.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.337e-05/1.02, allocations: 115.5 kB / 0.5387 GB, free: 54.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002615/1.022, allocations: 151.8 kB / 0.5388 GB, free: 54.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003924/1.023, allocations: 172 kB / 0.539 GB, free: 54.13 MB / 394.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 () * Number of clocked 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.002188/1.025, allocations: 1.195 MB / 0.5402 GB, free: 52.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003594/1.025, allocations: 181.7 kB / 0.5403 GB, free: 52.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003393/1.029, allocations: 1.722 MB / 0.542 GB, free: 51.01 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/1.029, allocations: 12 kB / 0.542 GB, free: 51 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.034e-06/1.029, allocations: 4 kB / 0.542 GB, free: 51 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/1.029, allocations: 3.984 kB / 0.5421 GB, free: 50.99 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/1.04, allocations: 5.901 MB / 0.5478 GB, free: 44.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.945e-05/1.04, allocations: 12 kB / 0.5478 GB, free: 44.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/1.041, allocations: 247.6 kB / 0.5481 GB, free: 44.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-05/1.041, allocations: 19.47 kB / 0.5481 GB, free: 44.58 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.875e-05/1.041, allocations: 36.47 kB / 0.5481 GB, free: 44.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.105e-05/1.041, allocations: 27.92 kB / 0.5481 GB, free: 44.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.27e-05/1.041, allocations: 19.94 kB / 0.5482 GB, free: 44.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002682/1.044, allocations: 2.633 MB / 0.5507 GB, free: 41.28 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005094/1.044, allocations: 270.7 kB / 0.551 GB, free: 40.99 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002755/1.045, allocations: 35.98 kB / 0.551 GB, free: 40.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/1.046, allocations: 59.94 kB / 0.5511 GB, free: 40.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/1.046, allocations: 104.2 kB / 0.5512 GB, free: 40.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.274e-05/1.046, allocations: 46.95 kB / 0.5512 GB, free: 40.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002107/1.048, allocations: 1.26 MB / 0.5525 GB, free: 39.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.63e-07/1.048, allocations: 4 kB / 0.5525 GB, free: 39.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003073/1.051, allocations: 0.5351 MB / 0.553 GB, free: 38.96 MB / 394.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 () * Number of clocked 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.0003817/1.051, allocations: 202.4 kB / 0.5532 GB, free: 38.76 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004063/1.056, allocations: 2.251 MB / 0.5554 GB, free: 36.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/1.056, allocations: 4 kB / 0.5554 GB, free: 36.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/1.057, allocations: 0.6069 MB / 0.556 GB, free: 35.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/1.058, allocations: 234 kB / 0.5562 GB, free: 35.69 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/1.068, allocations: 6.46 MB / 0.5625 GB, free: 29.03 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002517/1.071, allocations: 2.226 MB / 0.5647 GB, free: 26.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007464/1.072, allocations: 155.4 kB / 0.5648 GB, free: 26.62 MB / 394.7 MB Notification: Performance of SimCode: time 1.812e-06/1.072, allocations: 0 / 0.5648 GB, free: 26.62 MB / 394.7 MB Notification: Performance of Templates: time 0.04729/1.119, allocations: 30.86 MB / 0.595 GB, free: 12.05 MB / 410.7 MB