Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009579/0.009584, allocations: 175.1 kB / 15.13 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.157/2.157, allocations: 194.5 MB / 210.3 MB, free: 7.605 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001814/0.001814, allocations: 124.1 kB / 255.6 MB, free: 10.21 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2769/0.2769, allocations: 40 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005018/0.0005021, allocations: 13.53 kB / 406.3 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1054, allocations: 54.89 MB / 461.2 MB, free: 3.199 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.5144/0.6198, allocations: 115.8 MB / 0.5635 GB, free: 1.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.06534/0.6853, allocations: 22.7 MB / 0.5856 GB, free: 14.26 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0291/0.7144, allocations: 0.5311 MB / 0.5861 GB, free: 14.19 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02149/0.736, allocations: 5.748 MB / 0.5918 GB, free: 10.67 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.07059/0.8066, allocations: 19.35 MB / 0.6107 GB, free: 15.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01062/0.8173, allocations: 1.41 MB / 0.612 GB, free: 14.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.02197/0.8393, allocations: 11.32 MB / 0.6231 GB, free: 3.664 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02712/0.8665, allocations: 11.47 MB / 0.6343 GB, free: 8.109 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008077/0.8747, allocations: 3.016 MB / 0.6372 GB, free: 5.082 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01124/0.886, allocations: 4.767 MB / 0.6419 GB, free: 308 kB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00313/0.8891, allocations: 380 kB / 0.6422 GB, free: 15.93 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005765/0.895, allocations: 1.042 MB / 0.6433 GB, free: 14.89 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01039/0.9054, allocations: 4.215 MB / 0.6474 GB, free: 10.66 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00747/0.913, allocations: 1.96 MB / 0.6493 GB, free: 8.688 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02275/0.9358, allocations: 13.14 MB / 0.6621 GB, free: 11.52 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.9359, allocations: 0 / 0.6621 GB, free: 11.52 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.9359, allocations: 0 / 0.6621 GB, free: 11.52 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000691/0.9366, allocations: 0 / 0.6621 GB, free: 11.52 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.03224/0.9689, allocations: 9.423 MB / 0.6713 GB, free: 2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.9689, allocations: 8.031 kB / 0.6713 GB, free: 1.992 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006216/0.9752, allocations: 1.703 MB / 0.673 GB, free: 280 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02325/0.9985, allocations: 3.122 MB / 0.676 GB, free: 13.13 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02244/1.021, allocations: 7.19 MB / 0.6831 GB, free: 5.863 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000895/1.022, allocations: 0.589 MB / 0.6836 GB, free: 5.273 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003507/1.025, allocations: 0.7613 MB / 0.6844 GB, free: 4.512 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06987/1.095, allocations: 24.44 MB / 0.7083 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003903/1.096, allocations: 91.11 kB / 0.7083 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002966/1.099, allocations: 367.7 kB / 0.7087 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01269/1.112, allocations: 4.535 MB / 0.7131 GB, free: 5.793 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6981/1.81, allocations: 19.14 MB / 0.7318 GB, free: 174.6 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1548/1.965, allocations: 85.6 MB / 0.8154 GB, free: 99 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03462/1.999, allocations: 7.775 MB / 0.823 GB, free: 91.08 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007709/2.007, allocations: 3.1 MB / 0.826 GB, free: 87.96 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03634/2.043, allocations: 13.11 MB / 0.8388 GB, free: 74.5 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.671e-05/2.043, allocations: 68.78 kB / 0.8389 GB, free: 74.42 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=336): time 8.205e-06/2.044, allocations: 0 / 0.8389 GB, free: 74.42 MB / 0.4949 GB Notification: Performance of matching and sorting (n=360): time 0.08872/2.132, allocations: 20.74 MB / 0.8591 GB, free: 53.62 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/2.132, allocations: 166.9 kB / 0.8593 GB, free: 53.43 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01456/2.147, allocations: 7.385 MB / 0.8665 GB, free: 46.07 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0006777/2.148, allocations: 80.98 kB / 0.8666 GB, free: 45.99 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.005201/2.153, allocations: 6.77 MB / 0.8732 GB, free: 39.22 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001812/2.155, allocations: 1.357 MB / 0.8745 GB, free: 37.87 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001087/2.156, allocations: 215.8 kB / 0.8747 GB, free: 37.66 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0007619/2.157, allocations: 0.7652 MB / 0.8755 GB, free: 36.89 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009214/2.166, allocations: 3.238 MB / 0.8786 GB, free: 33.65 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01303/2.179, allocations: 9.817 MB / 0.8882 GB, free: 20.58 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0129/2.192, allocations: 5.431 MB / 0.8935 GB, free: 15.13 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001955/2.192, allocations: 64 kB / 0.8936 GB, free: 15.07 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1438) (initialization): time 0.03394/2.226, allocations: 12.74 MB / 0.906 GB, free: 2.281 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001747/2.226, allocations: 107.1 kB / 0.9061 GB, free: 2.18 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003486/2.227, allocations: 236.8 kB / 0.9064 GB, free: 1.949 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003591/2.227, allocations: 347.9 kB / 0.9067 GB, free: 1.609 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3892/2.616, allocations: 2.544 MB / 0.9092 GB, free: 154.6 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005825/2.617, allocations: 461.5 kB / 0.9096 GB, free: 154.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01129/2.628, allocations: 0.5089 MB / 0.9101 GB, free: 154.6 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002485/2.631, allocations: 0.6535 MB / 0.9108 GB, free: 154.6 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1060 * Number of states: 0 () * Number of discrete variables: 69 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1374): * Single equations (assignments): 1363 * Array equations: 11 * 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.01292/2.644, allocations: 4.52 MB / 0.9152 GB, free: 154.4 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001504/2.645, allocations: 0.6633 MB / 0.9158 GB, free: 154.4 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01312/2.658, allocations: 4.089 MB / 0.9198 GB, free: 153.2 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.798e-05/2.658, allocations: 36.62 kB / 0.9198 GB, free: 153.2 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.039e-05/2.659, allocations: 7.562 kB / 0.9198 GB, free: 153.2 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.986e-05/2.659, allocations: 16.17 kB / 0.9199 GB, free: 153.2 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1059/2.765, allocations: 49.24 MB / 0.968 GB, free: 127.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002234/2.765, allocations: 72 kB / 0.968 GB, free: 127.4 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005335/2.77, allocations: 0.7469 MB / 0.9687 GB, free: 126.6 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001131/2.77, allocations: 108 kB / 0.9689 GB, free: 126.5 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006328/2.771, allocations: 164 kB / 0.969 GB, free: 126.4 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001072/2.771, allocations: 143.4 kB / 0.9691 GB, free: 126.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.774e-05/2.771, allocations: 115.5 kB / 0.9693 GB, free: 126.1 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01275/2.784, allocations: 7.316 MB / 0.9764 GB, free: 118.1 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002488/2.786, allocations: 0.796 MB / 0.9772 GB, free: 117.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002398/2.789, allocations: 173 kB / 0.9773 GB, free: 117.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006338/2.795, allocations: 211.9 kB / 0.9775 GB, free: 117.2 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001218/2.797, allocations: 0.4887 MB / 0.978 GB, free: 116.7 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000613/2.797, allocations: 205.5 kB / 0.9782 GB, free: 116.5 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01127/2.808, allocations: 4.58 MB / 0.9827 GB, free: 112 MB / 0.4949 GB Notification: Performance of sort global known variables: time 6.01e-07/2.809, allocations: 0 / 0.9827 GB, free: 112 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01325/2.822, allocations: 1.872 MB / 0.9845 GB, free: 110.1 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 334 * 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 (380): * Single equations (assignments): 377 * 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.01488/2.837, allocations: 8.118 MB / 0.9924 GB, free: 100.9 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01899/2.856, allocations: 7.663 MB / 0.9999 GB, free: 93.27 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.575e-05/2.856, allocations: 8 kB / 0.9999 GB, free: 93.26 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.005516/2.861, allocations: 2.135 MB / 1.002 GB, free: 91.14 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01239/2.874, allocations: 1.094 MB / 1.003 GB, free: 90.07 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1626/3.037, allocations: 76.62 MB / 1.078 GB, free: 5.285 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01673/3.053, allocations: 7.124 MB / 1.085 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01803/3.071, allocations: 3.301 MB / 1.088 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01153/3.083, allocations: 4.74 MB / 1.093 GB, free: 6.059 MB / 0.5105 GB Notification: Performance of SimCode: time 1.483e-06/3.083, allocations: 0 / 1.093 GB, free: 6.059 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6472/3.73, allocations: 141.1 MB / 1.231 GB, free: 51.57 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002807/3.731, allocations: 202.7 kB / 1.231 GB, free: 51.31 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.087/12.82, allocations: 0 / 1.231 GB, free: 51.31 MB / 0.5105 GB