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.CutForceAndTorque3.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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.964/1.964, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004359/0.0004359, allocations: 12 kB / 282.6 MB, free: 9.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3387, allocations: 48.71 MB / 331.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.06715/0.4059, allocations: 44.79 MB / 376.1 MB, free: 1.609 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03003/0.436, allocations: 9.992 MB / 386.1 MB, free: 7.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01016/0.4462, allocations: 211.6 kB / 386.3 MB, free: 7.383 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008536/0.4548, allocations: 2.306 MB / 388.6 MB, free: 5.062 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02509/0.4799, allocations: 6.405 MB / 395 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003643/0.4836, allocations: 323.5 kB / 395.3 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005394/0.4891, allocations: 1.587 MB / 396.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008996/0.4982, allocations: 3.873 MB / 400.8 MB, free: 8.801 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001914/0.5002, allocations: 0.7007 MB / 401.5 MB, free: 8.098 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002353/0.5026, allocations: 0.9538 MB / 402.4 MB, free: 7.141 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008995/0.5035, allocations: 124 kB / 402.5 MB, free: 7.02 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002122/0.5057, allocations: 0.5461 MB / 403.1 MB, free: 6.473 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002287/0.508, allocations: 1.216 MB / 404.3 MB, free: 5.254 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001219/0.5093, allocations: 0.6792 MB / 405 MB, free: 4.566 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007769/0.5171, allocations: 4.638 MB / 409.6 MB, free: 15.92 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5172, allocations: 4 kB / 409.6 MB, free: 15.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.466e-06/0.5172, allocations: 0 / 409.6 MB, free: 15.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002/0.5174, allocations: 0 / 409.6 MB, free: 15.91 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: 1328 * Number of variables: 1328 Notification: Performance of Generate backend data structure: time 0.009318/0.5267, allocations: 3.119 MB / 412.7 MB, free: 12.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.5268, allocations: 12.03 kB / 412.7 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00208/0.5289, allocations: 0.6289 MB / 413.4 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01229/0.5412, allocations: 2.047 MB / 415.4 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005231/0.5465, allocations: 1.62 MB / 417 MB, free: 8.359 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003449/0.5469, allocations: 201.2 kB / 417.2 MB, free: 8.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00133/0.5483, allocations: 263.9 kB / 417.5 MB, free: 7.902 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02216/0.5705, allocations: 8.396 MB / 425.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.744e-05/0.5706, allocations: 19.81 kB / 425.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005877/0.5712, allocations: 127.9 kB / 426 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004862/0.5761, allocations: 1.752 MB / 427.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02248/0.5986, allocations: 7.061 MB / 434.8 MB, free: 6.195 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05556/0.6542, allocations: 25.86 MB / 460.7 MB, free: 11.69 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009276/0.6636, allocations: 2.548 MB / 463.3 MB, free: 9.008 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01316/0.6768, allocations: 4.47 MB / 467.7 MB, free: 4.391 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.961e-05/0.6769, allocations: 43.56 kB / 467.8 MB, free: 4.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=120): time 5.17e-06/0.6769, allocations: 0 / 467.8 MB, free: 4.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=120): time 0.01671/0.6936, allocations: 2.975 MB / 470.7 MB, free: 1.305 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.85e-05/0.6938, allocations: 64.36 kB / 470.8 MB, free: 1.227 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006362/0.7001, allocations: 2.212 MB / 473 MB, free: 14.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002199/0.7004, allocations: 45.7 kB / 473.1 MB, free: 14.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002741/0.7032, allocations: 2.308 MB / 475.4 MB, free: 12.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008862/0.7041, allocations: 469.9 kB / 475.8 MB, free: 12.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003318/0.7044, allocations: 72 kB / 475.9 MB, free: 12.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004698/0.7049, allocations: 470.9 kB / 476.4 MB, free: 11.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004284/0.7092, allocations: 1.108 MB / 477.5 MB, free: 10.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006838/0.7161, allocations: 3.249 MB / 480.7 MB, free: 6.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006397/0.7226, allocations: 1.886 MB / 482.6 MB, free: 4.273 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001211/0.7227, allocations: 20 kB / 482.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of matching and sorting (n=481) (initialization): time 0.01614/0.7389, allocations: 4.208 MB / 486.8 MB, free: 44 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.7391, allocations: 43.97 kB / 486.9 MB, free: 0 / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2729/1.012, allocations: 73.83 kB / 486.9 MB, free: 130.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002273/1.012, allocations: 111.3 kB / 487.1 MB, free: 130.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005091/1.017, allocations: 0.8061 MB / 487.9 MB, free: 130.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002005/1.018, allocations: 148.7 kB / 488 MB, free: 130.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003566/1.021, allocations: 0.4901 MB / 488.5 MB, free: 130.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004924/1.022, allocations: 227.2 kB / 488.7 MB, free: 130.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 344 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.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 (447): * Single equations (assignments): 442 * 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.003968/1.026, allocations: 1.699 MB / 490.4 MB, free: 129.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004881/1.026, allocations: 193.2 kB / 490.6 MB, free: 129.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004189/1.03, allocations: 1.508 MB / 492.1 MB, free: 129.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.946e-05/1.03, allocations: 14.06 kB / 492.1 MB, free: 129.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/1.03, allocations: 0 / 492.1 MB, free: 129.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/1.031, allocations: 4.922 kB / 492.1 MB, free: 129.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01844/1.049, allocations: 7.362 MB / 499.5 MB, free: 126.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.613e-05/1.049, allocations: 14.66 kB / 499.5 MB, free: 126.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/1.05, allocations: 189.8 kB / 499.7 MB, free: 126.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.149e-05/1.051, allocations: 20.88 kB / 499.7 MB, free: 126.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/1.051, allocations: 37.61 kB / 499.7 MB, free: 126.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.804e-05/1.051, allocations: 29.39 kB / 499.8 MB, free: 126.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-05/1.051, allocations: 24.34 kB / 499.8 MB, free: 126.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003722/1.054, allocations: 1.996 MB / 0.49 GB, free: 125.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000819/1.055, allocations: 324.8 kB / 0.4903 GB, free: 124.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000441/1.056, allocations: 40 kB / 0.4904 GB, free: 124.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/1.057, allocations: 54.47 kB / 0.4904 GB, free: 124.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/1.057, allocations: 116 kB / 0.4905 GB, free: 124.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/1.058, allocations: 47.77 kB / 0.4906 GB, free: 124.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00307/1.061, allocations: 1.548 MB / 0.4921 GB, free: 124.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.31e-07/1.061, allocations: 0 / 0.4921 GB, free: 124.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004104/1.065, allocations: 0.92 MB / 0.493 GB, free: 124 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.004088/1.069, allocations: 2.62 MB / 0.4956 GB, free: 122.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005878/1.075, allocations: 2.589 MB / 0.4981 GB, free: 121.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/1.075, allocations: 0 / 0.4981 GB, free: 121.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001573/1.076, allocations: 0.7003 MB / 0.4988 GB, free: 121.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/1.078, allocations: 286.6 kB / 0.499 GB, free: 121.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02433/1.103, allocations: 13.66 MB / 0.5124 GB, free: 106.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004228/1.107, allocations: 2.886 MB / 0.5152 GB, free: 103.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002908/1.11, allocations: 1.46 MB / 0.5166 GB, free: 102.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.373e-06/1.11, allocations: 0 / 0.5166 GB, free: 102.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.352/4.462, allocations: 57.4 MB / 0.5727 GB, free: 44.96 MB / 410.7 MB