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.789/1.789, allocations: 209.3 MB / 224.9 MB, free: 192 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004311/0.0004312, allocations: 8 kB / 282.6 MB, free: 9.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2781, allocations: 48.7 MB / 331.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.4129, allocations: 92.82 MB / 424.1 MB, free: 1.582 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.4132, allocations: 75.95 kB / 424.2 MB, free: 1.508 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5168/0.93, allocations: 81.88 MB / 0.4942 GB, free: 91.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.93, allocations: 0 / 0.4942 GB, free: 91.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001695/0.9302, allocations: 82.88 kB / 0.4943 GB, free: 91.75 MB / 394.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.0099/0.9401, allocations: 4.172 MB / 0.4983 GB, free: 89.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.9402, allocations: 14.64 kB / 0.4983 GB, free: 89.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0127/0.9529, allocations: 2.324 MB / 0.5006 GB, free: 89.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01371/0.9667, allocations: 5.207 MB / 0.5057 GB, free: 86.83 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002349/0.9669, allocations: 321.3 kB / 0.506 GB, free: 86.7 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009906/0.9679, allocations: 427.7 kB / 0.5064 GB, free: 86.58 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01957/0.9875, allocations: 10.39 MB / 0.5166 GB, free: 78.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001673/0.9877, allocations: 67.41 kB / 0.5166 GB, free: 78.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000693/0.9884, allocations: 204.8 kB / 0.5168 GB, free: 78.1 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001452/0.9899, allocations: 0.9901 MB / 0.5178 GB, free: 77.11 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01747/1.007, allocations: 8.441 MB / 0.526 GB, free: 68.65 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04977/1.057, allocations: 48.3 MB / 0.5732 GB, free: 18.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01042/1.068, allocations: 3.579 MB / 0.5767 GB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01193/1.08, allocations: 6.984 MB / 0.5835 GB, free: 8.027 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/1.08, allocations: 51.56 kB / 0.5836 GB, free: 7.969 MB / 394.7 MB Notification: Performance of pre-optimization done (n=139): time 5.251e-06/1.08, allocations: 0 / 0.5836 GB, free: 7.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=155): time 0.04391/1.124, allocations: 14.08 MB / 0.5973 GB, free: 9.668 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001792/1.125, allocations: 1.604 MB / 0.5989 GB, free: 7.891 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007323/1.133, allocations: 3.477 MB / 0.6023 GB, free: 4.434 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003336/1.133, allocations: 49.89 kB / 0.6023 GB, free: 4.379 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003318/1.137, allocations: 3.074 MB / 0.6053 GB, free: 1.309 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001046/1.138, allocations: 0.6384 MB / 0.606 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007426/1.138, allocations: 116 kB / 0.6061 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0008314/1.139, allocations: 0.5591 MB / 0.6066 GB, free: 15.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007937/1.147, allocations: 1.995 MB / 0.6086 GB, free: 13.99 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01321/1.16, allocations: 5.777 MB / 0.6142 GB, free: 6.309 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01185/1.172, allocations: 3.312 MB / 0.6174 GB, free: 2.992 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001821/1.173, allocations: 40 kB / 0.6175 GB, free: 2.953 MB / 426.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.288/1.461, allocations: 8.121 MB / 0.6254 GB, free: 106.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001332/1.461, allocations: 62.66 kB / 0.6255 GB, free: 106.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006418/1.467, allocations: 2.448 MB / 0.6279 GB, free: 106.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004066/1.471, allocations: 1.055 MB / 0.6289 GB, free: 106.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005926/1.477, allocations: 1.399 MB / 0.6302 GB, free: 106.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005171/1.483, allocations: 4.371 MB / 0.6345 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005902/1.488, allocations: 385.8 kB / 0.6349 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009301/1.489, allocations: 377 kB / 0.6352 GB, free: 104.2 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 () * Number of clocked 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.004265/1.494, allocations: 2.066 MB / 0.6373 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008144/1.495, allocations: 347 kB / 0.6376 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007591/1.502, allocations: 2.935 MB / 0.6405 GB, free: 103.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006392/1.509, allocations: 2.467 MB / 0.6429 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.832e-05/1.509, allocations: 0 / 0.6429 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-05/1.509, allocations: 12.17 kB / 0.6429 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02178/1.531, allocations: 9.222 MB / 0.6519 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.136e-05/1.531, allocations: 3.438 kB / 0.6519 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/1.532, allocations: 250.3 kB / 0.6521 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003676/1.536, allocations: 1.019 MB / 0.6531 GB, free: 99.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003359/1.536, allocations: 41.64 kB / 0.6532 GB, free: 99.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006384/1.543, allocations: 4.928 MB / 0.658 GB, free: 96.69 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009032/1.543, allocations: 1.464 MB / 0.6594 GB, free: 95.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/1.554, allocations: 5.603 MB / 0.6649 GB, free: 92.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/1.555, allocations: 401.7 kB / 0.6653 GB, free: 92.58 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005584/1.555, allocations: 32.2 kB / 0.6653 GB, free: 92.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002033/1.557, allocations: 126.2 kB / 0.6654 GB, free: 92.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003123/1.558, allocations: 104.8 kB / 0.6655 GB, free: 92.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001783/1.558, allocations: 51.2 kB / 0.6656 GB, free: 92.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004928/1.563, allocations: 2.4 MB / 0.6679 GB, free: 91.72 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.169e-06/1.563, allocations: 0.875 kB / 0.6679 GB, free: 91.72 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006656/1.569, allocations: 1.014 MB / 0.6689 GB, free: 91.61 MB / 426.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 () * Number of clocked 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.0005812/1.57, allocations: 173.6 kB / 0.6691 GB, free: 91.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01119/1.581, allocations: 5.33 MB / 0.6743 GB, free: 89.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.124e-06/1.581, allocations: 0 / 0.6743 GB, free: 89.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005099/1.586, allocations: 2.12 MB / 0.6763 GB, free: 88.72 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002845/1.589, allocations: 421.4 kB / 0.6767 GB, free: 88.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02145/1.611, allocations: 11.47 MB / 0.6879 GB, free: 78.83 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006153/1.617, allocations: 3.298 MB / 0.6912 GB, free: 76.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/1.618, allocations: 286.4 kB / 0.6914 GB, free: 76.05 MB / 426.7 MB Notification: Performance of SimCode: time 2.742e-06/1.618, allocations: 0 / 0.6914 GB, free: 76.05 MB / 426.7 MB Notification: Performance of Templates: time 0.4077/2.026, allocations: 122.5 MB / 0.8111 GB, free: 116.4 MB / 442.7 MB