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.007839/0.007839, allocations: 173.8 kB / 15.12 MB, free: 5.969 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.554/1.554, allocations: 194.5 MB / 210.3 MB, free: 7.625 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.001797/0.001797, allocations: 124.5 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1912/0.1912, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003854, allocations: 11.19 kB / 406.2 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1014, allocations: 54.87 MB / 461 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4258/0.5273, allocations: 96.03 MB / 0.544 GB, free: 21.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/0.5276, allocations: 82.83 kB / 0.5441 GB, free: 21.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.129/0.6566, allocations: 56.86 MB / 0.5996 GB, free: 5.156 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.6567, allocations: 0 / 0.5996 GB, free: 5.156 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001593/0.6569, allocations: 54.41 kB / 0.5997 GB, free: 5.156 MB / 378.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.008995/0.6659, allocations: 2.773 MB / 0.6024 GB, free: 3.414 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.6659, allocations: 10.97 kB / 0.6024 GB, free: 3.414 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007912/0.6739, allocations: 1.838 MB / 0.6042 GB, free: 2.547 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005271/0.6792, allocations: 1.74 MB / 0.6059 GB, free: 1.613 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000271/0.6795, allocations: 225.7 kB / 0.6061 GB, free: 1.488 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002038/0.6815, allocations: 295 kB / 0.6064 GB, free: 1.301 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0178/0.6994, allocations: 6.815 MB / 0.613 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000166/0.6996, allocations: 15.88 kB / 0.613 GB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001418/0.701, allocations: 133 kB / 0.6132 GB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001448/0.7025, allocations: 0.7055 MB / 0.6139 GB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01273/0.7152, allocations: 5.933 MB / 0.6197 GB, free: 6.648 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03667/0.7519, allocations: 23.84 MB / 0.6429 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004669/0.7566, allocations: 2.183 MB / 0.6451 GB, free: 11.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007831/0.7645, allocations: 4.017 MB / 0.649 GB, free: 7.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.7646, allocations: 43.22 kB / 0.649 GB, free: 7.789 MB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 4.408e-06/0.7646, allocations: 0 / 0.649 GB, free: 7.789 MB / 426.7 MB Notification: Performance of matching and sorting (n=96): time 0.006086/0.7707, allocations: 2.508 MB / 0.6515 GB, free: 5.219 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.7708, allocations: 64.05 kB / 0.6515 GB, free: 5.145 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004931/0.7757, allocations: 1.796 MB / 0.6533 GB, free: 3.352 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.592e-05/0.7758, allocations: 41.7 kB / 0.6533 GB, free: 3.305 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002044/0.7779, allocations: 1.998 MB / 0.6553 GB, free: 1.301 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004579/0.7784, allocations: 374.5 kB / 0.6556 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002498/0.7786, allocations: 60 kB / 0.6557 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004487/0.7791, allocations: 0.4938 MB / 0.6562 GB, free: 384 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00201/0.7811, allocations: 0.952 MB / 0.6571 GB, free: 15.42 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003345/0.7845, allocations: 2.904 MB / 0.6599 GB, free: 11.54 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002673/0.7871, allocations: 1.667 MB / 0.6616 GB, free: 9.867 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.826e-05/0.7872, allocations: 24 kB / 0.6616 GB, free: 9.844 MB / 442.7 MB Notification: Performance of matching and sorting (n=419) (initialization): time 0.00713/0.7944, allocations: 3.754 MB / 0.6653 GB, free: 6.086 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.783e-05/0.7945, allocations: 35.94 kB / 0.6653 GB, free: 6.051 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001071/0.7946, allocations: 72 kB / 0.6654 GB, free: 5.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001124/0.7947, allocations: 100.8 kB / 0.6655 GB, free: 5.883 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002361/0.7971, allocations: 0.7175 MB / 0.6662 GB, free: 5.164 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000131/0.7972, allocations: 139.4 kB / 0.6663 GB, free: 5.027 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00326/0.8005, allocations: 447.3 kB / 0.6667 GB, free: 4.586 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000568/0.8011, allocations: 196 kB / 0.6669 GB, free: 4.395 MB / 442.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 () * Number of clocked 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.003689/0.8048, allocations: 1.451 MB / 0.6683 GB, free: 2.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005423/0.8053, allocations: 173.7 kB / 0.6685 GB, free: 2.758 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002511/0.8079, allocations: 1.24 MB / 0.6697 GB, free: 1.512 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-05/0.8079, allocations: 12 kB / 0.6697 GB, free: 1.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.8079, allocations: 0 / 0.6697 GB, free: 1.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.8079, allocations: 7.984 kB / 0.6697 GB, free: 1.492 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01111/0.8191, allocations: 5.037 MB / 0.6746 GB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.096e-05/0.8191, allocations: 8 kB / 0.6746 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005886/0.8197, allocations: 139.8 kB / 0.6748 GB, free: 12.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.252e-05/0.8198, allocations: 16 kB / 0.6748 GB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.065e-05/0.8198, allocations: 24 kB / 0.6748 GB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.911e-05/0.8199, allocations: 23.88 kB / 0.6748 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-05/0.8199, allocations: 15.94 kB / 0.6749 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002703/0.8226, allocations: 2.313 MB / 0.6771 GB, free: 9.25 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007176/0.8233, allocations: 290.4 kB / 0.6774 GB, free: 8.945 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003816/0.8237, allocations: 24 kB / 0.6774 GB, free: 8.922 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007851/0.8245, allocations: 43.97 kB / 0.6775 GB, free: 8.879 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.8247, allocations: 75.72 kB / 0.6775 GB, free: 8.805 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.498e-05/0.8248, allocations: 47.92 kB / 0.6776 GB, free: 8.758 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002669/0.8274, allocations: 1.312 MB / 0.6789 GB, free: 7.422 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.8274, allocations: 0 / 0.6789 GB, free: 7.422 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003645/0.8311, allocations: 0.766 MB / 0.6796 GB, free: 6.652 MB / 458.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 () * Number of clocked 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.0004085/0.8315, allocations: 154.4 kB / 0.6798 GB, free: 6.492 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003993/0.8355, allocations: 2.221 MB / 0.6819 GB, free: 4.293 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/0.8356, allocations: 0 / 0.6819 GB, free: 4.293 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007943/0.8364, allocations: 0.5638 MB / 0.6825 GB, free: 3.73 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.8376, allocations: 244.2 kB / 0.6827 GB, free: 3.492 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/0.8508, allocations: 6.928 MB / 0.6895 GB, free: 12.41 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003735/0.8546, allocations: 2.509 MB / 0.6919 GB, free: 9.871 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003105/0.8577, allocations: 1.035 MB / 0.6929 GB, free: 8.832 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004337/0.8582, allocations: 135.4 kB / 0.6931 GB, free: 8.699 MB / 474.7 MB Notification: Performance of SimCode: time 2.685e-06/0.8582, allocations: 0 / 0.6931 GB, free: 8.699 MB / 474.7 MB Notification: Performance of Templates: time 0.03955/0.8977, allocations: 15.01 MB / 0.7077 GB, free: 9.75 MB / 490.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)