Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadModel(ModelicaTest): time 1.954/1.954, allocations: 209.3 MB / 224.8 MB, free: 0.5312 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004444/0.0004446, allocations: 15.98 kB / 282.5 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.292, allocations: 48.71 MB / 331.2 MB, free: 6.512 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.06206/0.3541, allocations: 44.79 MB / 376 MB, free: 1.645 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02762/0.3818, allocations: 10 MB / 386 MB, free: 7.613 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009524/0.3914, allocations: 207.6 kB / 386.2 MB, free: 7.41 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007284/0.3987, allocations: 2.306 MB / 388.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02218/0.4209, allocations: 6.405 MB / 394.9 MB, free: 14.67 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002566/0.4235, allocations: 327.5 kB / 395.2 MB, free: 14.35 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003858/0.4274, allocations: 1.579 MB / 396.8 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007218/0.4347, allocations: 3.87 MB / 400.7 MB, free: 8.836 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.4359, allocations: 0.7046 MB / 401.4 MB, free: 8.129 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/0.4374, allocations: 0.9537 MB / 402.3 MB, free: 7.172 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003748/0.4378, allocations: 120 kB / 402.4 MB, free: 7.055 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.4391, allocations: 0.5461 MB / 403 MB, free: 6.508 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001652/0.4408, allocations: 1.22 MB / 404.2 MB, free: 5.285 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009165/0.4417, allocations: 0.6792 MB / 404.9 MB, free: 4.598 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006733/0.4485, allocations: 4.646 MB / 409.5 MB, free: 15.94 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.803e-06/0.4485, allocations: 0 / 409.5 MB, free: 15.94 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.002e-06/0.4485, allocations: 0 / 409.5 MB, free: 15.94 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001141/0.4487, allocations: 0 / 409.5 MB, free: 15.94 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.007259/0.4559, allocations: 3.112 MB / 412.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.456, allocations: 8.031 kB / 412.7 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009319/0.4653, allocations: 2.054 MB / 414.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004161/0.4695, allocations: 1.612 MB / 416.3 MB, free: 9.035 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003241/0.4699, allocations: 205.2 kB / 416.5 MB, free: 8.832 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001067/0.471, allocations: 267.9 kB / 416.8 MB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.019/0.49, allocations: 8.4 MB / 425.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.354e-05/0.4901, allocations: 15.88 kB / 425.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005202/0.4907, allocations: 119.9 kB / 425.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003721/0.4944, allocations: 1.764 MB / 427.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01888/0.5133, allocations: 7.055 MB / 434.1 MB, free: 6.867 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0487/0.5621, allocations: 25.85 MB / 460 MB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007714/0.5698, allocations: 2.552 MB / 462.5 MB, free: 9.688 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01103/0.5809, allocations: 4.47 MB / 467 MB, free: 5.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/0.581, allocations: 43.56 kB / 467 MB, free: 5.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=120): time 5.282e-06/0.581, allocations: 0 / 467 MB, free: 5.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=120): time 0.01086/0.5919, allocations: 2.979 MB / 470 MB, free: 1.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.108e-05/0.592, allocations: 60.41 kB / 470.1 MB, free: 1.906 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004499/0.5965, allocations: 2.216 MB / 472.3 MB, free: 15.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001891/0.5967, allocations: 45.7 kB / 472.3 MB, free: 15.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002376/0.5991, allocations: 2.312 MB / 474.7 MB, free: 13.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007036/0.5998, allocations: 462 kB / 475.1 MB, free: 12.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002422/0.6001, allocations: 68 kB / 475.2 MB, free: 12.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003974/0.6005, allocations: 470.9 kB / 475.6 MB, free: 12.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002616/0.6031, allocations: 1.108 MB / 476.7 MB, free: 11.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004866/0.608, allocations: 3.249 MB / 480 MB, free: 6.844 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004248/0.6123, allocations: 1.894 MB / 481.9 MB, free: 4.949 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-05/0.6124, allocations: 20 kB / 481.9 MB, free: 4.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=481) (initialization): time 0.01084/0.6233, allocations: 4.216 MB / 486.1 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.054e-05/0.6234, allocations: 44.03 kB / 486.2 MB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001099/0.6236, allocations: 76 kB / 486.2 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001582/0.6237, allocations: 108 kB / 486.3 MB, free: 500 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2308/0.8545, allocations: 0.8055 MB / 487.1 MB, free: 130 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001722/0.8547, allocations: 148.6 kB / 487.3 MB, free: 130 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003275/0.858, allocations: 0.493 MB / 487.8 MB, free: 129.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006257/0.8587, allocations: 218.8 kB / 488 MB, free: 129.9 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.00364/0.8623, allocations: 1.699 MB / 489.7 MB, free: 129.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003741/0.8627, allocations: 191.9 kB / 489.9 MB, free: 129.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003266/0.866, allocations: 1.511 MB / 491.4 MB, free: 128.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.909e-05/0.8661, allocations: 13.34 kB / 491.4 MB, free: 128.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.458e-06/0.8661, allocations: 0 / 491.4 MB, free: 128.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/0.8661, allocations: 6.703 kB / 491.4 MB, free: 128.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01516/0.8813, allocations: 7.357 MB / 498.8 MB, free: 126 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-05/0.8814, allocations: 14.78 kB / 498.8 MB, free: 126 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009757/0.8823, allocations: 190 kB / 499 MB, free: 126 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-05/0.8824, allocations: 20.78 kB / 499 MB, free: 126 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.8825, allocations: 41.14 kB / 499 MB, free: 126 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.959e-05/0.8826, allocations: 34.5 kB / 499.1 MB, free: 126 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.929e-05/0.8826, allocations: 19 kB / 499.1 MB, free: 126 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003072/0.8857, allocations: 1.987 MB / 0.4893 GB, free: 124.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006909/0.8864, allocations: 328.2 kB / 0.4896 GB, free: 124.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003257/0.8867, allocations: 38.7 kB / 0.4897 GB, free: 124.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.8878, allocations: 57.28 kB / 0.4897 GB, free: 124.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/0.888, allocations: 115.9 kB / 0.4898 GB, free: 124.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/0.8882, allocations: 47.56 kB / 0.4899 GB, free: 124.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002753/0.891, allocations: 1.547 MB / 0.4914 GB, free: 123.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.341e-06/0.891, allocations: 0 / 0.4914 GB, free: 123.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004089/0.8951, allocations: 0.9184 MB / 0.4923 GB, free: 123.6 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.0004332/0.8955, allocations: 175.2 kB / 0.4925 GB, free: 123.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005027/0.9006, allocations: 2.588 MB / 0.495 GB, free: 122.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/0.9006, allocations: 3.969 kB / 0.495 GB, free: 122.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.9021, allocations: 0.6912 MB / 0.4957 GB, free: 122.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/0.9038, allocations: 290.7 kB / 0.4959 GB, free: 122.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01467/0.9185, allocations: 8.796 MB / 0.5045 GB, free: 116.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00396/0.9225, allocations: 2.899 MB / 0.5074 GB, free: 113.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007416/0.9233, allocations: 195.4 kB / 0.5076 GB, free: 113.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.505e-06/0.9233, allocations: 0 / 0.5076 GB, free: 113.3 MB / 410.7 MB Notification: Performance of Templates: time 0.05463/0.9779, allocations: 38.2 MB / 0.5449 GB, free: 75.04 MB / 410.7 MB