Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.913/1.913, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006118/0.0006123, allocations: 12 kB / 283.1 MB, free: 9.676 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3388, allocations: 48.7 MB / 331.8 MB, free: 6.48 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1588/0.4976, allocations: 93.53 MB / 425.3 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/0.498, allocations: 79.95 kB / 425.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5013/0.9993, allocations: 56.6 MB / 482 MB, free: 95.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.145e-06/0.9994, allocations: 0 / 482 MB, free: 95.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001583/0.9995, allocations: 55.03 kB / 482.1 MB, free: 95.87 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.01117/1.011, allocations: 2.715 MB / 484.8 MB, free: 94.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/1.011, allocations: 9.938 kB / 484.8 MB, free: 94.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004521/1.015, allocations: 486.8 kB / 485.3 MB, free: 94.49 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005673/1.021, allocations: 1.555 MB / 486.8 MB, free: 94.1 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002775/1.021, allocations: 212.3 kB / 487 MB, free: 94.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001347/1.023, allocations: 283.1 kB / 487.3 MB, free: 94.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02566/1.048, allocations: 6.935 MB / 494.3 MB, free: 93.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001253/1.049, allocations: 19.34 kB / 494.3 MB, free: 93.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006791/1.049, allocations: 126.3 kB / 494.4 MB, free: 93.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001321/1.051, allocations: 0.519 MB / 494.9 MB, free: 93.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02191/1.073, allocations: 5.813 MB / 0.489 GB, free: 92.22 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03985/1.112, allocations: 21.49 MB / 0.51 GB, free: 78.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0159/1.128, allocations: 1.84 MB / 0.5118 GB, free: 77.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009362/1.138, allocations: 4.948 MB / 0.5166 GB, free: 74.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/1.138, allocations: 42.62 kB / 0.5166 GB, free: 74.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=70): time 4.238e-06/1.138, allocations: 0 / 0.5166 GB, free: 74.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=110): time 0.07629/1.214, allocations: 9.399 MB / 0.5258 GB, free: 69 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.559e-05/1.214, allocations: 90.11 kB / 0.5259 GB, free: 68.9 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003362/1.218, allocations: 1.929 MB / 0.5278 GB, free: 66.97 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002624/1.218, allocations: 45.7 kB / 0.5278 GB, free: 66.92 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001062/1.219, allocations: 1.661 MB / 0.5295 GB, free: 65.26 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004969/1.22, allocations: 414.5 kB / 0.5299 GB, free: 64.86 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/1.22, allocations: 56 kB / 0.5299 GB, free: 64.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/1.22, allocations: 428.8 kB / 0.5303 GB, free: 64.37 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002633/1.223, allocations: 1.025 MB / 0.5313 GB, free: 63.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003678/1.226, allocations: 2.627 MB / 0.5339 GB, free: 59.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00362/1.23, allocations: 1.576 MB / 0.5354 GB, free: 58.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.225e-05/1.23, allocations: 16 kB / 0.5354 GB, free: 58.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=371) (initialization): time 0.009134/1.239, allocations: 3.572 MB / 0.5389 GB, free: 54.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.671e-05/1.239, allocations: 32.03 kB / 0.539 GB, free: 54.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.991e-05/1.24, allocations: 59.61 kB / 0.539 GB, free: 54.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.58e-05/1.24, allocations: 84 kB / 0.5391 GB, free: 54.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004804/1.244, allocations: 0.7213 MB / 0.5398 GB, free: 53.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001071/1.245, allocations: 115.5 kB / 0.5399 GB, free: 53.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003151/1.248, allocations: 155.8 kB / 0.5401 GB, free: 53.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005869/1.248, allocations: 175.9 kB / 0.5402 GB, free: 53.42 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.002935/1.251, allocations: 1.195 MB / 0.5414 GB, free: 52.21 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004591/1.252, allocations: 177.7 kB / 0.5416 GB, free: 52.04 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004426/1.256, allocations: 1.719 MB / 0.5432 GB, free: 50.31 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/1.256, allocations: 12 kB / 0.5433 GB, free: 50.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/1.256, allocations: 3.984 kB / 0.5433 GB, free: 50.29 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/1.256, allocations: 6.703 kB / 0.5433 GB, free: 50.29 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01371/1.27, allocations: 5.904 MB / 0.549 GB, free: 44.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/1.27, allocations: 13 kB / 0.549 GB, free: 44.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001823/1.272, allocations: 254.9 kB / 0.5493 GB, free: 43.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.347e-05/1.272, allocations: 16 kB / 0.5493 GB, free: 43.87 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.715e-05/1.272, allocations: 36 kB / 0.5493 GB, free: 43.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-05/1.272, allocations: 23.92 kB / 0.5494 GB, free: 43.81 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-05/1.272, allocations: 19.94 kB / 0.5494 GB, free: 43.79 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002986/1.275, allocations: 1.715 MB / 0.551 GB, free: 41.89 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006812/1.276, allocations: 270.7 kB / 0.5513 GB, free: 41.61 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004588/1.276, allocations: 31.98 kB / 0.5513 GB, free: 41.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/1.278, allocations: 59.94 kB / 0.5514 GB, free: 41.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002213/1.278, allocations: 108.2 kB / 0.5515 GB, free: 41.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.485e-05/1.278, allocations: 47.95 kB / 0.5515 GB, free: 41.37 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002651/1.281, allocations: 1.252 MB / 0.5528 GB, free: 40.12 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.21e-07/1.281, allocations: 0 / 0.5528 GB, free: 40.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003432/1.284, allocations: 0.539 MB / 0.5533 GB, free: 39.59 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.0005338/1.285, allocations: 202.5 kB / 0.5535 GB, free: 39.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005184/1.29, allocations: 2.247 MB / 0.5557 GB, free: 37.15 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/1.29, allocations: 0 / 0.5557 GB, free: 37.15 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001389/1.292, allocations: 0.6147 MB / 0.5563 GB, free: 36.54 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/1.293, allocations: 237.3 kB / 0.5565 GB, free: 36.31 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01308/1.306, allocations: 6.487 MB / 0.5628 GB, free: 29.63 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003511/1.31, allocations: 2.225 MB / 0.565 GB, free: 27.38 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/1.311, allocations: 155.4 kB / 0.5652 GB, free: 27.23 MB / 394.7 MB Notification: Performance of SimCode: time 1.193e-06/1.311, allocations: 0 / 0.5652 GB, free: 27.23 MB / 394.7 MB Notification: Performance of Templates: time 0.4298/1.741, allocations: 30.87 MB / 0.5953 GB, free: 12.63 MB / 410.7 MB