Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2") [: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.00431/0.00431, allocations: 172.1 kB / 7.446 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.365/1.365, allocations: 170.6 MB / 178.4 MB, free: 15.41 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.001795/0.001795, allocations: 120.3 kB / 217.7 MB, free: 8.172 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.176/0.176, allocations: 37.97 MB / 294.8 MB, free: 9.633 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.083e-06/7.103e-06, allocations: 0 / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1099, allocations: 48.71 MB / 398.2 MB, free: 5.695 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3464/0.4564, allocations: 88.49 MB / 486.7 MB, free: 13.39 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000343/0.4568, allocations: 75.67 kB / 486.8 MB, free: 13.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1915/0.6484, allocations: 53.05 MB / 0.5272 GB, free: 7.953 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002844/0.6487, allocations: 55.75 kB / 0.5272 GB, free: 7.902 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.01377/0.6625, allocations: 2.598 MB / 0.5298 GB, free: 5.469 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.6626, allocations: 8.031 kB / 0.5298 GB, free: 5.461 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01339/0.676, allocations: 1.501 MB / 0.5312 GB, free: 3.957 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008731/0.6848, allocations: 1.713 MB / 0.5329 GB, free: 2.586 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003622/0.6853, allocations: 96 kB / 0.533 GB, free: 2.492 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002475/0.6878, allocations: 160 kB / 0.5332 GB, free: 2.336 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01623/0.704, allocations: 4.449 MB / 0.5375 GB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02173/0.7258, allocations: 6.137 MB / 0.5435 GB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001487/0.726, allocations: 23.72 kB / 0.5435 GB, free: 7.754 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001514/0.7275, allocations: 12 kB / 0.5435 GB, free: 7.742 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001508/0.7291, allocations: 0.7083 MB / 0.5442 GB, free: 7.027 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04962/0.7787, allocations: 22.43 MB / 0.5661 GB, free: 64 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003015/0.7818, allocations: 1.55 MB / 0.5676 GB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/0.783, allocations: 0.5854 MB / 0.5682 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-05/0.7832, allocations: 20.59 kB / 0.5682 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/0.7832, allocations: 39.34 kB / 0.5683 GB, free: 13.74 MB / 394.7 MB Notification: Performance of pre-optimization done (n=108): time 3.948e-06/0.7832, allocations: 0 / 0.5683 GB, free: 13.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=108): time 0.005713/0.7889, allocations: 1.636 MB / 0.5699 GB, free: 12.1 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.789, allocations: 60.19 kB / 0.5699 GB, free: 12.03 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004085/0.7931, allocations: 1.608 MB / 0.5715 GB, free: 10.42 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001798/0.7933, allocations: 25.7 kB / 0.5715 GB, free: 10.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002153/0.7955, allocations: 1.882 MB / 0.5734 GB, free: 8.473 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00065/0.7962, allocations: 406.6 kB / 0.5737 GB, free: 8.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.7963, allocations: 0 / 0.5737 GB, free: 8.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004617/0.7968, allocations: 0.498 MB / 0.5742 GB, free: 7.562 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002232/0.799, allocations: 0.9359 MB / 0.5751 GB, free: 6.625 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00397/0.803, allocations: 2.969 MB / 0.578 GB, free: 2.629 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003979/0.807, allocations: 1.724 MB / 0.5797 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.838e-05/0.8071, allocations: 20 kB / 0.5797 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of matching and sorting (n=440) (initialization): time 0.008632/0.8157, allocations: 3.465 MB / 0.5831 GB, free: 13.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.8158, allocations: 4 kB / 0.5831 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.182e-05/0.8159, allocations: 76 kB / 0.5832 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001085/0.816, allocations: 104.8 kB / 0.5833 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00249/0.8185, allocations: 0.7642 MB / 0.584 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001115/0.8186, allocations: 143.4 kB / 0.5842 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002743/0.8214, allocations: 371.4 kB / 0.5845 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003422/0.8217, allocations: 208 kB / 0.5847 GB, free: 11.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 334 * Number of states: 0 () * Number of discrete variables: 21 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.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 (416): * Single equations (assignments): 413 * 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.0005432/0.8223, allocations: 297 kB / 0.585 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003043/0.8226, allocations: 161.8 kB / 0.5852 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/0.8251, allocations: 1.374 MB / 0.5865 GB, free: 9.898 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-05/0.8251, allocations: 11.91 kB / 0.5865 GB, free: 9.887 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.8252, allocations: 0 / 0.5865 GB, free: 9.887 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.8252, allocations: 3.984 kB / 0.5865 GB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009337/0.8345, allocations: 5.256 MB / 0.5917 GB, free: 4.383 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/0.8346, allocations: 8 kB / 0.5917 GB, free: 4.375 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006951/0.8353, allocations: 155.7 kB / 0.5918 GB, free: 4.223 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.22e-05/0.8353, allocations: 20.78 kB / 0.5918 GB, free: 4.203 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.844e-05/0.8354, allocations: 20 kB / 0.5919 GB, free: 4.184 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.927e-05/0.8354, allocations: 31.86 kB / 0.5919 GB, free: 4.152 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.686e-05/0.8354, allocations: 15.94 kB / 0.5919 GB, free: 4.137 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002734/0.8382, allocations: 2.441 MB / 0.5943 GB, free: 1.238 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004598/0.8387, allocations: 254.5 kB / 0.5945 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002136/0.8389, allocations: 19.98 kB / 0.5946 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006069/0.8395, allocations: 19.98 kB / 0.5946 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.8396, allocations: 79.62 kB / 0.5946 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-05/0.8397, allocations: 43.98 kB / 0.5947 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.001778/0.8415, allocations: 1.081 MB / 0.5957 GB, free: 15.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003087/0.8446, allocations: 0.6917 MB / 0.5964 GB, free: 15.04 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.0003476/0.845, allocations: 142.5 kB / 0.5966 GB, free: 14.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003488/0.8485, allocations: 2.217 MB / 0.5987 GB, free: 12.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.8485, allocations: 0 / 0.5987 GB, free: 12.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008229/0.8493, allocations: 0.6205 MB / 0.5993 GB, free: 12.08 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008747/0.8502, allocations: 189.7 kB / 0.5995 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009586/0.8598, allocations: 4.761 MB / 0.6042 GB, free: 6.926 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00332/0.8632, allocations: 2.626 MB / 0.6067 GB, free: 4.277 MB / 426.7 MB Notification: Performance of SimCode: time 1.172e-06/0.8632, allocations: 0 / 0.6067 GB, free: 4.277 MB / 426.7 MB Notification: Performance of Templates: time 0.038/0.9012, allocations: 15.59 MB / 0.6219 GB, free: 4.871 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1)