Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01017/0.01017, allocations: 162 kB / 15.12 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.798/1.798, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.005002/0.005001, allocations: 114.4 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5192/0.5192, allocations: 38.04 MB / 303.7 MB, free: 42.48 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000467/0.0004672, allocations: 12 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1057, allocations: 48.71 MB / 411.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.361/0.4667, allocations: 47.38 MB / 459.1 MB, free: 23.67 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02553/0.4923, allocations: 9.542 MB / 468.6 MB, free: 17.17 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01014/0.5025, allocations: 212.1 kB / 468.8 MB, free: 17.14 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007831/0.5104, allocations: 2.347 MB / 471.2 MB, free: 16.38 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02469/0.5352, allocations: 7.887 MB / 479.1 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003331/0.5386, allocations: 321.7 kB / 479.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006201/0.5448, allocations: 3.369 MB / 482.7 MB, free: 11.76 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008115/0.553, allocations: 3.902 MB / 486.6 MB, free: 10.11 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002405/0.5554, allocations: 0.8679 MB / 487.5 MB, free: 9.66 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003236/0.5587, allocations: 1.391 MB / 488.9 MB, free: 8.949 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009195/0.5597, allocations: 123 kB / 489 MB, free: 8.949 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/0.5619, allocations: 0.5525 MB / 489.6 MB, free: 8.715 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002398/0.5644, allocations: 1.309 MB / 490.9 MB, free: 8.02 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001232/0.5656, allocations: 0.6817 MB / 491.6 MB, free: 7.52 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007008/0.5727, allocations: 4.643 MB / 496.2 MB, free: 4.328 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.5727, allocations: 0 / 496.2 MB, free: 4.328 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.5727, allocations: 0 / 496.2 MB, free: 4.328 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002328/0.573, allocations: 1.125 kB / 496.2 MB, free: 4.328 MB / 330.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.009943/0.5829, allocations: 3.069 MB / 499.3 MB, free: 2.105 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.583, allocations: 9.812 kB / 499.3 MB, free: 2.105 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002318/0.5853, allocations: 0.6388 MB / 499.9 MB, free: 1.656 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01104/0.5964, allocations: 1.751 MB / 0.4899 GB, free: 0.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005557/0.602, allocations: 1.615 MB / 0.4915 GB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002684/0.6024, allocations: 199.3 kB / 0.4917 GB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001559/0.6039, allocations: 268.2 kB / 0.4919 GB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03029/0.6343, allocations: 8.335 MB / 0.5001 GB, free: 7.586 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001193/0.6344, allocations: 15.88 kB / 0.5001 GB, free: 7.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009834/0.6354, allocations: 123.9 kB / 0.5002 GB, free: 7.449 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006366/0.6418, allocations: 1.752 MB / 0.5019 GB, free: 5.691 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02864/0.6705, allocations: 6.999 MB / 0.5088 GB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08172/0.7523, allocations: 25.8 MB / 0.534 GB, free: 4.234 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01421/0.7666, allocations: 2.537 MB / 0.5364 GB, free: 1.566 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003935/0.7706, allocations: 0.9694 MB / 0.5374 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02087/0.7915, allocations: 4.446 MB / 0.5417 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.507e-05/0.7916, allocations: 43.56 kB / 0.5418 GB, free: 11.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=120): time 6.553e-06/0.7917, allocations: 0 / 0.5418 GB, free: 11.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=120): time 0.02057/0.8122, allocations: 2.715 MB / 0.5444 GB, free: 9.227 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.735e-05/0.8124, allocations: 72.36 kB / 0.5445 GB, free: 9.145 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008205/0.8206, allocations: 2.209 MB / 0.5466 GB, free: 6.895 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003016/0.821, allocations: 41.7 kB / 0.5467 GB, free: 6.848 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003433/0.8244, allocations: 2.306 MB / 0.5489 GB, free: 4.508 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001087/0.8256, allocations: 465.9 kB / 0.5494 GB, free: 4.047 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005842/0.8262, allocations: 72 kB / 0.5494 GB, free: 3.977 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0006687/0.8269, allocations: 466 kB / 0.5499 GB, free: 3.516 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004938/0.8319, allocations: 1.108 MB / 0.551 GB, free: 2.406 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007967/0.84, allocations: 3.249 MB / 0.5541 GB, free: 14.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007239/0.8473, allocations: 1.886 MB / 0.556 GB, free: 12.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-05/0.8474, allocations: 24 kB / 0.556 GB, free: 12.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=481) (initialization): time 0.0181/0.8656, allocations: 4.262 MB / 0.5602 GB, free: 7.926 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.8657, allocations: 40 kB / 0.5602 GB, free: 7.887 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001718/0.8659, allocations: 72 kB / 0.5603 GB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002715/0.8662, allocations: 116.1 kB / 0.5604 GB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007485/0.8737, allocations: 0.811 MB / 0.5612 GB, free: 6.891 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003161/0.8741, allocations: 155.4 kB / 0.5613 GB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006035/0.8802, allocations: 498.6 kB / 0.5618 GB, free: 6.246 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/0.8812, allocations: 220 kB / 0.562 GB, free: 6.031 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.006666/0.8879, allocations: 1.708 MB / 0.5637 GB, free: 4.312 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007213/0.8887, allocations: 189.5 kB / 0.5639 GB, free: 4.125 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006719/0.8955, allocations: 1.51 MB / 0.5653 GB, free: 2.602 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.408e-05/0.8956, allocations: 23.88 kB / 0.5654 GB, free: 2.578 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.8956, allocations: 0 / 0.5654 GB, free: 2.578 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-05/0.8956, allocations: 7.938 kB / 0.5654 GB, free: 2.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03074/0.9264, allocations: 7.354 MB / 0.5726 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.115e-05/0.9265, allocations: 16 kB / 0.5726 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002316/0.9288, allocations: 191.6 kB / 0.5728 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.407e-05/0.9289, allocations: 24.03 kB / 0.5728 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002267/0.9292, allocations: 39.98 kB / 0.5728 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.622e-05/0.9293, allocations: 31.86 kB / 0.5728 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.223e-05/0.9293, allocations: 19.94 kB / 0.5729 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006448/0.9358, allocations: 1.99 MB / 0.5748 GB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/0.9371, allocations: 330 kB / 0.5751 GB, free: 8.086 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008314/0.9379, allocations: 35.98 kB / 0.5752 GB, free: 8.051 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001765/0.9397, allocations: 59.86 kB / 0.5752 GB, free: 7.992 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004258/0.9402, allocations: 111.6 kB / 0.5753 GB, free: 7.883 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002269/0.9405, allocations: 44 kB / 0.5754 GB, free: 7.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005784/0.9463, allocations: 1.546 MB / 0.5769 GB, free: 6.277 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.403e-06/0.9463, allocations: 7.938 kB / 0.5769 GB, free: 6.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007621/0.954, allocations: 0.9253 MB / 0.5778 GB, free: 5.34 MB / 426.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.006558/0.9606, allocations: 2.604 MB / 0.5803 GB, free: 2.508 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.3135/1.274, allocations: 2.585 MB / 0.5828 GB, free: 132.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.771e-05/1.274, allocations: 4.344 kB / 0.5829 GB, free: 132.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001909/1.276, allocations: 0.6934 MB / 0.5835 GB, free: 132.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002823/1.279, allocations: 297 kB / 0.5838 GB, free: 132.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04665/1.326, allocations: 20.31 MB / 0.6036 GB, free: 121.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007393/1.333, allocations: 2.886 MB / 0.6065 GB, free: 120.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006695/1.34, allocations: 1.172 MB / 0.6076 GB, free: 120.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00448/1.344, allocations: 1.421 MB / 0.609 GB, free: 119.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.813e-06/1.344, allocations: 0 / 0.609 GB, free: 119.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1482/1.493, allocations: 46.93 MB / 0.6548 GB, free: 89.42 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/1.493, allocations: 186.8 kB / 0.655 GB, free: 89.18 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.102/5.595, allocations: 0 / 0.655 GB, free: 89.18 MB / 426.7 MB