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.Parts.Bodies.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.Parts.Bodies,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyShape.frame_b.r_0.1.|bodyShape.frame_b.r_0.2.|bodyShape.frame_b.r_0.3.|bodyShape.frame_b.f.1.|bodyShape.frame_b.f.2.|bodyShape.frame_b.f.3.|bodyShape.frame_b.t.1.|bodyShape.frame_b.t.2.|bodyShape.frame_b.t.3.|bodyShape.frameTranslation.frame_b.r_0.1.|bodyShape.frameTranslation.frame_b.r_0.2.|bodyShape.frameTranslation.frame_b.r_0.3.|bodyShape.frameTranslation.frame_b.f.1.|bodyShape.frameTranslation.frame_b.f.2.|bodyShape.frameTranslation.frame_b.f.3.|bodyShape.frameTranslation.frame_b.t.1.|bodyShape.frameTranslation.frame_b.t.2.|bodyShape.frameTranslation.frame_b.t.3.|BodyBox1.frame_b.r_0.1.|BodyBox1.frame_b.r_0.2.|BodyBox1.frame_b.r_0.3.|BodyBox1.frame_b.f.1.|BodyBox1.frame_b.f.2.|BodyBox1.frame_b.f.3.|BodyBox1.frame_b.t.1.|BodyBox1.frame_b.t.2.|BodyBox1.frame_b.t.3.|BodyBox1.frameTranslation.frame_b.r_0.1.|BodyBox1.frameTranslation.frame_b.r_0.2.|BodyBox1.frameTranslation.frame_b.r_0.3.|BodyBox1.frameTranslation.frame_b.f.1.|BodyBox1.frameTranslation.frame_b.f.2.|BodyBox1.frameTranslation.frame_b.f.3.|BodyBox1.frameTranslation.frame_b.t.1.|BodyBox1.frameTranslation.frame_b.t.2.|BodyBox1.frameTranslation.frame_b.t.3.|bodyCylinder.frame_b.r_0.1.|bodyCylinder.frame_b.r_0.2.|bodyCylinder.frame_b.r_0.3.|bodyCylinder.frame_b.f.1.|bodyCylinder.frame_b.f.2.|bodyCylinder.frame_b.f.3.|bodyCylinder.frame_b.t.1.|bodyCylinder.frame_b.t.2.|bodyCylinder.frame_b.t.3.|bodyCylinder.frameTranslation.frame_b.r_0.1.|bodyCylinder.frameTranslation.frame_b.r_0.2.|bodyCylinder.frameTranslation.frame_b.r_0.3.|bodyCylinder.frameTranslation.frame_b.f.1.|bodyCylinder.frameTranslation.frame_b.f.2.|bodyCylinder.frameTranslation.frame_b.f.3.|bodyCylinder.frameTranslation.frame_b.t.1.|bodyCylinder.frameTranslation.frame_b.t.2.|bodyCylinder.frameTranslation.frame_b.t.3.|Fixed3.frame_b.r_0.1.|Fixed3.frame_b.r_0.2.|Fixed3.frame_b.r_0.3.|Fixed3.frame_b.f.1.|Fixed3.frame_b.f.2.|Fixed3.frame_b.f.3.|Fixed3.frame_b.t.1.|Fixed3.frame_b.t.2.|Fixed3.frame_b.t.3.|Fixed4.frame_b.r_0.1.|Fixed4.frame_b.r_0.2.|Fixed4.frame_b.r_0.3.|Fixed4.frame_b.f.1.|Fixed4.frame_b.f.2.|Fixed4.frame_b.f.3.|Fixed4.frame_b.t.1.|Fixed4.frame_b.t.2.|Fixed4.frame_b.t.3.|Fixed5.frame_b.r_0.1.|Fixed5.frame_b.r_0.2.|Fixed5.frame_b.r_0.3.|Fixed5.frame_b.f.1.|Fixed5.frame_b.f.2.|Fixed5.frame_b.f.3.|Fixed5.frame_b.t.1.|Fixed5.frame_b.t.2.|Fixed5.frame_b.t.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.|Fixed2.frame_b.r_0.1.|Fixed2.frame_b.r_0.2.|Fixed2.frame_b.r_0.3.|Fixed2.frame_b.f.1.|Fixed2.frame_b.f.2.|Fixed2.frame_b.f.3.|Fixed2.frame_b.t.1.|Fixed2.frame_b.t.2.|Fixed2.frame_b.t.3.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.Bodies") Notification: Performance of loadModel(ModelicaTest): time 1.904/1.904, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.617e-05/2.628e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08867/0.08872, allocations: 48.7 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3529/0.4417, allocations: 88.44 MB / 415 MB, free: 3.359 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/0.4419, allocations: 77.95 kB / 415.1 MB, free: 3.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3712/0.8131, allocations: 96.16 MB / 0.4992 GB, free: 10.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.8132, allocations: 0 / 0.4992 GB, free: 10.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004002/0.8136, allocations: 76 kB / 0.4993 GB, free: 10.18 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1018 * Number of variables: 1018 Notification: Performance of Generate backend data structure: time 0.01308/0.8267, allocations: 4.096 MB / 0.5033 GB, free: 6.027 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.8267, allocations: 12.03 kB / 0.5033 GB, free: 6.016 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03427/0.861, allocations: 5.994 MB / 0.5092 GB, free: 8 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02656/0.8876, allocations: 8.967 MB / 0.5179 GB, free: 6.965 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003726/0.888, allocations: 242.6 kB / 0.5182 GB, free: 6.727 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001468/0.8895, allocations: 351.7 kB / 0.5185 GB, free: 6.383 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2579/1.148, allocations: 6.748 MB / 0.5251 GB, free: 91.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002767/1.148, allocations: 60.78 kB / 0.5251 GB, free: 91.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008102/1.149, allocations: 153.1 kB / 0.5253 GB, free: 91.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001488/1.15, allocations: 0.5869 MB / 0.5259 GB, free: 91.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01296/1.163, allocations: 4.815 MB / 0.5306 GB, free: 91.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04166/1.205, allocations: 28.33 MB / 0.5582 GB, free: 75.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003473/1.208, allocations: 0.7149 MB / 0.5589 GB, free: 75.26 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004881/1.209, allocations: 207.3 kB / 0.5591 GB, free: 75.22 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.733e-05/1.209, allocations: 7.953 kB / 0.5591 GB, free: 75.22 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/1.209, allocations: 50 kB / 0.5592 GB, free: 75.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 4.376e-06/1.209, allocations: 0 / 0.5592 GB, free: 75.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=37): time 0.01048/1.22, allocations: 1.985 MB / 0.5611 GB, free: 74.95 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/1.22, allocations: 246.3 kB / 0.5614 GB, free: 74.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009565/1.229, allocations: 4.126 MB / 0.5654 GB, free: 74.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.725e-05/1.229, allocations: 29.27 kB / 0.5654 GB, free: 74.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002277/1.232, allocations: 2.541 MB / 0.5679 GB, free: 73.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002662/1.232, allocations: 189.5 kB / 0.5681 GB, free: 73.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/1.232, allocations: 69.53 kB / 0.5681 GB, free: 73.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002299/1.232, allocations: 460 kB / 0.5686 GB, free: 72.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/1.234, allocations: 0.7371 MB / 0.5693 GB, free: 72.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002483/1.236, allocations: 3.326 MB / 0.5726 GB, free: 69.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002809/1.239, allocations: 1.506 MB / 0.574 GB, free: 69.44 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-05/1.239, allocations: 28.28 kB / 0.5741 GB, free: 69.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.008285/1.248, allocations: 3.687 MB / 0.5777 GB, free: 68.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.421e-05/1.248, allocations: 44.94 kB / 0.5777 GB, free: 68.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001006/1.248, allocations: 94.16 kB / 0.5778 GB, free: 68.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001522/1.248, allocations: 135.8 kB / 0.5779 GB, free: 68.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003344/1.251, allocations: 0.8575 MB / 0.5788 GB, free: 68.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001594/1.252, allocations: 185.3 kB / 0.5789 GB, free: 68.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005504/1.257, allocations: 0.6297 MB / 0.5795 GB, free: 68.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000579/1.258, allocations: 235.6 kB / 0.5798 GB, free: 68.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 427 * Number of states: 0 () * Number of discrete variables: 51 (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],Fixed2.color[3],Fixed2.color[2],Fixed2.color[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],Fixed5.color[3],Fixed5.color[2],Fixed5.color[1],Fixed4.color[3],Fixed4.color[2],Fixed4.color[1],Fixed3.color[3],Fixed3.color[2],Fixed3.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (446): * Single equations (assignments): 446 * 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.0005819/1.258, allocations: 422.7 kB / 0.5802 GB, free: 67.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008997/1.259, allocations: 380.8 kB / 0.5805 GB, free: 67.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/1.26, allocations: 399.5 kB / 0.5809 GB, free: 67.33 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/1.26, allocations: 10.38 kB / 0.5809 GB, free: 67.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.509e-06/1.26, allocations: 0 / 0.5809 GB, free: 67.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/1.26, allocations: 6.891 kB / 0.5809 GB, free: 67.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009774/1.27, allocations: 4.563 MB / 0.5854 GB, free: 65.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/1.27, allocations: 14.8 kB / 0.5854 GB, free: 65.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003735/1.271, allocations: 97.42 kB / 0.5855 GB, free: 65.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.16e-05/1.271, allocations: 19.12 kB / 0.5855 GB, free: 65.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.2e-05/1.271, allocations: 23.81 kB / 0.5855 GB, free: 65.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.74e-05/1.271, allocations: 21.98 kB / 0.5856 GB, free: 65 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.327e-05/1.271, allocations: 19.06 kB / 0.5856 GB, free: 65 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/1.273, allocations: 2.843 MB / 0.5884 GB, free: 62.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001432/1.274, allocations: 0.5017 MB / 0.5888 GB, free: 61.72 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007672/1.275, allocations: 26.73 kB / 0.5889 GB, free: 61.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00168/1.277, allocations: 67.06 kB / 0.5889 GB, free: 61.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/1.277, allocations: 69.05 kB / 0.589 GB, free: 61.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.133e-05/1.277, allocations: 31.06 kB / 0.589 GB, free: 61.67 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00685/1.284, allocations: 3.032 MB / 0.592 GB, free: 60.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.529e-06/1.284, allocations: 0 / 0.592 GB, free: 60.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005133/1.289, allocations: 0.8569 MB / 0.5928 GB, free: 60.45 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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.0002882/1.289, allocations: 142 kB / 0.593 GB, free: 60.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003541/1.293, allocations: 1.809 MB / 0.5947 GB, free: 59.74 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.505e-05/1.293, allocations: 0 / 0.5947 GB, free: 59.74 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004239/1.293, allocations: 222.8 kB / 0.5949 GB, free: 59.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004002/1.297, allocations: 0.6222 MB / 0.5955 GB, free: 59.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/1.312, allocations: 6.046 MB / 0.6014 GB, free: 56.81 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005413/1.317, allocations: 2.946 MB / 0.6043 GB, free: 55.65 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000712/1.318, allocations: 224.1 kB / 0.6045 GB, free: 55.64 MB / 426.7 MB Notification: Performance of SimCode: time 2.169e-06/1.318, allocations: 0 / 0.6045 GB, free: 55.64 MB / 426.7 MB Notification: Performance of Templates: time 0.07211/1.39, allocations: 46.46 MB / 0.6499 GB, free: 25.9 MB / 426.7 MB