Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.CutForceAndTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008453/0.0008455, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008901/0.0008902, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.2877/0.2877, allocations: 38.04 MB / 308.4 MB, free: 10.3 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.0005885/0.0005885, allocations: 24 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1034, allocations: 57.52 MB / 434 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.2796/0.3829, allocations: 120.9 MB / 0.5419 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05459/0.4376, allocations: 23.65 MB / 0.565 GB, free: 4.762 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02674/0.4644, allocations: 0.5612 MB / 0.5655 GB, free: 4.199 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02108/0.4855, allocations: 6.462 MB / 0.5719 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0479/0.5335, allocations: 18.71 MB / 0.5901 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008271/0.5418, allocations: 1.404 MB / 0.5915 GB, free: 10.85 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01435/0.5562, allocations: 11.32 MB / 0.6026 GB, free: 15.52 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01573/0.5719, allocations: 11.46 MB / 0.6137 GB, free: 3.992 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005258/0.5772, allocations: 3.102 MB / 0.6168 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006691/0.584, allocations: 4.771 MB / 0.6214 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001493/0.5855, allocations: 380 kB / 0.6218 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002746/0.5882, allocations: 1.042 MB / 0.6228 GB, free: 10.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007634/0.5959, allocations: 4.215 MB / 0.6269 GB, free: 6.453 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004365/0.6003, allocations: 1.956 MB / 0.6288 GB, free: 4.484 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4803/1.081, allocations: 13.09 MB / 0.6416 GB, free: 22.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.178e-06/1.081, allocations: 0 / 0.6416 GB, free: 22.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.655e-06/1.081, allocations: 0 / 0.6416 GB, free: 22.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0007319/1.081, allocations: 0 / 0.6416 GB, free: 22.75 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3665 * Number of variables: 3665 Notification: Performance of Generate backend data structure: time 0.02298/1.104, allocations: 9.375 MB / 0.6508 GB, free: 18.76 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/1.104, allocations: 10.31 kB / 0.6508 GB, free: 18.76 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01406/1.119, allocations: 3.076 MB / 0.6538 GB, free: 18.08 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0142/1.133, allocations: 5.6 MB / 0.6593 GB, free: 17.08 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009883/1.134, allocations: 0.5954 MB / 0.6598 GB, free: 17.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005248/1.139, allocations: 0.7604 MB / 0.6606 GB, free: 17.06 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05176/1.191, allocations: 24.46 MB / 0.6845 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003794/1.191, allocations: 79.91 kB / 0.6845 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002554/1.194, allocations: 367.2 kB / 0.6849 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006099/1.2, allocations: 4.552 MB / 0.6893 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03776/1.238, allocations: 19.14 MB / 0.708 GB, free: 9.898 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1199/1.358, allocations: 85.67 MB / 0.7917 GB, free: 2.715 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02043/1.378, allocations: 7.832 MB / 0.7993 GB, free: 12.4 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004995/1.383, allocations: 3.104 MB / 0.8024 GB, free: 10.38 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02138/1.405, allocations: 13.11 MB / 0.8152 GB, free: 15.88 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.587e-05/1.405, allocations: 67.09 kB / 0.8152 GB, free: 15.83 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=336): time 7.875e-06/1.405, allocations: 4 kB / 0.8152 GB, free: 15.82 MB / 0.5763 GB Notification: Performance of matching and sorting (n=360): time 0.04905/1.454, allocations: 20.58 MB / 0.8353 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.095e-05/1.454, allocations: 170.9 kB / 0.8355 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01078/1.465, allocations: 7.363 MB / 0.8427 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0006709/1.465, allocations: 81.7 kB / 0.8428 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.2222/1.688, allocations: 6.767 MB / 0.8494 GB, free: 247.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00147/1.689, allocations: 1.358 MB / 0.8507 GB, free: 247 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006823/1.69, allocations: 220.1 kB / 0.8509 GB, free: 247 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0004742/1.69, allocations: 0.7762 MB / 0.8517 GB, free: 246.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005375/1.696, allocations: 3.273 MB / 0.8549 GB, free: 246.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009033/1.705, allocations: 9.876 MB / 0.8645 GB, free: 238 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009581/1.714, allocations: 5.481 MB / 0.8699 GB, free: 236 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003469/1.715, allocations: 66.91 kB / 0.8699 GB, free: 236 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1457) (initialization): time 0.03284/1.748, allocations: 12.85 MB / 0.8825 GB, free: 231 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006187/1.748, allocations: 104.5 kB / 0.8826 GB, free: 231 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007927/1.749, allocations: 232.3 kB / 0.8828 GB, free: 231 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009098/1.75, allocations: 344.3 kB / 0.8831 GB, free: 231 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01003/1.76, allocations: 2.588 MB / 0.8857 GB, free: 230.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008379/1.761, allocations: 457.3 kB / 0.8861 GB, free: 230.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009946/1.771, allocations: 0.5161 MB / 0.8866 GB, free: 230.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003314/1.774, allocations: 0.6625 MB / 0.8872 GB, free: 230.3 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1063 * Number of states: 0 () * Number of discrete variables: 72 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[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.groundColor[3],world.groundColor[2],world.groundColor[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 (1393): * Single equations (assignments): 1382 * 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.01393/1.788, allocations: 4.53 MB / 0.8917 GB, free: 228.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00223/1.79, allocations: 0.6586 MB / 0.8923 GB, free: 227.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0121/1.803, allocations: 4.08 MB / 0.8963 GB, free: 226.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-05/1.803, allocations: 45.19 kB / 0.8963 GB, free: 226.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.295e-05/1.803, allocations: 0 / 0.8963 GB, free: 226.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.779e-05/1.803, allocations: 18 kB / 0.8963 GB, free: 226.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05947/1.862, allocations: 42.04 MB / 0.9374 GB, free: 194.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001743/1.863, allocations: 88 kB / 0.9375 GB, free: 194.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003049/1.866, allocations: 0.8624 MB / 0.9383 GB, free: 193.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.802e-05/1.866, allocations: 132 kB / 0.9385 GB, free: 193.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004051/1.866, allocations: 207.1 kB / 0.9387 GB, free: 193.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.389e-05/1.866, allocations: 175.3 kB / 0.9388 GB, free: 192.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.813e-05/1.866, allocations: 147.3 kB / 0.939 GB, free: 192.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007488/1.874, allocations: 8.012 MB / 0.9468 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002518/1.876, allocations: 0.8394 MB / 0.9476 GB, free: 182.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001104/1.877, allocations: 211 kB / 0.9478 GB, free: 182.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003181/1.881, allocations: 207.9 kB / 0.948 GB, free: 182 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005105/1.881, allocations: 0.5835 MB / 0.9486 GB, free: 181.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002731/1.881, allocations: 252 kB / 0.9488 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007168/1.889, allocations: 4.568 MB / 0.9533 GB, free: 176.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.9e-07/1.889, allocations: 0 / 0.9533 GB, free: 176.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01274/1.901, allocations: 1.89 MB / 0.9551 GB, free: 174.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 413 * 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 (455): * Single equations (assignments): 452 * 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.001085/1.903, allocations: 416.5 kB / 0.9555 GB, free: 174.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01286/1.915, allocations: 7.708 MB / 0.963 GB, free: 166.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.832e-05/1.916, allocations: 16 kB / 0.9631 GB, free: 166.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003271/1.919, allocations: 2.2 MB / 0.9652 GB, free: 164.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009682/1.928, allocations: 1.152 MB / 0.9663 GB, free: 163.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04257/1.971, allocations: 26.59 MB / 0.9923 GB, free: 135.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01121/1.982, allocations: 6.966 MB / 0.9991 GB, free: 128.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.009046/1.991, allocations: 3.312 MB / 1.002 GB, free: 125.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001508/1.993, allocations: 0.5058 MB / 1.003 GB, free: 124.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.563e-06/1.993, allocations: 0 / 1.003 GB, free: 124.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.1068/2.1, allocations: 57.74 MB / 1.059 GB, free: 66.95 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) Environment - environmentSimulation: