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.JointSSP.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.JointSSP,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.|jointSSP.frame_b.r_0.1.|jointSSP.frame_b.r_0.2.|jointSSP.frame_b.r_0.3.|jointSSP.frame_b.f.1.|jointSSP.frame_b.f.2.|jointSSP.frame_b.f.3.|jointSSP.frame_b.t.1.|jointSSP.frame_b.t.2.|jointSSP.frame_b.t.3.|jointSSP.frame_im.r_0.1.|jointSSP.frame_im.r_0.1.|jointSSP.frame_im.r_0.2.|jointSSP.frame_im.r_0.2.|jointSSP.frame_im.r_0.3.|jointSSP.frame_im.r_0.3.|jointSSP.frame_im.f.1.|jointSSP.frame_im.f.1.|jointSSP.frame_im.f.2.|jointSSP.frame_im.f.2.|jointSSP.frame_im.f.3.|jointSSP.frame_im.f.3.|jointSSP.frame_im.t.1.|jointSSP.frame_im.t.1.|jointSSP.frame_im.t.2.|jointSSP.frame_im.t.2.|jointSSP.frame_im.t.3.|jointSSP.frame_im.t.3.|jointSSP.prismatic.frame_b.r_0.1.|jointSSP.prismatic.frame_b.r_0.2.|jointSSP.prismatic.frame_b.r_0.3.|jointSSP.prismatic.frame_b.f.1.|jointSSP.prismatic.frame_b.f.2.|jointSSP.prismatic.frame_b.f.3.|jointSSP.prismatic.frame_b.t.1.|jointSSP.prismatic.frame_b.t.2.|jointSSP.prismatic.frame_b.t.3.|jointSSP.rod1.frame_b.r_0.1.|jointSSP.rod1.frame_b.r_0.2.|jointSSP.rod1.frame_b.r_0.3.|jointSSP.rod1.frame_b.f.1.|jointSSP.rod1.frame_b.f.2.|jointSSP.rod1.frame_b.f.3.|jointSSP.rod1.frame_b.t.1.|jointSSP.rod1.frame_b.t.2.|jointSSP.rod1.frame_b.t.3.|jointSSP.rod2.frame_b.r_0.1.|jointSSP.rod2.frame_b.r_0.2.|jointSSP.rod2.frame_b.r_0.3.|jointSSP.rod2.frame_b.f.1.|jointSSP.rod2.frame_b.f.2.|jointSSP.rod2.frame_b.f.3.|jointSSP.rod2.frame_b.t.1.|jointSSP.rod2.frame_b.t.2.|jointSSP.rod2.frame_b.t.3.|jointSSP.relativePosition.frame_b.r_0.1.|jointSSP.relativePosition.frame_b.r_0.2.|jointSSP.relativePosition.frame_b.r_0.3.|jointSSP.relativePosition.frame_b.f.1.|jointSSP.relativePosition.frame_b.f.2.|jointSSP.relativePosition.frame_b.f.3.|jointSSP.relativePosition.frame_b.t.1.|jointSSP.relativePosition.frame_b.t.2.|jointSSP.relativePosition.frame_b.t.3.|jointSSP.relativePosition.relativePosition.frame_b.r_0.1.|jointSSP.relativePosition.relativePosition.frame_b.r_0.2.|jointSSP.relativePosition.relativePosition.frame_b.r_0.3.|jointSSP.relativePosition.relativePosition.frame_b.f.1.|jointSSP.relativePosition.relativePosition.frame_b.f.2.|jointSSP.relativePosition.relativePosition.frame_b.f.3.|jointSSP.relativePosition.relativePosition.frame_b.t.1.|jointSSP.relativePosition.relativePosition.frame_b.t.2.|jointSSP.relativePosition.relativePosition.frame_b.t.3.|jointSSP.position_b.1..y|jointSSP.position_b.2..y|jointSSP.position_b.3..y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.JointSSP") Notification: Performance of loadModel(ModelicaTest): time 2.104/2.104, allocations: 209.4 MB / 217.3 MB, free: 4.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.131e-05/2.142e-05, allocations: 4 kB / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2652, allocations: 48.69 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1404/0.4056, allocations: 91.73 MB / 411.8 MB, free: 4.672 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.4059, allocations: 75.95 kB / 411.8 MB, free: 4.598 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.408/0.8139, allocations: 53.13 MB / 465 MB, free: 92.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.842e-06/0.814, allocations: 0 / 465 MB, free: 92.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001007/0.8141, allocations: 51.62 kB / 465 MB, free: 92.87 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.005399/0.8195, allocations: 2.37 MB / 467.4 MB, free: 91.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.8196, allocations: 10.38 kB / 467.4 MB, free: 91.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002902/0.8225, allocations: 475.1 kB / 467.8 MB, free: 91.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003815/0.8263, allocations: 1.512 MB / 469.4 MB, free: 91.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/0.8265, allocations: 95.28 kB / 469.5 MB, free: 91.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006397/0.8272, allocations: 163.4 kB / 469.6 MB, free: 91.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006436/0.8336, allocations: 3.389 MB / 473 MB, free: 90.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008823/0.8425, allocations: 4.626 MB / 477.6 MB, free: 88.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.605e-05/0.8426, allocations: 13 kB / 477.6 MB, free: 88.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003508/0.843, allocations: 14.02 kB / 477.7 MB, free: 88.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008537/0.8438, allocations: 483.1 kB / 478.1 MB, free: 88.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02341/0.8673, allocations: 18.22 MB / 496.3 MB, free: 74.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.8686, allocations: 0.648 MB / 497 MB, free: 73.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005015/0.8691, allocations: 310.2 kB / 497.3 MB, free: 73.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001437/0.8706, allocations: 1.75 MB / 499 MB, free: 71.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.8706, allocations: 39.12 kB / 499.1 MB, free: 71.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 4.194e-06/0.8707, allocations: 0 / 499.1 MB, free: 71.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=92): time 0.01146/0.8821, allocations: 3.341 MB / 0.4906 GB, free: 68.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.8822, allocations: 85.89 kB / 0.4907 GB, free: 67.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002076/0.8843, allocations: 1.346 MB / 0.492 GB, free: 66.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001227/0.8845, allocations: 25.7 kB / 0.4921 GB, free: 66.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008225/0.8853, allocations: 1.72 MB / 0.4937 GB, free: 64.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002539/0.8856, allocations: 335.5 kB / 0.4941 GB, free: 64.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.8857, allocations: 4 kB / 0.4941 GB, free: 64.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.8859, allocations: 424.6 kB / 0.4945 GB, free: 64.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.8871, allocations: 0.6654 MB / 0.4951 GB, free: 63.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001799/0.8889, allocations: 2.233 MB / 0.4973 GB, free: 60.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00192/0.8908, allocations: 1.198 MB / 0.4985 GB, free: 59.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.053e-05/0.8909, allocations: 20 kB / 0.4985 GB, free: 59.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=356) (initialization): time 0.004946/0.8958, allocations: 2.564 MB / 0.501 GB, free: 56.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.919e-05/0.8959, allocations: 28.78 kB / 0.501 GB, free: 56.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.323e-05/0.896, allocations: 56 kB / 0.5011 GB, free: 56.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.446e-05/0.8961, allocations: 84 kB / 0.5012 GB, free: 56.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002775/0.8989, allocations: 0.6438 MB / 0.5018 GB, free: 55.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.301e-05/0.899, allocations: 115.6 kB / 0.5019 GB, free: 55.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/0.9011, allocations: 67.8 kB / 0.502 GB, free: 55.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002979/0.9014, allocations: 164 kB / 0.5021 GB, free: 55.39 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 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[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 (356): * Single equations (assignments): 356 * 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.000402/0.9018, allocations: 270.4 kB / 0.5024 GB, free: 55.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/0.9021, allocations: 154 kB / 0.5025 GB, free: 54.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/0.904, allocations: 0.9454 MB / 0.5034 GB, free: 54.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.904, allocations: 8 kB / 0.5035 GB, free: 54.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.229e-06/0.904, allocations: 4 kB / 0.5035 GB, free: 54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.904, allocations: 3.984 kB / 0.5035 GB, free: 54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008026/0.9121, allocations: 4.538 MB / 0.5079 GB, free: 49.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.266e-05/0.9121, allocations: 16 kB / 0.5079 GB, free: 49.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000694/0.9128, allocations: 175.7 kB / 0.5081 GB, free: 48.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.81e-05/0.9129, allocations: 24 kB / 0.5081 GB, free: 48.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.048e-05/0.913, allocations: 20 kB / 0.5081 GB, free: 48.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-05/0.913, allocations: 31.86 kB / 0.5082 GB, free: 48.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.657e-05/0.913, allocations: 27.88 kB / 0.5082 GB, free: 48.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.9148, allocations: 2.347 MB / 0.5105 GB, free: 45.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003881/0.9152, allocations: 231.1 kB / 0.5107 GB, free: 45.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.9154, allocations: 27.98 kB / 0.5107 GB, free: 45.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000835/0.9163, allocations: 22.8 kB / 0.5107 GB, free: 45.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.9164, allocations: 115.5 kB / 0.5108 GB, free: 45.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.936e-05/0.9165, allocations: 40 kB / 0.5109 GB, free: 45.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001453/0.918, allocations: 0.9084 MB / 0.5118 GB, free: 44.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.45e-07/0.918, allocations: 0 / 0.5118 GB, free: 44.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002947/0.9209, allocations: 419.9 kB / 0.5122 GB, free: 44.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 91 * 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.0003267/0.9213, allocations: 170.6 kB / 0.5123 GB, free: 43.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002696/0.924, allocations: 1.516 MB / 0.5138 GB, free: 42.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/0.924, allocations: 4 kB / 0.5138 GB, free: 42.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005959/0.9247, allocations: 370.6 kB / 0.5142 GB, free: 41.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.9259, allocations: 182.5 kB / 0.5143 GB, free: 41.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00844/0.9344, allocations: 4.196 MB / 0.5184 GB, free: 37.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002775/0.9372, allocations: 2.211 MB / 0.5206 GB, free: 35.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004838/0.9377, allocations: 139.4 kB / 0.5207 GB, free: 34.98 MB / 378.7 MB Notification: Performance of SimCode: time 1.953e-06/0.9377, allocations: 0 / 0.5207 GB, free: 34.98 MB / 378.7 MB Notification: Performance of Templates: time 0.03861/0.9763, allocations: 26.17 MB / 0.5463 GB, free: 8.887 MB / 378.7 MB