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.BodyShape.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.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadModel(ModelicaTest): time 1.747/1.747, allocations: 209.3 MB / 222.4 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.915e-05/2.936e-05, allocations: 7.984 kB / 277.8 MB, free: 12.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08369/0.08374, allocations: 48.71 MB / 326.5 MB, free: 11.58 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3406/0.4244, allocations: 92.73 MB / 419.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.4247, allocations: 75.95 kB / 419.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.531/0.9557, allocations: 81.91 MB / 0.4895 GB, free: 87.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.92e-06/0.9558, allocations: 4.844 kB / 0.4895 GB, free: 87.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002308/0.956, allocations: 81.67 kB / 0.4896 GB, free: 87.45 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: 1491 * Number of variables: 1491 Notification: Performance of Generate backend data structure: time 0.01139/0.9674, allocations: 3.916 MB / 0.4934 GB, free: 85.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.9675, allocations: 9.406 kB / 0.4934 GB, free: 85.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01334/0.9809, allocations: 2.33 MB / 0.4957 GB, free: 85.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01526/0.9962, allocations: 5.181 MB / 0.5008 GB, free: 84.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004151/0.9966, allocations: 316.8 kB / 0.5011 GB, free: 84.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001778/0.9984, allocations: 428.8 kB / 0.5015 GB, free: 84.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.023/1.021, allocations: 10.32 MB / 0.5115 GB, free: 82.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002053/1.022, allocations: 67.34 kB / 0.5116 GB, free: 82.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001041/1.023, allocations: 202.6 kB / 0.5118 GB, free: 82.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001528/1.024, allocations: 1.002 MB / 0.5128 GB, free: 82.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01871/1.043, allocations: 8.315 MB / 0.5209 GB, free: 81.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05046/1.094, allocations: 48.3 MB / 0.5681 GB, free: 44.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01111/1.105, allocations: 3.553 MB / 0.5715 GB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002467/1.107, allocations: 1.519 MB / 0.573 GB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01152/1.119, allocations: 6.981 MB / 0.5798 GB, free: 38.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/1.119, allocations: 47 kB / 0.5799 GB, free: 38.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 5.846e-06/1.119, allocations: 0 / 0.5799 GB, free: 38.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=155): time 0.0372/1.156, allocations: 11.89 MB / 0.5915 GB, free: 28.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001118/1.157, allocations: 1.594 MB / 0.593 GB, free: 26.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006016/1.163, allocations: 3.439 MB / 0.5964 GB, free: 23.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002919/1.164, allocations: 45.7 kB / 0.5964 GB, free: 23.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001742/1.165, allocations: 3.078 MB / 0.5994 GB, free: 20.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006814/1.166, allocations: 0.6325 MB / 0.6001 GB, free: 20.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003373/1.166, allocations: 119.3 kB / 0.6002 GB, free: 20.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003493/1.167, allocations: 0.5685 MB / 0.6007 GB, free: 19.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003545/1.17, allocations: 1.949 MB / 0.6026 GB, free: 17.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00553/1.176, allocations: 5.74 MB / 0.6082 GB, free: 10.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006067/1.182, allocations: 3.32 MB / 0.6115 GB, free: 7.582 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.689e-05/1.182, allocations: 40 kB / 0.6115 GB, free: 7.543 MB / 410.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.01733/1.199, allocations: 8.024 MB / 0.6194 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.235e-05/1.2, allocations: 62.97 kB / 0.6194 GB, free: 456 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006159/1.206, allocations: 2.423 MB / 0.6218 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003867/1.21, allocations: 1.052 MB / 0.6228 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005945/1.216, allocations: 1.4 MB / 0.6242 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006475/1.222, allocations: 4.33 MB / 0.6284 GB, free: 6.957 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006045/1.228, allocations: 391.3 kB / 0.6288 GB, free: 6.574 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001176/1.229, allocations: 379.1 kB / 0.6291 GB, free: 6.207 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 616 * Number of states: 0 () * Number of discrete variables: 36 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (750): * Single equations (assignments): 741 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001456/1.231, allocations: 0.5677 MB / 0.6297 GB, free: 5.633 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008272/1.232, allocations: 331.7 kB / 0.63 GB, free: 5.305 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008118/1.24, allocations: 2.93 MB / 0.6329 GB, free: 2.363 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006782/1.247, allocations: 2.441 MB / 0.6353 GB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-05/1.247, allocations: 4 kB / 0.6353 GB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.158e-05/1.247, allocations: 7.969 kB / 0.6353 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02363/1.27, allocations: 9.186 MB / 0.6442 GB, free: 6.562 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.06e-05/1.271, allocations: 4 kB / 0.6442 GB, free: 6.559 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/1.272, allocations: 247.6 kB / 0.6445 GB, free: 6.316 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00415/1.276, allocations: 1.014 MB / 0.6455 GB, free: 5.289 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002886/1.277, allocations: 42.94 kB / 0.6455 GB, free: 5.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007879/1.285, allocations: 4.831 MB / 0.6502 GB, free: 164 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2448/1.529, allocations: 1.448 MB / 0.6516 GB, free: 104.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01194/1.541, allocations: 5.555 MB / 0.6571 GB, free: 103.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/1.543, allocations: 400.6 kB / 0.6575 GB, free: 103.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008297/1.543, allocations: 34.09 kB / 0.6575 GB, free: 103.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002367/1.546, allocations: 126 kB / 0.6576 GB, free: 103.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004517/1.546, allocations: 106 kB / 0.6577 GB, free: 103.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001971/1.547, allocations: 49.62 kB / 0.6578 GB, free: 103.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006155/1.553, allocations: 2.371 MB / 0.6601 GB, free: 103.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.146e-06/1.553, allocations: 3.844 kB / 0.6601 GB, free: 103.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007026/1.56, allocations: 1.005 MB / 0.6611 GB, free: 103.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 117 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006128/1.56, allocations: 173.2 kB / 0.6612 GB, free: 103.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01307/1.574, allocations: 5.264 MB / 0.6664 GB, free: 103.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.343e-06/1.574, allocations: 3.453 kB / 0.6664 GB, free: 103.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005277/1.579, allocations: 2.091 MB / 0.6684 GB, free: 102.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003058/1.582, allocations: 423.4 kB / 0.6688 GB, free: 102.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01854/1.601, allocations: 8.244 MB / 0.6769 GB, free: 100.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005177/1.606, allocations: 3.296 MB / 0.6801 GB, free: 100.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/1.607, allocations: 288.8 kB / 0.6804 GB, free: 100.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.852e-06/1.607, allocations: 3.5 kB / 0.6804 GB, free: 100.1 MB / 442.7 MB Notification: Performance of Templates: time 0.1539/1.761, allocations: 122.5 MB / 0.8 GB, free: 11.22 MB / 442.7 MB