Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001419/0.001419, allocations: 181.9 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.68/1.68, allocations: 194.3 MB / 207.5 MB, free: 3.461 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.002365/0.002365, allocations: 105.8 kB / 252.6 MB, free: 4.859 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.2535/0.2535, allocations: 39.94 MB / 337.5 MB, free: 492 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.218e-05/4.219e-05, allocations: 4 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1322, allocations: 54.86 MB / 455.1 MB, free: 15 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4575/0.5898, allocations: 95.95 MB / 0.5382 GB, free: 11.83 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003386/0.5902, allocations: 81.95 kB / 0.5382 GB, free: 11.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1492/0.7394, allocations: 56.9 MB / 0.5938 GB, free: 10.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.7395, allocations: 0 / 0.5938 GB, free: 10.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001651/0.7396, allocations: 52 kB / 0.5939 GB, free: 10.47 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: 1092 * Number of variables: 1092 Notification: Performance of Generate backend data structure: time 0.009801/0.7494, allocations: 2.669 MB / 0.5965 GB, free: 7.961 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.7495, allocations: 12.03 kB / 0.5965 GB, free: 7.949 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008851/0.7584, allocations: 1.83 MB / 0.5983 GB, free: 6.113 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005772/0.7642, allocations: 1.749 MB / 0.6 GB, free: 4.359 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000311/0.7645, allocations: 221.9 kB / 0.6002 GB, free: 4.141 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001873/0.7664, allocations: 291.9 kB / 0.6005 GB, free: 3.855 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02017/0.7866, allocations: 6.747 MB / 0.6071 GB, free: 12.72 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001523/0.7868, allocations: 23.75 kB / 0.6071 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00149/0.7883, allocations: 135.9 kB / 0.6072 GB, free: 12.56 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001272/0.7896, allocations: 0.6962 MB / 0.6079 GB, free: 11.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01337/0.803, allocations: 5.853 MB / 0.6136 GB, free: 5.992 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04277/0.8458, allocations: 23.83 MB / 0.6369 GB, free: 13.48 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004688/0.8505, allocations: 2.174 MB / 0.639 GB, free: 11.19 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.8518, allocations: 0.7935 MB / 0.6398 GB, free: 10.39 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007915/0.8598, allocations: 4.019 MB / 0.6437 GB, free: 6.227 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.8598, allocations: 47.33 kB / 0.6437 GB, free: 6.172 MB / 458.7 MB Notification: Performance of pre-optimization done (n=96): time 3.637e-06/0.8598, allocations: 0 / 0.6437 GB, free: 6.172 MB / 458.7 MB Notification: Performance of matching and sorting (n=96): time 0.004956/0.8648, allocations: 1.755 MB / 0.6455 GB, free: 4.406 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.8649, allocations: 68.06 kB / 0.6455 GB, free: 4.328 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003659/0.8685, allocations: 1.776 MB / 0.6473 GB, free: 2.555 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.413e-05/0.8686, allocations: 37.7 kB / 0.6473 GB, free: 2.512 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001747/0.8704, allocations: 1.999 MB / 0.6492 GB, free: 492 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004091/0.8708, allocations: 383.1 kB / 0.6496 GB, free: 104 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.871, allocations: 60 kB / 0.6497 GB, free: 44 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003932/0.8714, allocations: 0.4938 MB / 0.6501 GB, free: 15.54 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001496/0.8729, allocations: 0.9278 MB / 0.6511 GB, free: 14.61 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003021/0.8759, allocations: 2.873 MB / 0.6539 GB, free: 10.75 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002599/0.8785, allocations: 1.665 MB / 0.6555 GB, free: 9.09 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-05/0.8786, allocations: 20 kB / 0.6555 GB, free: 9.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=419) (initialization): time 0.006128/0.8848, allocations: 3.703 MB / 0.6591 GB, free: 5.363 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.778e-05/0.8848, allocations: 36 kB / 0.6592 GB, free: 5.328 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.295e-05/0.8849, allocations: 76.14 kB / 0.6592 GB, free: 5.254 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.866e-05/0.885, allocations: 104 kB / 0.6593 GB, free: 5.152 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002022/0.887, allocations: 0.7174 MB / 0.66 GB, free: 4.434 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001023/0.8871, allocations: 139.4 kB / 0.6602 GB, free: 4.297 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002089/0.8892, allocations: 439.4 kB / 0.6606 GB, free: 3.863 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002613/0.8895, allocations: 196 kB / 0.6608 GB, free: 3.672 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 317 * Number of states: 0 () * Number of discrete variables: 21 (worldTorque.color[3],worldTorque.color[2],worldTorque.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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (395): * Single equations (assignments): 392 * 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.0004106/0.8899, allocations: 357.4 kB / 0.6611 GB, free: 3.312 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/0.8901, allocations: 173.7 kB / 0.6613 GB, free: 3.141 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001945/0.8921, allocations: 1.21 MB / 0.6625 GB, free: 1.91 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-05/0.8921, allocations: 16 kB / 0.6625 GB, free: 1.895 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.8921, allocations: 0 / 0.6625 GB, free: 1.895 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.8922, allocations: 3.984 kB / 0.6625 GB, free: 1.891 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2962/1.188, allocations: 5.022 MB / 0.6674 GB, free: 127.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.839e-05/1.188, allocations: 8.5 kB / 0.6674 GB, free: 127.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000595/1.189, allocations: 141.7 kB / 0.6675 GB, free: 127.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-05/1.189, allocations: 14.25 kB / 0.6675 GB, free: 127.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.821e-05/1.189, allocations: 27.09 kB / 0.6676 GB, free: 127.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.946e-05/1.189, allocations: 25.53 kB / 0.6676 GB, free: 127.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-05/1.189, allocations: 19.03 kB / 0.6676 GB, free: 127.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002426/1.192, allocations: 2.288 MB / 0.6698 GB, free: 126.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006285/1.192, allocations: 280.2 kB / 0.6701 GB, free: 125.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/1.192, allocations: 26 kB / 0.6701 GB, free: 125.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006235/1.193, allocations: 35.02 kB / 0.6702 GB, free: 125.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/1.193, allocations: 82.09 kB / 0.6702 GB, free: 125.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.263e-05/1.193, allocations: 43.39 kB / 0.6703 GB, free: 125.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002549/1.196, allocations: 1.296 MB / 0.6715 GB, free: 125.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.5e-07/1.196, allocations: 0 / 0.6715 GB, free: 125.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003451/1.199, allocations: 0.768 MB / 0.6723 GB, free: 125.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * 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.0003939/1.2, allocations: 158.4 kB / 0.6724 GB, free: 125.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004133/1.204, allocations: 2.202 MB / 0.6746 GB, free: 125.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/1.204, allocations: 1.156 kB / 0.6746 GB, free: 125.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008532/1.205, allocations: 0.5487 MB / 0.6751 GB, free: 125.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/1.206, allocations: 236.2 kB / 0.6754 GB, free: 125.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/1.218, allocations: 4.646 MB / 0.6799 GB, free: 124.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00342/1.221, allocations: 2.514 MB / 0.6824 GB, free: 123.6 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002856/1.224, allocations: 1.045 MB / 0.6834 GB, free: 123.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003574/1.225, allocations: 132.6 kB / 0.6835 GB, free: 123.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.583e-06/1.225, allocations: 0 / 0.6835 GB, free: 123.5 MB / 474.7 MB Notification: Performance of Templates: time 0.03335/1.258, allocations: 15.04 MB / 0.6982 GB, free: 122.9 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1)