Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.BodyShape.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadModel(ModelicaTest): time 2.243/2.243, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004308/0.000431, allocations: 8 kB / 314.3 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2757, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.05203/0.3278, allocations: 37.85 MB / 407 MB, free: 4.75 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02344/0.3513, allocations: 9.44 MB / 416.5 MB, free: 11.28 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006957/0.3583, allocations: 187.5 kB / 416.7 MB, free: 11.1 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005841/0.3641, allocations: 1.905 MB / 418.6 MB, free: 9.184 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01851/0.3827, allocations: 5.47 MB / 424 MB, free: 3.699 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002996/0.3857, allocations: 0.5966 MB / 424.6 MB, free: 3.102 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00528/0.3911, allocations: 2.411 MB / 427 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007506/0.3986, allocations: 3.997 MB / 431 MB, free: 12.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001995/0.4006, allocations: 1.008 MB / 432 MB, free: 11.61 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002087/0.4028, allocations: 1.281 MB / 433.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005233/0.4033, allocations: 136 kB / 433.5 MB, free: 10.19 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002305/0.4056, allocations: 0.9362 MB / 434.4 MB, free: 9.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002333/0.408, allocations: 1.562 MB / 436 MB, free: 7.684 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00118/0.4092, allocations: 0.8272 MB / 436.8 MB, free: 6.848 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008133/0.4174, allocations: 5.394 MB / 442.2 MB, free: 1.441 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.963e-06/0.4174, allocations: 0 / 442.2 MB, free: 1.441 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.4174, allocations: 0 / 442.2 MB, free: 1.441 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001311/0.4176, allocations: 0 / 442.2 MB, free: 1.441 MB / 362.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.009278/0.4269, allocations: 3.984 MB / 446.2 MB, free: 13.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.4269, allocations: 12.03 kB / 446.2 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01083/0.4378, allocations: 2.295 MB / 448.5 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006473/0.4443, allocations: 2.702 MB / 451.2 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002765/0.4446, allocations: 238 kB / 451.4 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001607/0.4462, allocations: 399.5 kB / 451.8 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02312/0.4693, allocations: 10.03 MB / 461.8 MB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001535/0.4695, allocations: 43.59 kB / 461.9 MB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005951/0.4702, allocations: 151.9 kB / 462 MB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003801/0.474, allocations: 1.841 MB / 463.9 MB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02211/0.4961, allocations: 8.478 MB / 472.3 MB, free: 2.434 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3391/0.8353, allocations: 39.23 MB / 0.4996 GB, free: 60.46 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01089/0.8463, allocations: 3.585 MB / 0.5031 GB, free: 58.41 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01167/0.858, allocations: 7.199 MB / 0.5101 GB, free: 51.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.8581, allocations: 47.56 kB / 0.5102 GB, free: 50.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=139): time 5.928e-06/0.8581, allocations: 3.938 kB / 0.5102 GB, free: 50.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=155): time 0.04394/0.902, allocations: 14.45 MB / 0.5243 GB, free: 36.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0011/0.9032, allocations: 1.603 MB / 0.5258 GB, free: 34.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005921/0.9091, allocations: 4.128 MB / 0.5299 GB, free: 30.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003044/0.9095, allocations: 47.19 kB / 0.5299 GB, free: 30.36 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001853/0.9113, allocations: 3.065 MB / 0.5329 GB, free: 27.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007621/0.9121, allocations: 0.632 MB / 0.5335 GB, free: 26.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003933/0.9125, allocations: 120 kB / 0.5336 GB, free: 26.56 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003139/0.9129, allocations: 0.559 MB / 0.5342 GB, free: 25.99 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003895/0.9168, allocations: 2.061 MB / 0.5362 GB, free: 23.92 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005751/0.9226, allocations: 5.834 MB / 0.5419 GB, free: 16.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005996/0.9286, allocations: 3.374 MB / 0.5452 GB, free: 12.81 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.434e-05/0.9287, allocations: 44 kB / 0.5452 GB, free: 12.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.02379/0.9525, allocations: 9.248 MB / 0.5543 GB, free: 3.504 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.9527, allocations: 64.94 kB / 0.5543 GB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01187/0.9646, allocations: 3.568 MB / 0.5578 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01236/0.977, allocations: 2.289 MB / 0.56 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005753/0.9828, allocations: 1.388 MB / 0.5614 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01324/0.9961, allocations: 6.642 MB / 0.5679 GB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005656/1.002, allocations: 403.4 kB / 0.5683 GB, free: 4.855 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001035/1.003, allocations: 383.8 kB / 0.5686 GB, free: 4.484 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): 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 prepare postOptimizeDAE: time 0.004889/1.008, allocations: 2.064 MB / 0.5706 GB, free: 2.406 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008243/1.009, allocations: 340.9 kB / 0.571 GB, free: 2.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008584/1.017, allocations: 3.008 MB / 0.5739 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00719/1.024, allocations: 2.527 MB / 0.5764 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.775e-05/1.024, allocations: 4 kB / 0.5764 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.644e-05/1.025, allocations: 7.969 kB / 0.5764 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02347/1.048, allocations: 9.384 MB / 0.5856 GB, free: 2.965 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.777e-05/1.048, allocations: 7.953 kB / 0.5856 GB, free: 2.957 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/1.05, allocations: 263.9 kB / 0.5858 GB, free: 2.699 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004394/1.054, allocations: 1.057 MB / 0.5868 GB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003169/1.055, allocations: 51.95 kB / 0.5869 GB, free: 1.578 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007953/1.062, allocations: 4.886 MB / 0.5917 GB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001526/1.064, allocations: 1.462 MB / 0.5931 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01206/1.076, allocations: 5.372 MB / 0.5983 GB, free: 5.387 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/1.077, allocations: 412.4 kB / 0.5987 GB, free: 4.961 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005431/1.078, allocations: 34.53 kB / 0.5988 GB, free: 4.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001871/1.08, allocations: 131.8 kB / 0.5989 GB, free: 4.801 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003256/1.08, allocations: 112.7 kB / 0.599 GB, free: 4.688 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001732/1.08, allocations: 43.98 kB / 0.599 GB, free: 4.645 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005164/1.085, allocations: 2.587 MB / 0.6016 GB, free: 2.078 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.96e-07/1.085, allocations: 0 / 0.6016 GB, free: 2.078 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006398/1.092, allocations: 1.038 MB / 0.6026 GB, free: 1.043 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 () * 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.0006218/1.093, allocations: 201.3 kB / 0.6028 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0128/1.105, allocations: 5.506 MB / 0.6081 GB, free: 11.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.875e-06/1.105, allocations: 4 kB / 0.6082 GB, free: 11.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00527/1.111, allocations: 2.077 MB / 0.6102 GB, free: 9.152 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/1.113, allocations: 427.8 kB / 0.6106 GB, free: 8.734 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0234/1.137, allocations: 11.58 MB / 0.6219 GB, free: 13.05 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005953/1.143, allocations: 3.285 MB / 0.6251 GB, free: 9.742 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/1.144, allocations: 295.3 kB / 0.6254 GB, free: 9.453 MB / 474.7 MB Notification: Performance of SimCode: time 2.071e-06/1.144, allocations: 0 / 0.6254 GB, free: 9.453 MB / 474.7 MB Notification: Performance of Templates: time 0.43/1.574, allocations: 124 MB / 0.7465 GB, free: 81.54 MB / 490.7 MB