Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006152/0.006152, allocations: 166.6 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.335/1.335, allocations: 170.8 MB / 186.6 MB, free: 1.133 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001652/0.001652, allocations: 113.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3278/0.3278, allocations: 38.06 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003876, allocations: 16 kB / 362.9 MB, free: 5.617 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.119, allocations: 48.7 MB / 411.6 MB, free: 4.844 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3729/0.492, allocations: 94.18 MB / 0.4939 GB, free: 9.816 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.4923, allocations: 81.14 kB / 0.494 GB, free: 9.773 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7214/1.214, allocations: 200.4 MB / 0.6897 GB, free: 53.54 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.865e-06/1.214, allocations: 0 / 0.6897 GB, free: 53.54 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007907/1.215, allocations: 199.8 kB / 0.6899 GB, free: 53.54 MB / 426.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.03423/1.249, allocations: 9.979 MB / 0.6997 GB, free: 45.42 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/1.249, allocations: 16.03 kB / 0.6997 GB, free: 45.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02297/1.272, allocations: 4.032 MB / 0.7036 GB, free: 41.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02716/1.299, allocations: 10.61 MB / 0.714 GB, free: 30.76 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008827/1.3, allocations: 0.7981 MB / 0.7147 GB, free: 29.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005864/1.306, allocations: 1.036 MB / 0.7158 GB, free: 28.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06358/1.37, allocations: 24.4 MB / 0.7396 GB, free: 2.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006749/1.37, allocations: 99.92 kB / 0.7397 GB, free: 2.812 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006987/1.377, allocations: 491.8 kB / 0.7401 GB, free: 2.332 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004943/1.382, allocations: 2.271 MB / 0.7424 GB, free: 52 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2966/1.679, allocations: 19.53 MB / 0.7614 GB, free: 58.02 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1285/1.807, allocations: 94.13 MB / 0.8534 GB, free: 24.51 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01998/1.828, allocations: 7.65 MB / 0.8608 GB, free: 22.21 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0204/1.848, allocations: 13.31 MB / 0.8738 GB, free: 15.92 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/1.848, allocations: 70 kB / 0.8739 GB, free: 15.86 MB / 458.7 MB Notification: Performance of pre-optimization done (n=336): time 5.099e-06/1.848, allocations: 0 / 0.8739 GB, free: 15.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=360): time 0.04839/1.896, allocations: 20.85 MB / 0.8943 GB, free: 6.91 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/1.897, allocations: 163.6 kB / 0.8944 GB, free: 6.75 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009879/1.906, allocations: 6.587 MB / 0.9008 GB, free: 4.492 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006444/1.907, allocations: 85.67 kB / 0.9009 GB, free: 4.418 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003917/1.911, allocations: 6.8 MB / 0.9076 GB, free: 15.23 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001664/1.913, allocations: 1.357 MB / 0.9089 GB, free: 14.24 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005125/1.913, allocations: 208.7 kB / 0.9091 GB, free: 14.07 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005503/1.914, allocations: 0.7555 MB / 0.9098 GB, free: 13.58 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005048/1.919, allocations: 3.218 MB / 0.913 GB, free: 12.59 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009949/1.929, allocations: 9.7 MB / 0.9224 GB, free: 2.891 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01101/1.94, allocations: 5.402 MB / 0.9277 GB, free: 20 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002642/1.94, allocations: 98.95 kB / 0.9278 GB, free: 20 kB / 474.7 MB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.2984/2.239, allocations: 12.65 MB / 0.9402 GB, free: 89.09 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001805/2.239, allocations: 107.2 kB / 0.9403 GB, free: 89.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003929/2.239, allocations: 229.8 kB / 0.9405 GB, free: 89.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003473/2.24, allocations: 340.6 kB / 0.9408 GB, free: 89.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009286/2.249, allocations: 2.618 MB / 0.9434 GB, free: 88.87 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004245/2.249, allocations: 452.1 kB / 0.9438 GB, free: 88.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01097/2.26, allocations: 0.6859 MB / 0.9445 GB, free: 88.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002456/2.263, allocations: 0.6318 MB / 0.9451 GB, free: 88.77 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1052 * 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 (1366): * Single equations (assignments): 1363 * 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 prepare postOptimizeDAE: time 0.01069/2.274, allocations: 4.517 MB / 0.9495 GB, free: 88.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001434/2.275, allocations: 0.6656 MB / 0.9502 GB, free: 88.42 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007984/2.283, allocations: 4.097 MB / 0.9542 GB, free: 88.22 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.828e-05/2.283, allocations: 36.67 kB / 0.9542 GB, free: 88.22 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/2.283, allocations: 0 / 0.9542 GB, free: 88.22 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-05/2.283, allocations: 20.12 kB / 0.9542 GB, free: 88.22 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07208/2.355, allocations: 50.13 MB / 1.003 GB, free: 77.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00014/2.355, allocations: 71.38 kB / 1.003 GB, free: 77.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003078/2.359, allocations: 0.7335 MB / 1.004 GB, free: 77.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.09e-05/2.359, allocations: 104.9 kB / 1.004 GB, free: 77.26 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003659/2.359, allocations: 170 kB / 1.004 GB, free: 77.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.99e-05/2.359, allocations: 139.1 kB / 1.004 GB, free: 77.18 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.645e-05/2.359, allocations: 113.2 kB / 1.004 GB, free: 77.15 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01213/2.371, allocations: 21.48 MB / 1.025 GB, free: 55.93 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002374/2.374, allocations: 0.7971 MB / 1.026 GB, free: 55.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001305/2.375, allocations: 175.2 kB / 1.026 GB, free: 55.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004069/2.379, allocations: 278.3 kB / 1.027 GB, free: 55.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000716/2.38, allocations: 482.9 kB / 1.027 GB, free: 55.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003922/2.38, allocations: 204.1 kB / 1.027 GB, free: 55.07 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01049/2.391, allocations: 4.651 MB / 1.032 GB, free: 52.88 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.51e-07/2.391, allocations: 0 / 1.032 GB, free: 52.88 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01621/2.407, allocations: 1.872 MB / 1.034 GB, free: 51.02 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 330 * 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 (376): * Single equations (assignments): 373 * 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.001668/2.409, allocations: 361.9 kB / 1.034 GB, free: 50.71 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0142/2.423, allocations: 7.579 MB / 1.041 GB, free: 44.11 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.345e-05/2.423, allocations: 12 kB / 1.041 GB, free: 44.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003579/2.427, allocations: 2.123 MB / 1.043 GB, free: 42.29 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006166/2.433, allocations: 1.019 MB / 1.044 GB, free: 41.43 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04279/2.476, allocations: 25.82 MB / 1.07 GB, free: 16.52 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01525/2.491, allocations: 7.123 MB / 1.077 GB, free: 11.34 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01036/2.501, allocations: 3.316 MB / 1.08 GB, free: 9.258 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002325/2.504, allocations: 494.8 kB / 1.08 GB, free: 8.801 MB / 474.7 MB Notification: Performance of SimCode: time 1.443e-06/2.504, allocations: 0 / 1.08 GB, free: 8.801 MB / 474.7 MB Notification: Performance of Templates: time 0.3557/2.859, allocations: 56.34 MB / 1.135 GB, free: 86.34 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1)