Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.916/1.916, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000434/0.0004341, allocations: 16 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3374, allocations: 48.71 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.04574/0.3832, allocations: 31.6 MB / 362.9 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02128/0.4046, allocations: 7.32 MB / 370.2 MB, free: 7.504 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007028/0.4117, allocations: 147.7 kB / 370.3 MB, free: 7.359 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005962/0.4177, allocations: 1.629 MB / 372 MB, free: 5.723 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01777/0.4355, allocations: 4.613 MB / 376.6 MB, free: 1.098 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002321/0.4379, allocations: 251.7 kB / 376.8 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003509/0.4414, allocations: 1.358 MB / 378.2 MB, free: 15.49 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005891/0.4473, allocations: 2.977 MB / 381.2 MB, free: 12.46 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/0.4485, allocations: 0.5917 MB / 381.8 MB, free: 11.86 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.4499, allocations: 0.7669 MB / 382.5 MB, free: 11.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003798/0.4503, allocations: 96 kB / 382.6 MB, free: 11 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001373/0.4517, allocations: 0.5149 MB / 383.1 MB, free: 10.48 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00127/0.453, allocations: 0.9741 MB / 384.1 MB, free: 9.508 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006979/0.4537, allocations: 0.5468 MB / 384.7 MB, free: 8.953 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005403/0.4591, allocations: 3.612 MB / 388.3 MB, free: 5.332 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4592, allocations: 0 / 388.3 MB, free: 5.332 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.4592, allocations: 0 / 388.3 MB, free: 5.332 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001097/0.4593, allocations: 0 / 388.3 MB, free: 5.332 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.006891/0.4662, allocations: 2.593 MB / 390.9 MB, free: 2.672 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.4663, allocations: 8.031 kB / 390.9 MB, free: 2.664 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001277/0.4676, allocations: 0.5088 MB / 391.4 MB, free: 2.145 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/0.4787, allocations: 1.934 MB / 393.3 MB, free: 208 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004079/0.4828, allocations: 1.362 MB / 394.7 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001686/0.483, allocations: 155.9 kB / 394.8 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006269/0.4836, allocations: 195.9 kB / 395 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01596/0.4996, allocations: 6.807 MB / 401.8 MB, free: 7.312 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.162e-05/0.4998, allocations: 15.88 kB / 401.8 MB, free: 7.297 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000452/0.5002, allocations: 95.84 kB / 401.9 MB, free: 7.203 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00397/0.5042, allocations: 1.474 MB / 403.4 MB, free: 5.727 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01719/0.5214, allocations: 5.833 MB / 409.2 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04294/0.5644, allocations: 21.53 MB / 430.8 MB, free: 9.758 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007475/0.5719, allocations: 2.252 MB / 433 MB, free: 7.383 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01056/0.5825, allocations: 3.765 MB / 436.8 MB, free: 3.473 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/0.5826, allocations: 39.06 kB / 436.8 MB, free: 3.422 MB / 362.7 MB Notification: Performance of pre-optimization done (n=93): time 4.459e-06/0.5827, allocations: 4 kB / 436.8 MB, free: 3.418 MB / 362.7 MB Notification: Performance of matching and sorting (n=93): time 0.009771/0.5924, allocations: 2.441 MB / 439.3 MB, free: 0.918 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.5925, allocations: 63.92 kB / 439.3 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003908/0.5965, allocations: 1.987 MB / 441.3 MB, free: 14.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001561/0.5967, allocations: 41.69 kB / 441.4 MB, free: 14.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001791/0.5985, allocations: 1.955 MB / 443.3 MB, free: 12.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005483/0.599, allocations: 363.3 kB / 443.7 MB, free: 12.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.5993, allocations: 64 kB / 443.7 MB, free: 12.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002981/0.5996, allocations: 457.8 kB / 444.2 MB, free: 11.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002472/0.6021, allocations: 0.947 MB / 445.1 MB, free: 10.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003884/0.606, allocations: 2.892 MB / 448 MB, free: 7.133 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00391/0.6099, allocations: 1.654 MB / 449.7 MB, free: 5.477 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.806e-05/0.61, allocations: 20 kB / 449.7 MB, free: 5.457 MB / 378.7 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.009509/0.6195, allocations: 3.684 MB / 453.4 MB, free: 1.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.946e-05/0.6196, allocations: 32 kB / 453.4 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.793e-05/0.6197, allocations: 68 kB / 453.5 MB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000145/0.6199, allocations: 100 kB / 453.6 MB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004233/0.6241, allocations: 0.7135 MB / 454.3 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001497/0.6243, allocations: 135.5 kB / 454.4 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003121/0.6275, allocations: 447.8 kB / 454.9 MB, free: 292 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005039/0.628, allocations: 196 kB / 455 MB, free: 96 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 21 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (388): * Single equations (assignments): 383 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003211/0.6312, allocations: 1.416 MB / 456.5 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003875/0.6316, allocations: 169.8 kB / 456.6 MB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003108/0.6348, allocations: 1.189 MB / 457.8 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.308e-05/0.6348, allocations: 11.98 kB / 457.8 MB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.6349, allocations: 0 / 457.8 MB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.6349, allocations: 7.938 kB / 457.8 MB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01262/0.6475, allocations: 4.959 MB / 462.8 MB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.992e-05/0.6476, allocations: 15.98 kB / 462.8 MB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.6486, allocations: 131.8 kB / 462.9 MB, free: 7.992 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.871e-05/0.6487, allocations: 19.98 kB / 463 MB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.183e-05/0.6488, allocations: 24 kB / 463 MB, free: 7.949 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.133e-05/0.6488, allocations: 15.94 kB / 463 MB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-05/0.6488, allocations: 11.94 kB / 463 MB, free: 7.922 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002873/0.6517, allocations: 1.52 MB / 464.5 MB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005406/0.6523, allocations: 266.6 kB / 464.8 MB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003539/0.6526, allocations: 24 kB / 464.8 MB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.6537, allocations: 35.97 kB / 464.8 MB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/0.6539, allocations: 75.72 kB / 464.9 MB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/0.654, allocations: 39.98 kB / 465 MB, free: 5.801 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002938/0.6569, allocations: 1.292 MB / 466.3 MB, free: 4.484 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.657, allocations: 0 / 466.3 MB, free: 4.484 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003526/0.6605, allocations: 0.7427 MB / 467 MB, free: 3.738 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 0 () * 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 (70): * Single equations (assignments): 67 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003645/0.6642, allocations: 2.121 MB / 469.1 MB, free: 1.469 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005335/0.6696, allocations: 2.207 MB / 471.3 MB, free: 15.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/0.6696, allocations: 3.938 kB / 471.3 MB, free: 15.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001297/0.6709, allocations: 0.5378 MB / 471.9 MB, free: 14.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/0.6725, allocations: 236.1 kB / 472.1 MB, free: 14.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0227/0.6953, allocations: 11.15 MB / 483.2 MB, free: 1.984 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.27/0.9654, allocations: 2.457 MB / 485.7 MB, free: 132.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002518/0.9679, allocations: 1.154 MB / 486.9 MB, free: 132.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.513e-06/0.968, allocations: 0 / 486.9 MB, free: 132.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.372/4.339, allocations: 46.91 MB / 0.5213 GB, free: 98.33 MB / 410.7 MB