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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003064/0.003064, allocations: 175.5 kB / 7.451 MB, free: 2.504 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.301/1.301, allocations: 170.6 MB / 178.4 MB, free: 15.46 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.001707/0.001707, allocations: 117.1 kB / 217.7 MB, free: 8.219 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.168/0.168, allocations: 37.96 MB / 294.8 MB, free: 9.625 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.111e-05/1.115e-05, allocations: 1.156 kB / 349.5 MB, free: 37.11 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1273, allocations: 48.71 MB / 398.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4036/0.5309, allocations: 93.34 MB / 491.6 MB, free: 13.23 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.5312, allocations: 75.39 kB / 491.6 MB, free: 13.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.7089/1.24, allocations: 193.9 MB / 0.6695 GB, free: 60.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007265/1.241, allocations: 199.8 kB / 0.6697 GB, free: 60.13 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.03512/1.276, allocations: 9.29 MB / 0.6788 GB, free: 56.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/1.276, allocations: 7.75 kB / 0.6788 GB, free: 56.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02097/1.297, allocations: 3.395 MB / 0.6821 GB, free: 55.67 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03052/1.328, allocations: 10.67 MB / 0.6925 GB, free: 54.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0011/1.329, allocations: 351.6 kB / 0.6928 GB, free: 54.49 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00664/1.335, allocations: 0.6042 MB / 0.6934 GB, free: 54.49 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03892/1.374, allocations: 15.05 MB / 0.7081 GB, free: 53.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05667/1.431, allocations: 21.22 MB / 0.7288 GB, free: 33.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007335/1.432, allocations: 96.73 kB / 0.7289 GB, free: 33.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006016/1.438, allocations: 48 kB / 0.729 GB, free: 33.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004014/1.442, allocations: 2.417 MB / 0.7313 GB, free: 31.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3495/1.792, allocations: 95.3 MB / 0.8244 GB, free: 70.66 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005971/1.798, allocations: 4.106 MB / 0.8284 GB, free: 69.98 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003007/1.801, allocations: 2.158 MB / 0.8305 GB, free: 69.93 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01895/1.82, allocations: 9.988 MB / 0.8403 GB, free: 67.94 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.1e-05/1.82, allocations: 68.42 kB / 0.8403 GB, free: 67.89 MB / 458.7 MB Notification: Performance of pre-optimization done (n=288): time 7.724e-06/1.82, allocations: 0 / 0.8403 GB, free: 67.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=288): time 0.01931/1.839, allocations: 6.29 MB / 0.8465 GB, free: 67.48 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/1.839, allocations: 157 kB / 0.8466 GB, free: 67.32 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01375/1.853, allocations: 5.867 MB / 0.8524 GB, free: 66.78 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006591/1.854, allocations: 25.7 kB / 0.8524 GB, free: 66.75 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004725/1.858, allocations: 6.51 MB / 0.8587 GB, free: 63.33 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001646/1.86, allocations: 1.096 MB / 0.8598 GB, free: 62.71 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005533/1.861, allocations: 2.531 kB / 0.8598 GB, free: 62.71 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006355/1.861, allocations: 0.7734 MB / 0.8606 GB, free: 62.38 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00388/1.865, allocations: 2.886 MB / 0.8634 GB, free: 62.36 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00784/1.873, allocations: 9.724 MB / 0.8729 GB, free: 53.44 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008531/1.882, allocations: 5.258 MB / 0.878 GB, free: 53.41 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002659/1.882, allocations: 69.31 kB / 0.8781 GB, free: 53.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=1426) (initialization): time 0.02528/1.907, allocations: 11.03 MB / 0.8889 GB, free: 51.64 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/1.907, allocations: 6.844 kB / 0.8889 GB, free: 51.63 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006395/1.908, allocations: 245.4 kB / 0.8891 GB, free: 51.63 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004065/1.908, allocations: 360.1 kB / 0.8894 GB, free: 51.63 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01122/1.92, allocations: 2.66 MB / 0.892 GB, free: 51.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004528/1.92, allocations: 480.2 kB / 0.8925 GB, free: 51.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01436/1.934, allocations: 1.36 MB / 0.8938 GB, free: 50.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003263/1.938, allocations: 0.6654 MB / 0.8945 GB, free: 50.39 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1124 * 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 (1402): * Single equations (assignments): 1399 * 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.003549/1.941, allocations: 0.711 MB / 0.8952 GB, free: 49.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001679/1.943, allocations: 0.6089 MB / 0.8958 GB, free: 49.46 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008589/1.952, allocations: 3.411 MB / 0.8991 GB, free: 48.25 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.746e-05/1.952, allocations: 31.72 kB / 0.8991 GB, free: 48.25 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/1.952, allocations: 4 kB / 0.8991 GB, free: 48.25 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.119e-05/1.952, allocations: 10.78 kB / 0.8991 GB, free: 48.25 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07625/2.028, allocations: 58.78 MB / 0.9566 GB, free: 8.699 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001085/2.028, allocations: 56.94 kB / 0.9566 GB, free: 8.645 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002993/2.031, allocations: 0.5564 MB / 0.9572 GB, free: 8.176 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-05/2.031, allocations: 76 kB / 0.9572 GB, free: 8.102 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003121/2.032, allocations: 102.8 kB / 0.9573 GB, free: 8.016 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.029e-05/2.032, allocations: 103.1 kB / 0.9574 GB, free: 7.926 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.391e-05/2.032, allocations: 87.62 kB / 0.9575 GB, free: 7.84 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.236/2.268, allocations: 15.93 MB / 0.9731 GB, free: 97.34 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00239/2.27, allocations: 0.7191 MB / 0.9738 GB, free: 97.08 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001893/2.272, allocations: 80.84 kB / 0.9738 GB, free: 97.08 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004517/2.277, allocations: 196.4 kB / 0.974 GB, free: 97.08 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000621/2.277, allocations: 313.5 kB / 0.9743 GB, free: 97.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003297/2.278, allocations: 157 kB / 0.9745 GB, free: 97.04 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.01106/2.289, allocations: 3.933 MB / 0.9783 GB, free: 96.83 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01547/2.304, allocations: 2.45 MB / 0.9807 GB, free: 96.48 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 245 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 269 * 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.001235/2.306, allocations: 238.7 kB / 0.9809 GB, free: 96.39 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01266/2.318, allocations: 6.872 MB / 0.9876 GB, free: 96.36 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.346e-05/2.318, allocations: 7.062 kB / 0.9877 GB, free: 96.36 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002812/2.321, allocations: 1.783 MB / 0.9894 GB, free: 96.36 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006211/2.327, allocations: 0.7706 MB / 0.9901 GB, free: 96.32 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04544/2.373, allocations: 17.1 MB / 1.007 GB, free: 91.28 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0197/2.393, allocations: 7.583 MB / 1.014 GB, free: 90.34 MB / 458.7 MB Notification: Performance of SimCode: time 1.964e-06/2.393, allocations: 0 / 1.014 GB, free: 90.34 MB / 458.7 MB Notification: Performance of Templates: time 0.1375/2.53, allocations: 56.27 MB / 1.069 GB, free: 81.73 MB / 458.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)