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.007201/0.007201, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.00133/0.00133, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.671/1.671, allocations: 205.1 MB / 222.6 MB, free: 4.496 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.3377/0.3377, allocations: 37.99 MB / 307.9 MB, free: 10.12 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.001492/0.001492, allocations: 63.89 kB / 433 MB, free: 5.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3515, allocations: 56.47 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01411/0.3656, allocations: 12.59 MB / 0.4903 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01206/0.3777, allocations: 3.366 MB / 0.4936 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003676/0.3815, allocations: 65.5 kB / 0.4936 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005656/0.3872, allocations: 2.649 MB / 0.4962 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005094/0.3923, allocations: 1.396 MB / 0.4976 GB, free: 6.883 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.3936, allocations: 352.1 kB / 0.4979 GB, free: 6.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005588/0.3992, allocations: 2.874 MB / 0.5007 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003951/0.4032, allocations: 3.153 MB / 0.5038 GB, free: 3.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002119/0.4053, allocations: 1.198 MB / 0.505 GB, free: 3.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0022/0.4076, allocations: 1.63 MB / 0.5066 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006102/0.4082, allocations: 296.3 kB / 0.5068 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001665/0.4099, allocations: 0.7844 MB / 0.5076 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00149/0.4114, allocations: 1.565 MB / 0.5091 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001898/0.4133, allocations: 1.83 MB / 0.5109 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008496/0.4218, allocations: 5.992 MB / 0.5168 GB, free: 11.17 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.4218, allocations: 3.938 kB / 0.5168 GB, free: 11.17 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4218, allocations: 1.156 kB / 0.5168 GB, free: 11.17 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002267/0.422, allocations: 0 / 0.5168 GB, free: 11.17 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.01038/0.4324, allocations: 3.75 MB / 0.5204 GB, free: 7.867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.4325, allocations: 11.89 kB / 0.5205 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006113/0.4386, allocations: 1.716 MB / 0.5221 GB, free: 6.133 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00393/0.4426, allocations: 1.66 MB / 0.5238 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.4428, allocations: 205.1 kB / 0.5239 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005159/0.4433, allocations: 263.9 kB / 0.5242 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01618/0.4595, allocations: 8.37 MB / 0.5324 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.961e-05/0.4596, allocations: 19.86 kB / 0.5324 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003507/0.4599, allocations: 115.9 kB / 0.5325 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002699/0.4626, allocations: 1.764 MB / 0.5342 GB, free: 9.352 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01507/0.4777, allocations: 7.03 MB / 0.5411 GB, free: 2.312 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04941/0.5272, allocations: 25.71 MB / 0.5662 GB, free: 7.949 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00611/0.5333, allocations: 2.556 MB / 0.5687 GB, free: 5.266 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001762/0.5351, allocations: 0.9809 MB / 0.5697 GB, free: 4.281 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01028/0.5454, allocations: 4.439 MB / 0.574 GB, free: 15.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.5455, allocations: 43.5 kB / 0.574 GB, free: 15.64 MB / 462.1 MB Notification: Performance of pre-optimization done (n=120): time 4.087e-06/0.5455, allocations: 0 / 0.574 GB, free: 15.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=120): time 0.00767/0.5532, allocations: 2.723 MB / 0.5767 GB, free: 12.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.5533, allocations: 64.41 kB / 0.5768 GB, free: 12.84 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005289/0.5586, allocations: 2.265 MB / 0.579 GB, free: 10.53 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.5587, allocations: 41.7 kB / 0.579 GB, free: 10.48 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002312/0.561, allocations: 2.314 MB / 0.5813 GB, free: 8.141 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006326/0.5617, allocations: 462 kB / 0.5817 GB, free: 7.684 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001584/0.5633, allocations: 0.746 MB / 0.5824 GB, free: 6.93 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.5634, allocations: 313.1 kB / 0.5827 GB, free: 6.621 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001982/0.5654, allocations: 1.12 MB / 0.5838 GB, free: 5.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00378/0.5692, allocations: 3.287 MB / 0.587 GB, free: 1.148 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006101/0.5753, allocations: 4.811 MB / 0.5917 GB, free: 11.27 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001039/0.5754, allocations: 24 kB / 0.5918 GB, free: 11.24 MB / 478.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.008576/0.584, allocations: 4.324 MB / 0.596 GB, free: 6.914 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.437e-05/0.5842, allocations: 39.98 kB / 0.596 GB, free: 6.875 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001417/0.5843, allocations: 76 kB / 0.5961 GB, free: 6.801 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001341/0.5844, allocations: 104 kB / 0.5962 GB, free: 6.699 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002749/0.5872, allocations: 0.8077 MB / 0.597 GB, free: 5.891 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001666/0.5874, allocations: 151.4 kB / 0.5971 GB, free: 5.742 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003174/0.5906, allocations: 0.4986 MB / 0.5976 GB, free: 5.238 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005576/0.5911, allocations: 231.9 kB / 0.5978 GB, free: 5.012 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.00415/0.5953, allocations: 1.702 MB / 0.5995 GB, free: 3.301 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005006/0.5958, allocations: 189.5 kB / 0.5997 GB, free: 3.113 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003055/0.5989, allocations: 1.518 MB / 0.6012 GB, free: 1.586 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/0.5989, allocations: 12 kB / 0.6012 GB, free: 1.574 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.5989, allocations: 0 / 0.6012 GB, free: 1.574 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/0.599, allocations: 7.984 kB / 0.6012 GB, free: 1.566 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01542/0.6144, allocations: 7.374 MB / 0.6084 GB, free: 9.926 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.952e-05/0.6145, allocations: 16 kB / 0.6084 GB, free: 9.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008342/0.6153, allocations: 191.6 kB / 0.6086 GB, free: 9.723 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.212e-05/0.6154, allocations: 23.98 kB / 0.6086 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/0.6155, allocations: 39.98 kB / 0.6086 GB, free: 9.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.686e-05/0.6155, allocations: 40.36 kB / 0.6087 GB, free: 9.621 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-05/0.6156, allocations: 27.88 kB / 0.6087 GB, free: 9.594 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002973/0.6186, allocations: 1.989 MB / 0.6106 GB, free: 7.391 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008781/0.6194, allocations: 325.9 kB / 0.611 GB, free: 7.051 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005869/0.62, allocations: 32 kB / 0.611 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/0.6213, allocations: 59.8 kB / 0.611 GB, free: 6.961 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/0.6215, allocations: 115.5 kB / 0.6111 GB, free: 6.848 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/0.6216, allocations: 48 kB / 0.6112 GB, free: 6.801 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003796/0.6254, allocations: 1.574 MB / 0.6127 GB, free: 5.211 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6254, allocations: 4 kB / 0.6127 GB, free: 5.207 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005057/0.6305, allocations: 0.9253 MB / 0.6136 GB, free: 4.277 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.0005154/0.631, allocations: 174.8 kB / 0.6138 GB, free: 4.098 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005709/0.6367, allocations: 2.655 MB / 0.6164 GB, free: 1.461 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.681e-05/0.6368, allocations: 5.75 kB / 0.6164 GB, free: 1.457 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.638, allocations: 0.6983 MB / 0.6171 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/0.6407, allocations: 320.9 kB / 0.6174 GB, free: 460 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01684/0.6575, allocations: 6.923 MB / 0.6242 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005582/0.6632, allocations: 2.828 MB / 0.6269 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0035/0.6667, allocations: 1.171 MB / 0.6281 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006956/0.6674, allocations: 163.4 kB / 0.6282 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of SimCode: time 1.383e-06/0.6674, allocations: 0 / 0.6282 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of Templates: time 0.31/0.9775, allocations: 19.03 MB / 0.6468 GB, free: 123.8 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)