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.833/1.833, allocations: 209.3 MB / 224.8 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000427/0.0004271, allocations: 12 kB / 282.5 MB, free: 9.754 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08593/0.08638, allocations: 48.71 MB / 331.2 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.2417/0.3281, allocations: 28.5 MB / 359.7 MB, free: 80 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01802/0.3462, allocations: 6.908 MB / 366.6 MB, free: 11.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005827/0.3521, allocations: 129.9 kB / 366.7 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004505/0.3566, allocations: 1.401 MB / 368.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01338/0.37, allocations: 3.713 MB / 371.9 MB, free: 8.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002679/0.3727, allocations: 0.5459 MB / 372.4 MB, free: 8.219 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002131/0.3749, allocations: 1.012 MB / 373.4 MB, free: 7.559 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00697/0.3819, allocations: 4.042 MB / 377.5 MB, free: 5.242 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.3829, allocations: 0.5698 MB / 378 MB, free: 4.918 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.3841, allocations: 0.7409 MB / 378.8 MB, free: 4.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002344/0.3844, allocations: 98.28 kB / 378.9 MB, free: 4.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.3861, allocations: 0.7219 MB / 379.6 MB, free: 4.164 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001096/0.3872, allocations: 0.9066 MB / 380.5 MB, free: 3.578 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000641/0.3878, allocations: 0.5157 MB / 381 MB, free: 3.055 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005074/0.3929, allocations: 3.851 MB / 384.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.027e-06/0.393, allocations: 0 / 384.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.336e-06/0.393, allocations: 0 / 384.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.913e-05/0.393, allocations: 4 kB / 384.9 MB, free: 15.19 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: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.006534/0.3996, allocations: 2.661 MB / 387.5 MB, free: 12.47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.3996, allocations: 8.031 kB / 387.5 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/0.4014, allocations: 363.9 kB / 387.9 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003098/0.4046, allocations: 1.277 MB / 389.2 MB, free: 10.78 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001808/0.4048, allocations: 172.5 kB / 389.3 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005567/0.4053, allocations: 239.8 kB / 389.6 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01816/0.4235, allocations: 7.044 MB / 396.6 MB, free: 3.039 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.733e-05/0.4236, allocations: 15.88 kB / 396.6 MB, free: 3.023 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003292/0.424, allocations: 103.9 kB / 396.7 MB, free: 2.922 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002001/0.426, allocations: 0.9886 MB / 397.7 MB, free: 1.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01742/0.4434, allocations: 5.826 MB / 403.5 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0334/0.4769, allocations: 20.21 MB / 423.8 MB, free: 7.324 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009312/0.4862, allocations: 1.838 MB / 425.6 MB, free: 5.465 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008451/0.4947, allocations: 4.922 MB / 430.5 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.4948, allocations: 39.12 kB / 430.6 MB, free: 96 kB / 346.7 MB Notification: Performance of pre-optimization done (n=70): time 5.703e-06/0.4948, allocations: 3.984 kB / 430.6 MB, free: 92 kB / 346.7 MB Notification: Performance of matching and sorting (n=110): time 0.05192/0.5468, allocations: 9.363 MB / 439.9 MB, free: 6.711 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.774e-05/0.5469, allocations: 90.11 kB / 440 MB, free: 6.605 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003451/0.5504, allocations: 1.929 MB / 441.9 MB, free: 4.676 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001818/0.5506, allocations: 45.73 kB / 442 MB, free: 4.625 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001525/0.5521, allocations: 1.662 MB / 443.6 MB, free: 2.941 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005257/0.5527, allocations: 410.5 kB / 444 MB, free: 2.535 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/0.5529, allocations: 60 kB / 444.1 MB, free: 2.477 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000325/0.5532, allocations: 428.8 kB / 444.5 MB, free: 2.047 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002306/0.5555, allocations: 1.029 MB / 445.6 MB, free: 1.016 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003747/0.5593, allocations: 2.63 MB / 448.2 MB, free: 13.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003198/0.5625, allocations: 1.568 MB / 449.8 MB, free: 12.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.48e-05/0.5626, allocations: 16 kB / 449.8 MB, free: 12 MB / 378.7 MB Notification: Performance of matching and sorting (n=370) (initialization): time 0.007896/0.5705, allocations: 3.576 MB / 453.3 MB, free: 8.422 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.806e-05/0.5706, allocations: 28.62 kB / 453.4 MB, free: 8.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.067e-05/0.5707, allocations: 56 kB / 453.4 MB, free: 8.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001222/0.5708, allocations: 84 kB / 453.5 MB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003117/0.5739, allocations: 0.7057 MB / 454.2 MB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001282/0.5741, allocations: 111.6 kB / 454.3 MB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002269/0.5764, allocations: 159.8 kB / 454.5 MB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003218/0.5767, allocations: 164 kB / 454.6 MB, free: 7.125 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 256 * 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 (370): * Single equations (assignments): 370 * 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.002497/0.5792, allocations: 1.199 MB / 455.8 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004089/0.5796, allocations: 173.8 kB / 456 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004004/0.5837, allocations: 1.738 MB / 457.7 MB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/0.5837, allocations: 12 kB / 457.8 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.208e-06/0.5837, allocations: 0 / 457.8 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/0.5837, allocations: 3.984 kB / 457.8 MB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01273/0.5965, allocations: 5.869 MB / 463.6 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-05/0.5966, allocations: 12 kB / 463.6 MB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.5977, allocations: 211.6 kB / 463.8 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-05/0.5977, allocations: 20 kB / 463.9 MB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.415e-05/0.5978, allocations: 28 kB / 463.9 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.742e-05/0.5979, allocations: 23.92 kB / 463.9 MB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.822e-05/0.5979, allocations: 19.94 kB / 463.9 MB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002936/0.6008, allocations: 1.681 MB / 465.6 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005011/0.6014, allocations: 274.8 kB / 465.9 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000272/0.6017, allocations: 39.98 kB / 465.9 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009281/0.6026, allocations: 35.98 kB / 466 MB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/0.6028, allocations: 104.2 kB / 466.1 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.901e-05/0.6029, allocations: 40 kB / 466.1 MB, free: 11.17 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00238/0.6053, allocations: 1.264 MB / 467.4 MB, free: 9.914 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.48e-07/0.6053, allocations: 0 / 467.4 MB, free: 9.914 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002928/0.6083, allocations: 0.5312 MB / 467.9 MB, free: 9.383 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 (111): * Single equations (assignments): 111 * 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.0004068/0.6087, allocations: 186.6 kB / 468.1 MB, free: 9.188 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004642/0.6133, allocations: 2.228 MB / 470.3 MB, free: 6.973 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.694e-06/0.6134, allocations: 0 / 470.3 MB, free: 6.973 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.6146, allocations: 0.5991 MB / 470.9 MB, free: 6.375 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.616, allocations: 235.3 kB / 471.1 MB, free: 6.141 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/0.6279, allocations: 6.471 MB / 477.6 MB, free: 15.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003218/0.6312, allocations: 2.223 MB / 479.8 MB, free: 13.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007732/0.6319, allocations: 155.4 kB / 480 MB, free: 13.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.665e-06/0.632, allocations: 0 / 480 MB, free: 13.07 MB / 410.7 MB Notification: Performance of Templates: time 0.277/0.909, allocations: 30.83 MB / 0.4988 GB, free: 132.8 MB / 426.7 MB