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.001723/0.001723, allocations: 169.1 kB / 7.639 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.35/1.35, allocations: 170.6 MB / 178.7 MB, free: 15.57 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.001582/0.001582, allocations: 103.5 kB / 218 MB, free: 8.348 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.1889/0.1889, allocations: 37.98 MB / 295.1 MB, free: 9.488 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.359e-05/1.362e-05, allocations: 1.281 kB / 350 MB, free: 36.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1005, allocations: 48.72 MB / 398.7 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3953/0.4958, allocations: 93.42 MB / 492.2 MB, free: 17.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.4962, allocations: 73.75 kB / 492.2 MB, free: 17.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7132/1.209, allocations: 195.9 MB / 0.672 GB, free: 55.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.264e-06/1.209, allocations: 4 kB / 0.672 GB, free: 55.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004754/1.21, allocations: 195.8 kB / 0.6722 GB, free: 55.04 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.03314/1.243, allocations: 9.403 MB / 0.6814 GB, free: 51.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/1.243, allocations: 7.125 kB / 0.6814 GB, free: 51.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02169/1.265, allocations: 4.029 MB / 0.6853 GB, free: 50.67 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02585/1.291, allocations: 10.56 MB / 0.6956 GB, free: 49.51 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005624/1.291, allocations: 349 kB / 0.6959 GB, free: 49.51 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005222/1.297, allocations: 0.6043 MB / 0.6965 GB, free: 49.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02702/1.324, allocations: 14.54 MB / 0.7107 GB, free: 49.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0654/1.389, allocations: 20.73 MB / 0.731 GB, free: 35.04 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006104/1.39, allocations: 104.9 kB / 0.7311 GB, free: 34.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00529/1.395, allocations: 48 kB / 0.7311 GB, free: 34.94 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005694/1.401, allocations: 2.27 MB / 0.7333 GB, free: 33.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4692/1.87, allocations: 93.78 MB / 0.8249 GB, free: 48.54 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007557/1.878, allocations: 4.144 MB / 0.829 GB, free: 47.87 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002854/1.88, allocations: 1.935 MB / 0.8309 GB, free: 47.81 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002148/1.881, allocations: 68.39 kB / 0.8309 GB, free: 47.81 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/1.881, allocations: 70.06 kB / 0.831 GB, free: 47.77 MB / 474.7 MB Notification: Performance of pre-optimization done (n=330): time 5.67e-06/1.881, allocations: 0 / 0.831 GB, free: 47.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=342): time 0.0381/1.919, allocations: 14.89 MB / 0.8455 GB, free: 42.12 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/1.919, allocations: 163.6 kB / 0.8457 GB, free: 41.96 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01241/1.931, allocations: 5.661 MB / 0.8512 GB, free: 41.43 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007212/1.932, allocations: 25.7 kB / 0.8512 GB, free: 41.39 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004864/1.937, allocations: 6.969 MB / 0.858 GB, free: 37.78 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00179/1.939, allocations: 1.272 MB / 0.8593 GB, free: 37.04 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00166/1.941, allocations: 3.344 kB / 0.8593 GB, free: 37.04 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001167/1.942, allocations: 0.7683 MB / 0.86 GB, free: 36.71 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004957/1.947, allocations: 2.862 MB / 0.8628 GB, free: 36.69 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008288/1.955, allocations: 9.632 MB / 0.8722 GB, free: 27.86 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008294/1.963, allocations: 5.168 MB / 0.8773 GB, free: 27.79 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002329/1.964, allocations: 69.19 kB / 0.8774 GB, free: 27.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=1444) (initialization): time 0.02333/1.987, allocations: 11.05 MB / 0.8881 GB, free: 26.71 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001598/1.987, allocations: 113.6 kB / 0.8883 GB, free: 26.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000278/1.987, allocations: 247.7 kB / 0.8885 GB, free: 26.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002944/1.988, allocations: 356.7 kB / 0.8888 GB, free: 26.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009042/1.997, allocations: 2.713 MB / 0.8915 GB, free: 26.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003043/1.997, allocations: 475.4 kB / 0.8919 GB, free: 26.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01189/2.009, allocations: 0.4939 MB / 0.8924 GB, free: 26.33 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002773/2.012, allocations: 0.6658 MB / 0.8931 GB, free: 26.33 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1112 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1420): * Single equations (assignments): 1417 * 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.002561/2.014, allocations: 0.708 MB / 0.8938 GB, free: 25.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001179/2.016, allocations: 0.6163 MB / 0.8944 GB, free: 25.46 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005481/2.021, allocations: 3.57 MB / 0.8978 GB, free: 24.09 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.781e-05/2.021, allocations: 40.19 kB / 0.8979 GB, free: 24.09 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/2.021, allocations: 0 / 0.8979 GB, free: 24.09 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.009e-05/2.021, allocations: 17.45 kB / 0.8979 GB, free: 24.09 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06137/2.083, allocations: 45.74 MB / 0.9426 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.216e-05/2.083, allocations: 64 kB / 0.9426 GB, free: 13.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002793/2.086, allocations: 0.7016 MB / 0.9433 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.67e-05/2.086, allocations: 102.7 kB / 0.9434 GB, free: 12.63 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003908/2.086, allocations: 109.8 kB / 0.9435 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.414e-05/2.086, allocations: 127.8 kB / 0.9436 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.327e-05/2.086, allocations: 111.5 kB / 0.9437 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01568/2.102, allocations: 18.98 MB / 0.9623 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002655/2.105, allocations: 0.7158 MB / 0.963 GB, free: 5.348 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001304/2.106, allocations: 103 kB / 0.9631 GB, free: 5.262 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003972/2.11, allocations: 212.2 kB / 0.9633 GB, free: 5.109 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006901/2.111, allocations: 459.7 kB / 0.9637 GB, free: 4.746 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003781/2.111, allocations: 195.2 kB / 0.9639 GB, free: 4.566 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008411/2.119, allocations: 3.777 MB / 0.9676 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.3e-07/2.12, allocations: 6.656 kB / 0.9676 GB, free: 1.309 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0149/2.134, allocations: 1.746 MB / 0.9693 GB, free: 0 / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 306 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (358): * Single equations (assignments): 355 * 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.2934/2.428, allocations: 265.4 kB / 0.9696 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01913/2.447, allocations: 6.796 MB / 0.9762 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.881e-05/2.447, allocations: 10.28 kB / 0.9762 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004893/2.452, allocations: 1.878 MB / 0.978 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008656/2.461, allocations: 0.8118 MB / 0.9788 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05571/2.516, allocations: 17.57 MB / 0.996 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02089/2.537, allocations: 7.093 MB / 1.003 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01829/2.556, allocations: 3.384 MB / 1.006 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00349/2.559, allocations: 466.3 kB / 1.007 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of SimCode: time 2.364e-06/2.559, allocations: 2.719 kB / 1.007 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.1272/2.687, allocations: 47.3 MB / 1.053 GB, free: 104.8 MB / 0.4948 GB 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)