Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.388/2.388, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004375/0.0004377, allocations: 12 kB / 314.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3453, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.05085/0.3962, allocations: 31.62 MB / 400.9 MB, free: 10.99 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02094/0.4172, allocations: 7.336 MB / 408.2 MB, free: 3.633 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006104/0.4233, allocations: 147.7 kB / 408.4 MB, free: 3.488 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005874/0.4293, allocations: 1.637 MB / 410 MB, free: 1.844 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01776/0.4471, allocations: 4.601 MB / 414.6 MB, free: 13.23 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002345/0.4495, allocations: 259.6 kB / 414.9 MB, free: 12.98 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003896/0.4534, allocations: 1.351 MB / 416.2 MB, free: 11.62 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006652/0.4601, allocations: 2.976 MB / 419.2 MB, free: 8.586 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001386/0.4616, allocations: 0.5956 MB / 419.8 MB, free: 7.988 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001742/0.4634, allocations: 0.7591 MB / 420.5 MB, free: 7.227 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004876/0.4639, allocations: 96 kB / 420.6 MB, free: 7.133 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/0.4655, allocations: 0.5227 MB / 421.1 MB, free: 6.609 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002037/0.4676, allocations: 0.9624 MB / 422.1 MB, free: 5.645 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001183/0.4688, allocations: 0.5507 MB / 422.7 MB, free: 5.086 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007621/0.4765, allocations: 3.612 MB / 426.3 MB, free: 1.465 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4766, allocations: 0 / 426.3 MB, free: 1.465 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.4766, allocations: 0 / 426.3 MB, free: 1.465 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001651/0.4768, allocations: 3.938 kB / 426.3 MB, free: 1.461 MB / 346.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.01024/0.487, allocations: 2.597 MB / 428.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.504e-05/0.4871, allocations: 11.97 kB / 428.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002132/0.4893, allocations: 0.5127 MB / 429.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01585/0.5052, allocations: 1.93 MB / 431.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005566/0.5108, allocations: 1.362 MB / 432.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002681/0.5111, allocations: 155.7 kB / 432.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001005/0.5121, allocations: 203.9 kB / 433 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02318/0.5353, allocations: 6.803 MB / 439.8 MB, free: 3.426 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-05/0.5355, allocations: 15.88 kB / 439.9 MB, free: 3.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007578/0.5363, allocations: 95.89 kB / 440 MB, free: 3.316 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005549/0.5418, allocations: 1.474 MB / 441.4 MB, free: 1.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02121/0.5631, allocations: 5.824 MB / 447.3 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04606/0.6092, allocations: 21.53 MB / 468.8 MB, free: 5.887 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007905/0.6172, allocations: 2.264 MB / 471 MB, free: 3.496 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3125/0.9298, allocations: 3.757 MB / 474.8 MB, free: 93.15 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.641e-05/0.9299, allocations: 38.88 kB / 474.8 MB, free: 93.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=93): time 5.01e-06/0.9299, allocations: 0.7812 kB / 474.8 MB, free: 93.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=93): time 0.01127/0.9412, allocations: 2.445 MB / 477.3 MB, free: 92.78 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.9413, allocations: 58.09 kB / 477.3 MB, free: 92.72 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004445/0.9457, allocations: 1.981 MB / 479.3 MB, free: 92.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001736/0.9459, allocations: 37.47 kB / 479.4 MB, free: 92.17 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001585/0.9475, allocations: 1.966 MB / 481.3 MB, free: 90.67 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005175/0.9481, allocations: 367.5 kB / 481.7 MB, free: 90.41 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/0.9484, allocations: 59.84 kB / 481.7 MB, free: 90.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002498/0.9486, allocations: 455 kB / 482.2 MB, free: 90 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002538/0.9512, allocations: 0.955 MB / 483.1 MB, free: 89.71 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003417/0.9546, allocations: 2.888 MB / 486 MB, free: 86.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003763/0.9584, allocations: 1.651 MB / 487.7 MB, free: 86.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.3e-05/0.9586, allocations: 19.38 kB / 487.7 MB, free: 86.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.008986/0.9676, allocations: 3.694 MB / 491.4 MB, free: 84.83 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.422e-05/0.9677, allocations: 33.06 kB / 491.4 MB, free: 84.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001036/0.9678, allocations: 75.44 kB / 491.5 MB, free: 84.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001236/0.9679, allocations: 100.4 kB / 491.6 MB, free: 84.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004045/0.972, allocations: 0.7019 MB / 492.3 MB, free: 84.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001378/0.9722, allocations: 138.5 kB / 492.4 MB, free: 84.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003262/0.9755, allocations: 441 kB / 492.9 MB, free: 84.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005312/0.9761, allocations: 201.3 kB / 493.1 MB, free: 83.91 MB / 394.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.003048/0.9791, allocations: 1.417 MB / 494.5 MB, free: 82.67 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003343/0.9795, allocations: 172.1 kB / 494.6 MB, free: 82.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00279/0.9823, allocations: 1.185 MB / 495.8 MB, free: 81.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-05/0.9824, allocations: 12 kB / 495.8 MB, free: 81.46 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.9824, allocations: 0 / 495.8 MB, free: 81.46 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.9824, allocations: 3.516 kB / 495.8 MB, free: 81.46 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01678/0.9992, allocations: 4.964 MB / 0.4891 GB, free: 76.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.653e-05/0.9993, allocations: 12 kB / 0.4891 GB, free: 76.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/1.001, allocations: 127.8 kB / 0.4892 GB, free: 76.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.232e-05/1.001, allocations: 19.95 kB / 0.4892 GB, free: 76.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002218/1.001, allocations: 28 kB / 0.4893 GB, free: 76.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.256e-05/1.001, allocations: 19.92 kB / 0.4893 GB, free: 76.61 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.388e-05/1.001, allocations: 11.94 kB / 0.4893 GB, free: 76.6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003746/1.005, allocations: 1.499 MB / 0.4907 GB, free: 74.95 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008091/1.006, allocations: 270.6 kB / 0.491 GB, free: 74.67 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005653/1.006, allocations: 31.89 kB / 0.491 GB, free: 74.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001657/1.008, allocations: 31.97 kB / 0.4911 GB, free: 74.61 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002388/1.008, allocations: 72.94 kB / 0.4911 GB, free: 74.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/1.008, allocations: 48.81 kB / 0.4912 GB, free: 74.49 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003803/1.012, allocations: 1.296 MB / 0.4924 GB, free: 73.17 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.485e-06/1.012, allocations: 0 / 0.4924 GB, free: 73.17 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00564/1.018, allocations: 0.7482 MB / 0.4932 GB, free: 72.42 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.004525/1.023, allocations: 2.118 MB / 0.4952 GB, free: 70.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006612/1.029, allocations: 2.193 MB / 0.4974 GB, free: 67.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.59e-05/1.029, allocations: 4.062 kB / 0.4974 GB, free: 67.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001656/1.031, allocations: 0.5382 MB / 0.4979 GB, free: 67.45 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002376/1.033, allocations: 227.3 kB / 0.4981 GB, free: 67.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02882/1.062, allocations: 11.15 MB / 0.509 GB, free: 54.71 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005909/1.068, allocations: 2.464 MB / 0.5114 GB, free: 52.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003309/1.072, allocations: 1.148 MB / 0.5125 GB, free: 51.08 MB / 394.7 MB Notification: Performance of SimCode: time 2.204e-06/1.072, allocations: 4 kB / 0.5126 GB, free: 51.07 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.283/4.354, allocations: 46.93 MB / 0.5584 GB, free: 4.129 MB / 394.7 MB