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/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.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.952/1.952, allocations: 209.4 MB / 217.3 MB, free: 4.148 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.915e-05/1.923e-05, allocations: 4 kB / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2578, allocations: 48.69 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1351/0.3929, allocations: 92.07 MB / 412.1 MB, free: 4.344 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.3932, allocations: 75.95 kB / 412.1 MB, free: 4.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4911/0.8844, allocations: 80.1 MB / 492.2 MB, free: 79.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.842e-06/0.8844, allocations: 0 / 492.2 MB, free: 79.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001612/0.8846, allocations: 87.88 kB / 492.3 MB, free: 79.77 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: 1491 * Number of variables: 1491 Notification: Performance of Generate backend data structure: time 0.008409/0.893, allocations: 3.915 MB / 496.3 MB, free: 75.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.8931, allocations: 12.03 kB / 496.3 MB, free: 75.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01374/0.9068, allocations: 2.323 MB / 498.6 MB, free: 73.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01326/0.9201, allocations: 5.174 MB / 0.492 GB, free: 68.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.9203, allocations: 136 kB / 0.4921 GB, free: 68.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009892/0.9213, allocations: 244 kB / 0.4923 GB, free: 67.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01078/0.9321, allocations: 6.002 MB / 0.4982 GB, free: 61.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0159/0.948, allocations: 9.291 MB / 0.5072 GB, free: 51.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001768/0.9483, allocations: 67.39 kB / 0.5073 GB, free: 51.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006937/0.949, allocations: 39.92 kB / 0.5074 GB, free: 51.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00143/0.9504, allocations: 0.9976 MB / 0.5083 GB, free: 50.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04807/0.9985, allocations: 47.48 MB / 0.5547 GB, free: 1.508 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003893/1.002, allocations: 2.509 MB / 0.5571 GB, free: 14.85 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002428/1.005, allocations: 1.423 MB / 0.5585 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005002/1.005, allocations: 362.5 kB / 0.5589 GB, free: 13.01 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.165e-05/1.005, allocations: 55.23 kB / 0.5589 GB, free: 12.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=145): time 5.424e-06/1.005, allocations: 0 / 0.5589 GB, free: 12.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=163): time 0.0347/1.04, allocations: 12.95 MB / 0.5716 GB, free: 15.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/1.04, allocations: 157.8 kB / 0.5717 GB, free: 15.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006068/1.046, allocations: 3.067 MB / 0.5747 GB, free: 12.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003239/1.047, allocations: 25.7 kB / 0.5747 GB, free: 12.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003066/1.05, allocations: 3.154 MB / 0.5778 GB, free: 9.398 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001016/1.051, allocations: 0.648 MB / 0.5785 GB, free: 8.742 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004005/1.051, allocations: 0 / 0.5785 GB, free: 8.742 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005663/1.052, allocations: 0.5753 MB / 0.579 GB, free: 8.156 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003989/1.056, allocations: 1.922 MB / 0.5809 GB, free: 6.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007984/1.064, allocations: 5.835 MB / 0.5866 GB, free: 14.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006763/1.071, allocations: 3.322 MB / 0.5898 GB, free: 11.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.794e-05/1.071, allocations: 44 kB / 0.5899 GB, free: 11.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=820) (initialization): time 0.01871/1.09, allocations: 7.483 MB / 0.5972 GB, free: 3.551 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001172/1.09, allocations: 72.23 kB / 0.5973 GB, free: 3.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005931/1.096, allocations: 2.415 MB / 0.5996 GB, free: 1.059 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2455/1.341, allocations: 1.049 MB / 0.6006 GB, free: 111.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006485/1.348, allocations: 1.459 MB / 0.6021 GB, free: 111.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004809/1.353, allocations: 4.149 MB / 0.6061 GB, free: 109.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006081/1.359, allocations: 276.3 kB / 0.6064 GB, free: 109.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001275/1.36, allocations: 400.9 kB / 0.6068 GB, free: 109.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 643 * 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 (785): * Single equations (assignments): 776 * 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.001147/1.361, allocations: 453.4 kB / 0.6072 GB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006691/1.362, allocations: 324.8 kB / 0.6075 GB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006527/1.368, allocations: 2.87 MB / 0.6103 GB, free: 109.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005268/1.374, allocations: 2.43 MB / 0.6127 GB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/1.374, allocations: 0 / 0.6127 GB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.749e-05/1.374, allocations: 6.75 kB / 0.6127 GB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01873/1.393, allocations: 8.779 MB / 0.6213 GB, free: 108.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/1.393, allocations: 3.969 kB / 0.6213 GB, free: 108.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001481/1.394, allocations: 264.5 kB / 0.6215 GB, free: 108.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003559/1.398, allocations: 0.9975 MB / 0.6225 GB, free: 108.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002194/1.398, allocations: 26.02 kB / 0.6225 GB, free: 108.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005865/1.404, allocations: 4.719 MB / 0.6271 GB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008558/1.405, allocations: 1.388 MB / 0.6285 GB, free: 104.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01008/1.415, allocations: 5.602 MB / 0.6339 GB, free: 102.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009251/1.416, allocations: 386.5 kB / 0.6343 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005458/1.416, allocations: 15.36 kB / 0.6343 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/1.418, allocations: 108.6 kB / 0.6344 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003079/1.419, allocations: 104.4 kB / 0.6345 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001759/1.419, allocations: 58.36 kB / 0.6346 GB, free: 102 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003367/1.422, allocations: 2.023 MB / 0.6366 GB, free: 101.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.396e-06/1.422, allocations: 2.812 kB / 0.6366 GB, free: 101.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006372/1.429, allocations: 0.899 MB / 0.6374 GB, free: 101.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 12 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.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 (132): * Single equations (assignments): 125 * 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.0004789/1.429, allocations: 158.4 kB / 0.6376 GB, free: 101.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009561/1.439, allocations: 5.095 MB / 0.6426 GB, free: 99.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.597e-06/1.439, allocations: 0 / 0.6426 GB, free: 99.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004662/1.443, allocations: 2.109 MB / 0.6446 GB, free: 98.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/1.446, allocations: 347.8 kB / 0.645 GB, free: 98.35 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01854/1.464, allocations: 8.244 MB / 0.653 GB, free: 93.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006343/1.471, allocations: 3.301 MB / 0.6562 GB, free: 91.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/1.472, allocations: 283.7 kB / 0.6565 GB, free: 91.12 MB / 426.7 MB Notification: Performance of SimCode: time 1.807e-06/1.472, allocations: 0 / 0.6565 GB, free: 91.12 MB / 426.7 MB Notification: Performance of Templates: time 0.4297/1.902, allocations: 121.3 MB / 0.7749 GB, free: 129 MB / 442.7 MB