Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2.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.Torque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2") translateModel(ModelicaTest.MultiBody.Forces.Torque2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001009/0.001009, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.128/1.128, allocations: 170.6 MB / 183.8 MB, free: 11.49 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.001521/0.001521, allocations: 107.4 kB / 223.2 MB, free: 4.113 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.1691/0.1691, allocations: 38 MB / 300.4 MB, free: 5.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.566e-05/2.568e-05, allocations: 0 / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08452/0.08456, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3266/0.4113, allocations: 98.5 MB / 0.4924 GB, free: 15.06 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002075/0.4115, allocations: 69.91 kB / 0.4925 GB, free: 15.05 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8328/1.244, allocations: 239.9 MB / 0.7267 GB, free: 46.11 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.074e-06/1.244, allocations: 3.938 kB / 0.7267 GB, free: 46.11 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007599/1.245, allocations: 252 kB / 0.727 GB, free: 45.86 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: 4446 * Number of variables: 4446 Notification: Performance of Generate backend data structure: time 0.0426/1.288, allocations: 12.34 MB / 0.739 GB, free: 33.42 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/1.288, allocations: 12.03 kB / 0.739 GB, free: 33.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05133/1.339, allocations: 12.82 MB / 0.7515 GB, free: 20.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03487/1.374, allocations: 13.29 MB / 0.7645 GB, free: 7.164 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001149/1.375, allocations: 0.9586 MB / 0.7655 GB, free: 6.203 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006637/1.382, allocations: 1.269 MB / 0.7667 GB, free: 4.934 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6706/2.053, allocations: 29.9 MB / 0.7959 GB, free: 45.95 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009386/2.054, allocations: 143.4 kB / 0.796 GB, free: 45.95 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005158/2.059, allocations: 0.5901 MB / 0.7966 GB, free: 45.95 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005428/2.064, allocations: 2.857 MB / 0.7994 GB, free: 45.91 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05746/2.122, allocations: 24.29 MB / 0.8231 GB, free: 45.78 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1737/2.295, allocations: 127.7 MB / 0.9478 GB, free: 11.66 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03626/2.332, allocations: 13.94 MB / 0.9614 GB, free: 3.926 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3461/2.678, allocations: 8.415 MB / 0.9696 GB, free: 104.8 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03995/2.718, allocations: 19.83 MB / 0.989 GB, free: 102 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.489e-05/2.718, allocations: 104.5 kB / 0.9891 GB, free: 102 MB / 490.8 MB Notification: Performance of pre-optimization done (n=562): time 7.915e-06/2.718, allocations: 0 / 0.9891 GB, free: 102 MB / 490.8 MB Notification: Performance of matching and sorting (n=646): time 0.154/2.872, allocations: 59.13 MB / 1.047 GB, free: 88.24 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001594/2.872, allocations: 376.1 kB / 1.047 GB, free: 87.86 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02625/2.899, allocations: 10.62 MB / 1.058 GB, free: 84.12 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001997/2.901, allocations: 124.8 kB / 1.058 GB, free: 84.02 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007939/2.909, allocations: 8.546 MB / 1.066 GB, free: 77 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004153/2.913, allocations: 2.373 MB / 1.068 GB, free: 74.89 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002739/2.916, allocations: 312 kB / 1.069 GB, free: 74.59 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001038/2.917, allocations: 0.967 MB / 1.07 GB, free: 73.8 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01175/2.928, allocations: 6.623 MB / 1.076 GB, free: 67.86 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01881/2.947, allocations: 15.05 MB / 1.091 GB, free: 50.01 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01681/2.964, allocations: 9.879 MB / 1.1 GB, free: 42.2 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003676/2.965, allocations: 84 kB / 1.101 GB, free: 42.12 MB / 490.8 MB Notification: Performance of matching and sorting (n=2017) (initialization): time 0.05084/3.015, allocations: 24.54 MB / 1.124 GB, free: 21.54 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002215/3.016, allocations: 135.6 kB / 1.125 GB, free: 21.41 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000439/3.016, allocations: 292 kB / 1.125 GB, free: 21.13 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008238/3.024, allocations: 3.305 MB / 1.128 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01554/3.04, allocations: 3.759 MB / 1.132 GB, free: 15.5 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3539/3.394, allocations: 22.6 MB / 1.154 GB, free: 78.37 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01626/3.41, allocations: 0.9315 MB / 1.155 GB, free: 78.37 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004593/3.415, allocations: 0.8875 MB / 1.156 GB, free: 78.37 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1343 * Number of states: 0 () * Number of discrete variables: 117 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],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 (1897): * Single equations (assignments): 1890 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007831/3.423, allocations: 1.281 MB / 1.157 GB, free: 78.24 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003826/3.426, allocations: 1.071 MB / 1.158 GB, free: 78.24 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03267/3.459, allocations: 14.59 MB / 1.172 GB, free: 77.89 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001604/3.459, allocations: 63.69 kB / 1.172 GB, free: 77.89 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.172e-05/3.459, allocations: 17.41 kB / 1.172 GB, free: 77.89 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001764/3.46, allocations: 32.47 kB / 1.172 GB, free: 77.89 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07524/3.535, allocations: 32.4 MB / 1.204 GB, free: 72.66 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.283e-05/3.535, allocations: 11.12 kB / 1.204 GB, free: 72.66 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007346/3.542, allocations: 1.275 MB / 1.205 GB, free: 72.62 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007794/3.55, allocations: 2.828 MB / 1.208 GB, free: 72.07 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002059/3.552, allocations: 129.3 kB / 1.208 GB, free: 72 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02478/3.577, allocations: 21.09 MB / 1.229 GB, free: 60.91 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.351e-05/3.577, allocations: 22.25 kB / 1.229 GB, free: 60.91 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03705/3.614, allocations: 26.08 MB / 1.254 GB, free: 47.49 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008723/3.623, allocations: 2.188 MB / 1.256 GB, free: 45.78 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00386/3.627, allocations: 119.2 kB / 1.256 GB, free: 45.67 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008456/3.635, allocations: 445.6 kB / 1.257 GB, free: 45.39 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002331/3.638, allocations: 414.2 kB / 1.257 GB, free: 45.14 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001513/3.639, allocations: 172.4 kB / 1.257 GB, free: 44.98 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01848/3.658, allocations: 7.651 MB / 1.265 GB, free: 38.25 MB / 490.8 MB Notification: Performance of sort global known variables: time 5.41e-07/3.658, allocations: 0 / 1.265 GB, free: 38.25 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.02309/3.681, allocations: 3.102 MB / 1.268 GB, free: 35.16 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (553): * Single equations (assignments): 546 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 18,(4,75.0%) 18,(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.002947/3.684, allocations: 302.8 kB / 1.268 GB, free: 34.94 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.03062/3.715, allocations: 16.58 MB / 1.284 GB, free: 20.75 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.733e-05/3.715, allocations: 8 kB / 1.284 GB, free: 20.74 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01431/3.729, allocations: 7.015 MB / 1.291 GB, free: 14.48 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01202/3.741, allocations: 1.341 MB / 1.293 GB, free: 13.36 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07839/3.82, allocations: 26.94 MB / 1.319 GB, free: 7.957 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3137/4.133, allocations: 8.873 MB / 1.327 GB, free: 89.04 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.02001/4.153, allocations: 5.163 MB / 1.333 GB, free: 88.93 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005482/4.159, allocations: 0.7248 MB / 1.333 GB, free: 88.93 MB / 0.4949 GB Notification: Performance of SimCode: time 1.233e-06/4.159, allocations: 0.6562 kB / 1.333 GB, free: 88.93 MB / 0.4949 GB Notification: Performance of Templates: time 0.212/4.371, allocations: 115.3 MB / 1.446 GB, free: 45.25 MB / 0.4949 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2.pipe 2>&1)