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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.922/1.922, allocations: 209.4 MB / 217.3 MB, free: 4.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.505e-05/1.509e-05, allocations: 4 kB / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.257, allocations: 48.69 MB / 320 MB, free: 14.38 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.3932, allocations: 92.79 MB / 412.8 MB, free: 3.598 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.3935, allocations: 75.95 kB / 412.9 MB, free: 3.523 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4087/0.8022, allocations: 54.89 MB / 467.8 MB, free: 90.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.27e-06/0.8023, allocations: 0 / 467.8 MB, free: 90.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.994e-05/0.8024, allocations: 50.12 kB / 467.8 MB, free: 90.01 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.005821/0.8082, allocations: 2.572 MB / 470.4 MB, free: 88.85 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.8083, allocations: 10.31 kB / 470.4 MB, free: 88.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002854/0.8111, allocations: 480.9 kB / 470.9 MB, free: 88.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003967/0.8151, allocations: 1.544 MB / 472.4 MB, free: 88.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.8153, allocations: 92.53 kB / 472.5 MB, free: 88.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006209/0.8159, allocations: 158.6 kB / 472.7 MB, free: 88.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007311/0.8232, allocations: 3.81 MB / 476.5 MB, free: 87.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009409/0.8327, allocations: 4.954 MB / 481.4 MB, free: 85.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001024/0.8328, allocations: 15.12 kB / 481.4 MB, free: 85.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000356/0.8332, allocations: 10.53 kB / 481.4 MB, free: 85.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001019/0.8342, allocations: 0.5268 MB / 482 MB, free: 85.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02635/0.8606, allocations: 20.05 MB / 0.4903 GB, free: 67.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.8621, allocations: 0.8424 MB / 0.4911 GB, free: 67.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008408/0.863, allocations: 0.6164 MB / 0.4917 GB, free: 66.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006511/0.8695, allocations: 4.546 MB / 0.4961 GB, free: 61.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.8696, allocations: 51.11 kB / 0.4962 GB, free: 61.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=64): time 3.942e-06/0.8696, allocations: 0 / 0.4962 GB, free: 61.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=88): time 0.01758/0.8872, allocations: 5.246 MB / 0.5013 GB, free: 56.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.8873, allocations: 85.89 kB / 0.5014 GB, free: 56.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002082/0.8894, allocations: 1.413 MB / 0.5028 GB, free: 54.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.206e-05/0.8895, allocations: 25.7 kB / 0.5028 GB, free: 54.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008178/0.8903, allocations: 1.743 MB / 0.5045 GB, free: 52.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/0.8906, allocations: 327.6 kB / 0.5048 GB, free: 52.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.8907, allocations: 0 / 0.5048 GB, free: 52.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.8909, allocations: 432.7 kB / 0.5052 GB, free: 52.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001416/0.8923, allocations: 0.8296 MB / 0.506 GB, free: 51.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002055/0.8944, allocations: 2.457 MB / 0.5084 GB, free: 48.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003646/0.8981, allocations: 1.534 MB / 0.5099 GB, free: 46.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.922e-05/0.8981, allocations: 16 kB / 0.5099 GB, free: 46.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=366) (initialization): time 0.007125/0.9053, allocations: 3.079 MB / 0.5129 GB, free: 43.44 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.1e-05/0.9054, allocations: 28.78 kB / 0.513 GB, free: 43.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.593e-05/0.9054, allocations: 60 kB / 0.513 GB, free: 43.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.72e-05/0.9055, allocations: 92.03 kB / 0.5131 GB, free: 43.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002723/0.9083, allocations: 0.7048 MB / 0.5138 GB, free: 42.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.32e-05/0.9084, allocations: 115.6 kB / 0.5139 GB, free: 42.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002378/0.9108, allocations: 99.73 kB / 0.514 GB, free: 42.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003877/0.9112, allocations: 172 kB / 0.5142 GB, free: 42.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 266 * 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 (366): * Single equations (assignments): 366 * 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.0004757/0.9117, allocations: 266.5 kB / 0.5144 GB, free: 41.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002945/0.912, allocations: 146.1 kB / 0.5146 GB, free: 41.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.9143, allocations: 1.263 MB / 0.5158 GB, free: 40.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.9144, allocations: 8 kB / 0.5158 GB, free: 40.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.572e-06/0.9144, allocations: 0 / 0.5158 GB, free: 40.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.9144, allocations: 3.984 kB / 0.5158 GB, free: 40.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008108/0.9225, allocations: 3.794 MB / 0.5195 GB, free: 36.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/0.9226, allocations: 4 kB / 0.5195 GB, free: 36.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.9237, allocations: 203.7 kB / 0.5197 GB, free: 36.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.777e-05/0.9237, allocations: 11.98 kB / 0.5197 GB, free: 36.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-05/0.9238, allocations: 11.98 kB / 0.5197 GB, free: 36.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.107e-05/0.9239, allocations: 12.28 kB / 0.5197 GB, free: 36.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.693e-06/0.9239, allocations: 8 kB / 0.5197 GB, free: 36.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/0.9259, allocations: 1.595 MB / 0.5213 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003606/0.9263, allocations: 215.2 kB / 0.5215 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/0.9266, allocations: 11.98 kB / 0.5215 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008986/0.9275, allocations: 35.94 kB / 0.5216 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.9276, allocations: 64.39 kB / 0.5216 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.259e-05/0.9277, allocations: 31.98 kB / 0.5216 GB, free: 34.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001578/0.9293, allocations: 0.9406 MB / 0.5226 GB, free: 33.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.044e-06/0.9293, allocations: 0 / 0.5226 GB, free: 33.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003137/0.9325, allocations: 471.9 kB / 0.523 GB, free: 32.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 86 * 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.0004224/0.9329, allocations: 157.2 kB / 0.5232 GB, free: 32.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003495/0.9365, allocations: 1.895 MB / 0.525 GB, free: 30.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.507e-06/0.9365, allocations: 3.938 kB / 0.525 GB, free: 30.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009065/0.9374, allocations: 0.5193 MB / 0.5255 GB, free: 30.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.9385, allocations: 157.3 kB / 0.5257 GB, free: 30.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008419/0.9469, allocations: 4.107 MB / 0.5297 GB, free: 25.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004356/0.9513, allocations: 2.197 MB / 0.5318 GB, free: 23.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001152/0.9525, allocations: 135.4 kB / 0.532 GB, free: 23.46 MB / 378.7 MB Notification: Performance of SimCode: time 2.121e-06/0.9526, allocations: 0 / 0.532 GB, free: 23.46 MB / 378.7 MB Notification: Performance of Templates: time 0.04823/1.001, allocations: 28.25 MB / 0.5595 GB, free: 11.25 MB / 394.7 MB