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.816/1.816, allocations: 209.3 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004361/0.0004364, allocations: 12 kB / 282.5 MB, free: 9.633 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2814, allocations: 48.7 MB / 331.2 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.04918/0.3306, allocations: 37.84 MB / 369 MB, free: 8.617 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02463/0.3553, allocations: 9.42 MB / 378.4 MB, free: 15.17 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008272/0.3636, allocations: 187.5 kB / 378.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00618/0.3698, allocations: 1.898 MB / 380.5 MB, free: 13.08 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01937/0.3893, allocations: 5.482 MB / 386 MB, free: 7.582 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003046/0.3923, allocations: 0.6044 MB / 386.6 MB, free: 6.977 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005421/0.3978, allocations: 2.411 MB / 389 MB, free: 4.559 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007273/0.4051, allocations: 4.001 MB / 393 MB, free: 500 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00188/0.407, allocations: 1.008 MB / 394 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002135/0.4092, allocations: 1.281 MB / 395.3 MB, free: 14.19 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000449/0.4097, allocations: 132 kB / 395.4 MB, free: 14.06 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002173/0.4119, allocations: 0.9244 MB / 396.4 MB, free: 13.14 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002027/0.4139, allocations: 1.555 MB / 397.9 MB, free: 11.58 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.415, allocations: 0.8233 MB / 398.7 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007949/0.423, allocations: 5.386 MB / 404.1 MB, free: 5.348 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.541e-06/0.423, allocations: 4 kB / 404.1 MB, free: 5.344 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.69e-06/0.423, allocations: 0 / 404.1 MB, free: 5.344 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001146/0.4231, allocations: 0 / 404.1 MB, free: 5.344 MB / 330.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.009387/0.4325, allocations: 3.98 MB / 408.1 MB, free: 1.297 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.4326, allocations: 8.031 kB / 408.1 MB, free: 1.289 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01072/0.4433, allocations: 2.28 MB / 410.4 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006449/0.4498, allocations: 2.694 MB / 413.1 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002927/0.4502, allocations: 234 kB / 413.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001538/0.4517, allocations: 407.3 kB / 413.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02258/0.4743, allocations: 10.02 MB / 423.7 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001458/0.4745, allocations: 51.53 kB / 423.8 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005733/0.4751, allocations: 151.8 kB / 423.9 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003707/0.4788, allocations: 1.845 MB / 425.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02227/0.5011, allocations: 8.467 MB / 434.3 MB, free: 6.379 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06345/0.5646, allocations: 39.22 MB / 473.5 MB, free: 13.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01216/0.5768, allocations: 3.598 MB / 477.1 MB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01467/0.5915, allocations: 7.175 MB / 484.2 MB, free: 2.727 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.378e-05/0.5916, allocations: 47.56 kB / 484.3 MB, free: 2.672 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 5.892e-06/0.5917, allocations: 0 / 484.3 MB, free: 2.672 MB / 410.7 MB Notification: Performance of matching and sorting (n=155): time 0.2714/0.8631, allocations: 14.46 MB / 498.7 MB, free: 127.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0012/0.8643, allocations: 1.599 MB / 0.4886 GB, free: 125.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007396/0.8717, allocations: 4.117 MB / 0.4926 GB, free: 124.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002974/0.8721, allocations: 43.64 kB / 0.4927 GB, free: 124.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002014/0.8741, allocations: 3.083 MB / 0.4957 GB, free: 121.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008081/0.875, allocations: 0.6313 MB / 0.4963 GB, free: 121.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004606/0.8754, allocations: 120.8 kB / 0.4964 GB, free: 121.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003509/0.8758, allocations: 0.562 MB / 0.497 GB, free: 121 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004197/0.88, allocations: 2.026 MB / 0.4989 GB, free: 120.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006109/0.8862, allocations: 5.815 MB / 0.5046 GB, free: 114.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006265/0.8925, allocations: 3.343 MB / 0.5079 GB, free: 112.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000108/0.8926, allocations: 38.22 kB / 0.5079 GB, free: 112.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.01872/0.9114, allocations: 8.34 MB / 0.5161 GB, free: 105.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.9115, allocations: 64 kB / 0.5161 GB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006222/0.9178, allocations: 2.66 MB / 0.5187 GB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004388/0.9222, allocations: 1.295 MB / 0.52 GB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005083/0.9273, allocations: 1.388 MB / 0.5214 GB, free: 100 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005885/0.9332, allocations: 4.911 MB / 0.5261 GB, free: 94.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005774/0.9391, allocations: 391.3 kB / 0.5265 GB, free: 94.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008862/0.94, allocations: 381.1 kB / 0.5269 GB, free: 94.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 614 * 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 (745): * Single equations (assignments): 736 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.003977/0.944, allocations: 2.064 MB / 0.5289 GB, free: 92.03 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007682/0.9448, allocations: 335.6 kB / 0.5292 GB, free: 91.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007144/0.9519, allocations: 3.019 MB / 0.5322 GB, free: 88.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005954/0.9579, allocations: 2.527 MB / 0.5346 GB, free: 86.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/0.958, allocations: 4 kB / 0.5346 GB, free: 86.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.01e-05/0.958, allocations: 3.984 kB / 0.5346 GB, free: 86.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03036/0.9884, allocations: 9.385 MB / 0.5438 GB, free: 76.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-05/0.9885, allocations: 4 kB / 0.5438 GB, free: 76.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002675/0.9912, allocations: 255.6 kB / 0.5441 GB, free: 76.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006779/0.998, allocations: 1.067 MB / 0.5451 GB, free: 75.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003249/0.9984, allocations: 47.97 kB / 0.5451 GB, free: 75.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00589/1.004, allocations: 4.887 MB / 0.5499 GB, free: 70.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009511/1.005, allocations: 1.467 MB / 0.5513 GB, free: 68.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/1.015, allocations: 5.375 MB / 0.5566 GB, free: 63.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/1.017, allocations: 400.5 kB / 0.557 GB, free: 62.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008795/1.017, allocations: 39.98 kB / 0.557 GB, free: 62.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002438/1.02, allocations: 129 kB / 0.5571 GB, free: 62.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004307/1.02, allocations: 108.8 kB / 0.5572 GB, free: 62.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/1.021, allocations: 51.97 kB / 0.5573 GB, free: 62.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004891/1.025, allocations: 2.579 MB / 0.5598 GB, free: 59.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.321e-06/1.025, allocations: 0 / 0.5598 GB, free: 59.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006544/1.032, allocations: 1.03 MB / 0.5608 GB, free: 58.7 MB / 410.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.0007001/1.033, allocations: 184.4 kB / 0.561 GB, free: 58.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01056/1.043, allocations: 5.445 MB / 0.5663 GB, free: 53.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.725e-06/1.043, allocations: 8 kB / 0.5663 GB, free: 53.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004361/1.048, allocations: 2.083 MB / 0.5684 GB, free: 50.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/1.05, allocations: 435.8 kB / 0.5688 GB, free: 50.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0186/1.069, allocations: 11.57 MB / 0.5801 GB, free: 38.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004912/1.074, allocations: 3.305 MB / 0.5833 GB, free: 35.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/1.075, allocations: 287.4 kB / 0.5836 GB, free: 35.18 MB / 410.7 MB Notification: Performance of SimCode: time 1.887e-06/1.075, allocations: 0 / 0.5836 GB, free: 35.18 MB / 410.7 MB Notification: Performance of Templates: time 0.3972/1.472, allocations: 123.2 MB / 0.7039 GB, free: 69.34 MB / 426.7 MB