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.CutForceAndTorque3.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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.24/2.24, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006203/0.0006203, allocations: 12 kB / 314.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.362, allocations: 54.87 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.0693/0.4314, allocations: 44.79 MB / 414.1 MB, free: 13.8 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02974/0.4612, allocations: 10.02 MB / 424.1 MB, free: 3.758 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008717/0.4699, allocations: 207.6 kB / 424.3 MB, free: 3.555 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00796/0.478, allocations: 2.31 MB / 426.6 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02451/0.5025, allocations: 6.401 MB / 433 MB, free: 10.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003367/0.5059, allocations: 323.5 kB / 433.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004718/0.5107, allocations: 1.589 MB / 434.9 MB, free: 8.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008443/0.5192, allocations: 3.889 MB / 438.8 MB, free: 4.953 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001784/0.5211, allocations: 0.7007 MB / 439.5 MB, free: 4.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002199/0.5233, allocations: 0.9499 MB / 440.4 MB, free: 3.297 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007931/0.5242, allocations: 120 kB / 440.6 MB, free: 3.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/0.5262, allocations: 0.5461 MB / 441.1 MB, free: 2.633 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002102/0.5284, allocations: 1.216 MB / 442.3 MB, free: 1.414 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001133/0.5295, allocations: 0.6792 MB / 443 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007639/0.5372, allocations: 4.642 MB / 447.6 MB, free: 12.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.5373, allocations: 0 / 447.6 MB, free: 12.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.5373, allocations: 0 / 447.6 MB, free: 12.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001957/0.5375, allocations: 0 / 447.6 MB, free: 12.07 MB / 378.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.009061/0.5466, allocations: 3.116 MB / 450.8 MB, free: 8.895 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.5466, allocations: 8.031 kB / 450.8 MB, free: 8.887 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001993/0.5486, allocations: 0.6328 MB / 451.4 MB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01209/0.5608, allocations: 2.05 MB / 453.4 MB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005077/0.5659, allocations: 1.612 MB / 455.1 MB, free: 4.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002736/0.5662, allocations: 209.1 kB / 455.3 MB, free: 4.312 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001208/0.5674, allocations: 263.9 kB / 455.5 MB, free: 4.055 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0218/0.5893, allocations: 8.4 MB / 463.9 MB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.091e-05/0.5894, allocations: 11.88 kB / 463.9 MB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007241/0.5902, allocations: 119.9 kB / 464 MB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005002/0.5952, allocations: 1.76 MB / 465.8 MB, free: 9.426 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02235/0.6176, allocations: 7.061 MB / 472.9 MB, free: 2.355 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3528/0.9704, allocations: 25.84 MB / 498.7 MB, free: 76.11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008232/0.9787, allocations: 2.549 MB / 0.4895 GB, free: 74.53 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01187/0.9906, allocations: 4.472 MB / 0.4939 GB, free: 71.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.9907, allocations: 43.56 kB / 0.4939 GB, free: 70.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=120): time 4.809e-06/0.9907, allocations: 2 kB / 0.4939 GB, free: 70.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=120): time 0.01206/1.003, allocations: 2.982 MB / 0.4968 GB, free: 67.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/1.003, allocations: 60.41 kB / 0.4969 GB, free: 67.86 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003838/1.007, allocations: 2.212 MB / 0.4991 GB, free: 65.6 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002075/1.007, allocations: 42.41 kB / 0.4991 GB, free: 65.55 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001387/1.008, allocations: 2.313 MB / 0.5014 GB, free: 63.24 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006282/1.009, allocations: 464 kB / 0.5018 GB, free: 62.79 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/1.009, allocations: 68 kB / 0.5019 GB, free: 62.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002431/1.01, allocations: 474.9 kB / 0.5023 GB, free: 62.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002617/1.012, allocations: 1.104 MB / 0.5034 GB, free: 61.15 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003965/1.016, allocations: 3.249 MB / 0.5066 GB, free: 56.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004242/1.021, allocations: 1.897 MB / 0.5084 GB, free: 54.95 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.14e-05/1.021, allocations: 20 kB / 0.5084 GB, free: 54.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=481) (initialization): time 0.01029/1.031, allocations: 4.215 MB / 0.5126 GB, free: 50.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.041e-05/1.031, allocations: 40 kB / 0.5126 GB, free: 50.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.489e-05/1.031, allocations: 76 kB / 0.5127 GB, free: 50.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001234/1.031, allocations: 108 kB / 0.5128 GB, free: 50.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004814/1.036, allocations: 0.811 MB / 0.5136 GB, free: 49.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001369/1.036, allocations: 155.3 kB / 0.5137 GB, free: 49.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003519/1.04, allocations: 494.7 kB / 0.5142 GB, free: 49.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005684/1.04, allocations: 220 kB / 0.5144 GB, free: 48.83 MB / 394.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.003667/1.044, allocations: 1.704 MB / 0.5161 GB, free: 47.11 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000388/1.045, allocations: 193.4 kB / 0.5162 GB, free: 46.92 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003636/1.048, allocations: 1.511 MB / 0.5177 GB, free: 45.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.938e-05/1.048, allocations: 12 kB / 0.5177 GB, free: 45.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/1.048, allocations: 3.938 kB / 0.5177 GB, free: 45.39 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/1.048, allocations: 11.95 kB / 0.5177 GB, free: 45.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01705/1.065, allocations: 7.355 MB / 0.5249 GB, free: 37.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.97e-05/1.065, allocations: 16 kB / 0.5249 GB, free: 37.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/1.067, allocations: 187.6 kB / 0.5251 GB, free: 37.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.827e-05/1.067, allocations: 23.95 kB / 0.5251 GB, free: 37.55 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/1.067, allocations: 40.77 kB / 0.5252 GB, free: 37.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.369e-05/1.067, allocations: 27.92 kB / 0.5252 GB, free: 37.49 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.466e-05/1.067, allocations: 23.88 kB / 0.5252 GB, free: 37.46 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003415/1.071, allocations: 1.978 MB / 0.5272 GB, free: 35.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007016/1.071, allocations: 330 kB / 0.5275 GB, free: 34.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004538/1.072, allocations: 43.88 kB / 0.5275 GB, free: 34.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/1.073, allocations: 59.7 kB / 0.5276 GB, free: 34.83 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/1.073, allocations: 111.6 kB / 0.5277 GB, free: 34.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/1.074, allocations: 51.94 kB / 0.5277 GB, free: 34.67 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003063/1.077, allocations: 1.542 MB / 0.5292 GB, free: 33.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.02e-07/1.077, allocations: 0 / 0.5292 GB, free: 33.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004193/1.081, allocations: 0.9163 MB / 0.5301 GB, free: 32.2 MB / 394.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.00395/1.085, allocations: 2.619 MB / 0.5327 GB, free: 29.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005614/1.091, allocations: 2.586 MB / 0.5352 GB, free: 26.79 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-05/1.091, allocations: 4 kB / 0.5352 GB, free: 26.79 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001555/1.092, allocations: 0.6906 MB / 0.5359 GB, free: 26.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/1.094, allocations: 289.8 kB / 0.5362 GB, free: 25.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02385/1.118, allocations: 13.67 MB / 0.5495 GB, free: 10.49 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004403/1.122, allocations: 2.891 MB / 0.5523 GB, free: 7.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002844/1.125, allocations: 1.456 MB / 0.5538 GB, free: 6.113 MB / 394.7 MB Notification: Performance of SimCode: time 1.733e-06/1.125, allocations: 0 / 0.5538 GB, free: 6.113 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.541/4.667, allocations: 57.42 MB / 0.6098 GB, free: 12.62 MB / 458.7 MB