Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.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.Forces.Torque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009923/0.0009922, allocations: 171.5 kB / 7.638 MB, free: 1.418 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.323/1.323, allocations: 170.6 MB / 178.7 MB, free: 15.64 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.001682/0.001682, allocations: 107.5 kB / 218 MB, free: 8.402 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.1844/0.1844, allocations: 37.97 MB / 295.1 MB, free: 9.492 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.852e-05/1.854e-05, allocations: 3.5 kB / 350 MB, free: 36.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1085, allocations: 48.72 MB / 398.7 MB, free: 5.336 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3713/0.4799, allocations: 93.94 MB / 492.7 MB, free: 17.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/0.4801, allocations: 74.58 kB / 492.7 MB, free: 17.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3307/0.8109, allocations: 128.8 MB / 0.607 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.8109, allocations: 0 / 0.607 GB, free: 13.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004386/0.8114, allocations: 135.9 kB / 0.6071 GB, free: 13.24 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: 2384 * Number of variables: 2384 Notification: Performance of Generate backend data structure: time 0.024/0.8354, allocations: 6.646 MB / 0.6136 GB, free: 6.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.8355, allocations: 12.02 kB / 0.6136 GB, free: 6.508 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2724/1.108, allocations: 7.14 MB / 0.6206 GB, free: 66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02005/1.128, allocations: 7.424 MB / 0.6278 GB, free: 65.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007029/1.129, allocations: 217.3 kB / 0.628 GB, free: 65.61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003825/1.133, allocations: 397.3 kB / 0.6284 GB, free: 65.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01906/1.152, allocations: 9.246 MB / 0.6374 GB, free: 65.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02592/1.178, allocations: 14.32 MB / 0.6514 GB, free: 61.65 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002406/1.178, allocations: 88.31 kB / 0.6515 GB, free: 61.65 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008383/1.179, allocations: 49.11 kB / 0.6515 GB, free: 61.65 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002041/1.181, allocations: 1.544 MB / 0.6531 GB, free: 61.63 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06819/1.249, allocations: 69.65 MB / 0.7211 GB, free: 31.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005596/1.255, allocations: 5.213 MB / 0.7262 GB, free: 29.46 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003506/1.258, allocations: 3.504 MB / 0.7296 GB, free: 28 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005064/1.259, allocations: 387.9 kB / 0.73 GB, free: 27.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.472e-05/1.259, allocations: 73.81 kB / 0.73 GB, free: 27.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=268): time 7.133e-06/1.259, allocations: 0 / 0.73 GB, free: 27.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=312): time 0.05003/1.309, allocations: 27.52 MB / 0.7569 GB, free: 13.24 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.479e-05/1.309, allocations: 240.2 kB / 0.7571 GB, free: 12.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007927/1.317, allocations: 4.771 MB / 0.7618 GB, free: 8.793 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008894/1.318, allocations: 29.64 kB / 0.7618 GB, free: 8.758 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00295/1.321, allocations: 4.92 MB / 0.7666 GB, free: 4.289 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001778/1.323, allocations: 1.153 MB / 0.7678 GB, free: 3.254 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009172/1.323, allocations: 0 / 0.7678 GB, free: 3.254 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006204/1.324, allocations: 0.7029 MB / 0.7684 GB, free: 2.656 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007674/1.332, allocations: 3.564 MB / 0.7719 GB, free: 0 / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01236/1.344, allocations: 8.861 MB / 0.7806 GB, free: 5.094 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009235/1.353, allocations: 5.435 MB / 0.7859 GB, free: 460 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001472/1.354, allocations: 52 kB / 0.7859 GB, free: 408 kB / 458.7 MB Notification: Performance of matching and sorting (n=1220) (initialization): time 0.2883/1.642, allocations: 12.54 MB / 0.7982 GB, free: 85.29 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001702/1.642, allocations: 93.42 kB / 0.7983 GB, free: 85.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003745/1.643, allocations: 193.9 kB / 0.7985 GB, free: 85.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004994/1.648, allocations: 1.723 MB / 0.8001 GB, free: 85.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008297/1.656, allocations: 2.209 MB / 0.8023 GB, free: 85.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01258/1.669, allocations: 10.73 MB / 0.8128 GB, free: 82.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01062/1.679, allocations: 374.9 kB / 0.8131 GB, free: 82.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002626/1.682, allocations: 0.5581 MB / 0.8137 GB, free: 82.66 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 886 * Number of states: 0 () * Number of discrete variables: 60 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (1148): * Single equations (assignments): 1143 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003107/1.685, allocations: 0.59 MB / 0.8143 GB, free: 82.36 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001321/1.686, allocations: 0.5194 MB / 0.8148 GB, free: 82.36 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0112/1.698, allocations: 6.484 MB / 0.8211 GB, free: 82.11 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.593e-05/1.698, allocations: 36.84 kB / 0.8211 GB, free: 82.11 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.228e-05/1.698, allocations: 10.19 kB / 0.8211 GB, free: 82.11 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.528e-05/1.698, allocations: 22.66 kB / 0.8212 GB, free: 82.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02567/1.723, allocations: 13.73 MB / 0.8346 GB, free: 81.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.997e-05/1.724, allocations: 6.672 kB / 0.8346 GB, free: 81.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003179/1.727, allocations: 0.5315 MB / 0.8351 GB, free: 81.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003573/1.73, allocations: 1.404 MB / 0.8365 GB, free: 81.26 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006535/1.731, allocations: 13.98 kB / 0.8365 GB, free: 81.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0115/1.743, allocations: 9.892 MB / 0.8461 GB, free: 77.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/1.743, allocations: 3.938 kB / 0.8461 GB, free: 77.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01534/1.758, allocations: 10.94 MB / 0.8568 GB, free: 73.12 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002877/1.761, allocations: 1.039 MB / 0.8578 GB, free: 72.54 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000925/1.762, allocations: 7.578 kB / 0.8578 GB, free: 72.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002487/1.764, allocations: 165 kB / 0.858 GB, free: 72.54 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000459/1.765, allocations: 185.2 kB / 0.8582 GB, free: 72.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002102/1.765, allocations: 79.5 kB / 0.8583 GB, free: 72.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005261/1.77, allocations: 3.215 MB / 0.8614 GB, free: 71.35 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.77, allocations: 0 / 0.8614 GB, free: 71.35 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008986/1.779, allocations: 1.421 MB / 0.8628 GB, free: 71.35 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (253): * Single equations (assignments): 248 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007068/1.78, allocations: 157.7 kB / 0.8629 GB, free: 71.23 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01375/1.794, allocations: 8.595 MB / 0.8713 GB, free: 68.12 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/1.794, allocations: 0 / 0.8713 GB, free: 68.12 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004978/1.799, allocations: 3.315 MB / 0.8746 GB, free: 66.79 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003753/1.803, allocations: 0.5269 MB / 0.8751 GB, free: 66.56 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0238/1.826, allocations: 12.93 MB / 0.8877 GB, free: 56.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005674/1.832, allocations: 5.038 MB / 0.8926 GB, free: 52.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007213/1.839, allocations: 2.998 MB / 0.8956 GB, free: 50.89 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/1.841, allocations: 379.4 kB / 0.8959 GB, free: 50.54 MB / 458.7 MB Notification: Performance of SimCode: time 9.22e-07/1.841, allocations: 0 / 0.8959 GB, free: 50.54 MB / 458.7 MB Notification: Performance of Templates: time 0.08824/1.929, allocations: 52.89 MB / 0.9476 GB, free: 7.648 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1)