Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [: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.2+maint.om/package.mo): time 0.002271/0.002271, allocations: 181 kB / 7.457 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.154/1.154, allocations: 194.2 MB / 202.1 MB, free: 9.148 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001675/0.001675, allocations: 114.8 kB / 247.1 MB, free: 6.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1709/0.1709, allocations: 39.93 MB / 331.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.302e-06/6.342e-06, allocations: 4 kB / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09469/0.09471, allocations: 54.87 MB / 447.6 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3042/0.399, allocations: 98.28 MB / 0.5331 GB, free: 2.145 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.3992, allocations: 72.97 kB / 0.5332 GB, free: 2.109 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1624/0.5617, allocations: 63.95 MB / 0.5956 GB, free: 10.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001619/0.5619, allocations: 71.94 kB / 0.5957 GB, free: 10.25 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1328 * Number of variables: 1328 Notification: Performance of Generate backend data structure: time 0.009634/0.5716, allocations: 3.118 MB / 0.5988 GB, free: 7.074 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.498e-05/0.5716, allocations: 12.03 kB / 0.5988 GB, free: 7.062 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009035/0.5807, allocations: 1.61 MB / 0.6003 GB, free: 5.445 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00648/0.5872, allocations: 2.036 MB / 0.6023 GB, free: 3.363 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001892/0.5874, allocations: 120 kB / 0.6024 GB, free: 3.246 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001527/0.589, allocations: 212 kB / 0.6027 GB, free: 3.039 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01005/0.599, allocations: 5.477 MB / 0.608 GB, free: 13.56 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01243/0.6115, allocations: 7.48 MB / 0.6153 GB, free: 5.695 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.606e-05/0.6116, allocations: 15.88 kB / 0.6153 GB, free: 5.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004364/0.6121, allocations: 15.91 kB / 0.6153 GB, free: 5.664 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001201/0.6133, allocations: 0.858 MB / 0.6162 GB, free: 4.805 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03841/0.6517, allocations: 26.62 MB / 0.6422 GB, free: 9.461 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002241/0.654, allocations: 1.734 MB / 0.6439 GB, free: 7.613 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009595/0.655, allocations: 0.725 MB / 0.6446 GB, free: 6.891 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.751e-05/0.6551, allocations: 24.97 kB / 0.6446 GB, free: 6.863 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.6551, allocations: 47.55 kB / 0.6446 GB, free: 6.809 MB / 458.7 MB Notification: Performance of pre-optimization done (n=132): time 4.899e-06/0.6551, allocations: 0 / 0.6446 GB, free: 6.809 MB / 458.7 MB Notification: Performance of matching and sorting (n=132): time 0.00442/0.6596, allocations: 1.947 MB / 0.6465 GB, free: 4.844 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.6596, allocations: 64.34 kB / 0.6466 GB, free: 4.77 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002258/0.6619, allocations: 1.78 MB / 0.6483 GB, free: 2.949 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.387e-05/0.662, allocations: 25.7 kB / 0.6484 GB, free: 2.918 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001249/0.6632, allocations: 2.25 MB / 0.6506 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003881/0.6636, allocations: 493.5 kB / 0.651 GB, free: 148 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.6637, allocations: 0 / 0.651 GB, free: 148 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003091/0.664, allocations: 0.5149 MB / 0.6515 GB, free: 15.62 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.6655, allocations: 1.085 MB / 0.6526 GB, free: 14.54 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002833/0.6683, allocations: 3.362 MB / 0.6559 GB, free: 10.04 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00252/0.6708, allocations: 1.967 MB / 0.6578 GB, free: 8.066 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.062e-05/0.6709, allocations: 28 kB / 0.6578 GB, free: 8.039 MB / 474.7 MB Notification: Performance of matching and sorting (n=505) (initialization): time 0.00585/0.6767, allocations: 3.975 MB / 0.6617 GB, free: 4.051 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.6768, allocations: 8 kB / 0.6617 GB, free: 4.043 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.531e-05/0.6769, allocations: 80 kB / 0.6618 GB, free: 3.965 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001222/0.677, allocations: 120.8 kB / 0.6619 GB, free: 3.848 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002505/0.6795, allocations: 0.8734 MB / 0.6628 GB, free: 2.973 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001002/0.6796, allocations: 159.4 kB / 0.6629 GB, free: 2.816 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/0.6819, allocations: 426.7 kB / 0.6633 GB, free: 2.395 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002878/0.6822, allocations: 236 kB / 0.6635 GB, free: 2.164 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 372 * Number of states: 0 () * Number of discrete variables: 27 (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.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (481): * Single equations (assignments): 478 * 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.000461/0.6826, allocations: 317.9 kB / 0.6638 GB, free: 1.844 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002275/0.6829, allocations: 185.6 kB / 0.664 GB, free: 1.66 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1801/0.8629, allocations: 1.668 MB / 0.6657 GB, free: 177.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.488e-05/0.8631, allocations: 13.84 kB / 0.6657 GB, free: 177.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.8631, allocations: 0 / 0.6657 GB, free: 177.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-05/0.8631, allocations: 6.141 kB / 0.6657 GB, free: 177.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/0.8753, allocations: 7.945 MB / 0.6734 GB, free: 175.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/0.8754, allocations: 15.59 kB / 0.6734 GB, free: 175.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008153/0.8762, allocations: 209 kB / 0.6736 GB, free: 175.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.068e-05/0.8762, allocations: 27.19 kB / 0.6737 GB, free: 175.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.792e-05/0.8763, allocations: 30.75 kB / 0.6737 GB, free: 175.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.92e-05/0.8763, allocations: 34.23 kB / 0.6737 GB, free: 175.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.605e-05/0.8764, allocations: 28.22 kB / 0.6738 GB, free: 175.9 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002562/0.8789, allocations: 3.348 MB / 0.677 GB, free: 173.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003736/0.8793, allocations: 284.4 kB / 0.6773 GB, free: 173.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002452/0.8796, allocations: 25.72 kB / 0.6773 GB, free: 173.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007816/0.8804, allocations: 28.64 kB / 0.6774 GB, free: 173.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.8805, allocations: 109.4 kB / 0.6775 GB, free: 173.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.992e-05/0.8806, allocations: 58.05 kB / 0.6775 GB, free: 173.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001426/0.8821, allocations: 1.186 MB / 0.6787 GB, free: 173.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002967/0.885, allocations: 0.871 MB / 0.6795 GB, free: 173 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * 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.0003027/0.8853, allocations: 155.9 kB / 0.6797 GB, free: 172.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003393/0.8887, allocations: 2.593 MB / 0.6822 GB, free: 172.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.8888, allocations: 3.938 kB / 0.6822 GB, free: 172.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007998/0.8896, allocations: 0.7594 MB / 0.6829 GB, free: 172.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.8906, allocations: 215.7 kB / 0.6832 GB, free: 172.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/0.9008, allocations: 5.946 MB / 0.689 GB, free: 171.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003119/0.9039, allocations: 3.082 MB / 0.692 GB, free: 170.4 MB / 474.7 MB Notification: Performance of SimCode: time 8.02e-07/0.9039, allocations: 0 / 0.692 GB, free: 170.4 MB / 474.7 MB Notification: Performance of Templates: time 0.03504/0.939, allocations: 18.63 MB / 0.7102 GB, free: 169.5 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1)