Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009653/0.009653, allocations: 100.1 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 193.8 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3501/0.3501, allocations: 38 MB / 307.9 MB, free: 9.984 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 68.22 kB / 433 MB, free: 5.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4116, allocations: 56.47 MB / 489.4 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01286/0.4245, allocations: 12.6 MB / 0.4903 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009558/0.4341, allocations: 3.366 MB / 0.4936 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003356/0.4375, allocations: 61.41 kB / 0.4936 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005322/0.4429, allocations: 2.654 MB / 0.4962 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004868/0.4478, allocations: 1.359 MB / 0.4975 GB, free: 6.918 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.449, allocations: 349.1 kB / 0.4979 GB, free: 6.762 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005056/0.454, allocations: 2.877 MB / 0.5007 GB, free: 5.574 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003684/0.4577, allocations: 3.149 MB / 0.5038 GB, free: 3.773 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001999/0.4597, allocations: 1.206 MB / 0.5049 GB, free: 3.086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001709/0.4615, allocations: 1.619 MB / 0.5065 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006323/0.4621, allocations: 295.9 kB / 0.5068 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.4637, allocations: 0.7823 MB / 0.5076 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001412/0.4651, allocations: 1.565 MB / 0.5091 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00167/0.4668, allocations: 1.83 MB / 0.5109 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009084/0.4759, allocations: 5.997 MB / 0.5167 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.476, allocations: 1.375 kB / 0.5167 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.476, allocations: 0 / 0.5167 GB, free: 11.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002895/0.4763, allocations: 0 / 0.5167 GB, free: 11.24 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.01117/0.4874, allocations: 3.754 MB / 0.5204 GB, free: 7.914 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.4875, allocations: 11.89 kB / 0.5204 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00677/0.4943, allocations: 1.716 MB / 0.5221 GB, free: 6.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006061/0.5004, allocations: 1.652 MB / 0.5237 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002132/0.5006, allocations: 213.1 kB / 0.5239 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001037/0.5017, allocations: 267.8 kB / 0.5242 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01785/0.5195, allocations: 8.366 MB / 0.5323 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-05/0.5197, allocations: 19.81 kB / 0.5324 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004544/0.5201, allocations: 115.9 kB / 0.5325 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003185/0.5233, allocations: 1.756 MB / 0.5342 GB, free: 9.406 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01743/0.5408, allocations: 7.042 MB / 0.5411 GB, free: 2.355 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05168/0.5925, allocations: 25.7 MB / 0.5662 GB, free: 8.004 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005987/0.5985, allocations: 2.56 MB / 0.5687 GB, free: 5.316 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001538/0.6001, allocations: 0.97 MB / 0.5696 GB, free: 4.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009057/0.6091, allocations: 4.443 MB / 0.5739 GB, free: 15.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.6092, allocations: 39.56 kB / 0.574 GB, free: 15.71 MB / 462.1 MB Notification: Performance of pre-optimization done (n=120): time 5.631e-06/0.6092, allocations: 0 / 0.574 GB, free: 15.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=120): time 0.008052/0.6173, allocations: 2.727 MB / 0.5766 GB, free: 12.97 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.6174, allocations: 68.41 kB / 0.5767 GB, free: 12.89 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00431/0.6217, allocations: 2.257 MB / 0.5789 GB, free: 10.59 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.366e-05/0.6218, allocations: 45.7 kB / 0.579 GB, free: 10.54 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001765/0.6236, allocations: 2.314 MB / 0.5812 GB, free: 8.195 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000534/0.6241, allocations: 462 kB / 0.5817 GB, free: 7.738 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001169/0.6253, allocations: 0.7499 MB / 0.5824 GB, free: 6.98 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.6254, allocations: 305.1 kB / 0.5827 GB, free: 6.68 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001886/0.6273, allocations: 1.12 MB / 0.5838 GB, free: 5.559 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003514/0.6308, allocations: 3.287 MB / 0.587 GB, free: 1.207 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006006/0.6369, allocations: 4.815 MB / 0.5917 GB, free: 11.31 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.928e-05/0.637, allocations: 24 kB / 0.5917 GB, free: 11.29 MB / 478.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.00879/0.6458, allocations: 4.332 MB / 0.5959 GB, free: 6.953 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.646, allocations: 36 kB / 0.596 GB, free: 6.918 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001882/0.6462, allocations: 76 kB / 0.596 GB, free: 6.844 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001602/0.6463, allocations: 100 kB / 0.5961 GB, free: 6.746 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003134/0.6495, allocations: 0.8188 MB / 0.5969 GB, free: 5.926 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002022/0.6497, allocations: 147.4 kB / 0.5971 GB, free: 5.781 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004043/0.6538, allocations: 0.4952 MB / 0.5976 GB, free: 5.281 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000636/0.6544, allocations: 231.9 kB / 0.5978 GB, free: 5.055 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 347 * Number of states: 0 () * Number of discrete variables: 30 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (450): * Single equations (assignments): 445 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005089/0.6595, allocations: 1.698 MB / 0.5994 GB, free: 3.348 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004971/0.66, allocations: 193.5 kB / 0.5996 GB, free: 3.156 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002962/0.663, allocations: 1.522 MB / 0.6011 GB, free: 1.625 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.328e-05/0.663, allocations: 12 kB / 0.6011 GB, free: 1.613 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.663, allocations: 3.984 kB / 0.6011 GB, free: 1.609 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.6631, allocations: 7.984 kB / 0.6011 GB, free: 1.602 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01611/0.6792, allocations: 7.37 MB / 0.6083 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.639e-05/0.6793, allocations: 16 kB / 0.6084 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008699/0.6802, allocations: 191.6 kB / 0.6085 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.311e-05/0.6802, allocations: 20 kB / 0.6086 GB, free: 9.742 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/0.6803, allocations: 39.97 kB / 0.6086 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.519e-05/0.6804, allocations: 35.8 kB / 0.6086 GB, free: 9.668 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-05/0.6804, allocations: 20.38 kB / 0.6086 GB, free: 9.648 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002941/0.6833, allocations: 1.997 MB / 0.6106 GB, free: 7.438 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008913/0.6842, allocations: 326 kB / 0.6109 GB, free: 7.098 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004981/0.6847, allocations: 31.98 kB / 0.6109 GB, free: 7.066 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.686, allocations: 55.81 kB / 0.611 GB, free: 7.012 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/0.6862, allocations: 115.5 kB / 0.6111 GB, free: 6.898 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.6863, allocations: 51.98 kB / 0.6111 GB, free: 6.848 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00346/0.6898, allocations: 1.57 MB / 0.6127 GB, free: 5.262 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6898, allocations: 3.938 kB / 0.6127 GB, free: 5.258 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006611/0.6964, allocations: 0.9292 MB / 0.6136 GB, free: 4.324 MB / 494.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008287/0.6973, allocations: 170.8 kB / 0.6138 GB, free: 4.148 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005564/0.7029, allocations: 2.655 MB / 0.6163 GB, free: 1.512 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.062e-05/0.7029, allocations: 4 kB / 0.6164 GB, free: 1.508 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001378/0.7043, allocations: 0.6991 MB / 0.617 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002989/0.7073, allocations: 329.3 kB / 0.6174 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01654/0.7239, allocations: 6.919 MB / 0.6241 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004872/0.7288, allocations: 2.832 MB / 0.6269 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003202/0.732, allocations: 1.171 MB / 0.628 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005883/0.7326, allocations: 159.4 kB / 0.6282 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of SimCode: time 9.92e-07/0.7326, allocations: 0 / 0.6282 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of Templates: time 0.3324/1.065, allocations: 19.03 MB / 0.6468 GB, free: 123.7 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1)