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.01/0.01, allocations: 165.6 kB / 15.11 MB, free: 5.973 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.252/1.252, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001522/0.001522, allocations: 115.3 kB / 226.2 MB, free: 10.1 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.2773/0.2773, allocations: 38.06 MB / 303.7 MB, free: 42.31 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.0004071, allocations: 15.98 kB / 362.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08959/0.09001, allocations: 48.69 MB / 411.6 MB, free: 4.828 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3103/0.4004, allocations: 94.69 MB / 0.4944 GB, free: 9.371 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/0.4007, allocations: 78.2 kB / 0.4945 GB, free: 9.328 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4885/0.8892, allocations: 131.7 MB / 0.6231 GB, free: 71.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.8893, allocations: 0 / 0.6231 GB, free: 71.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003524/0.8897, allocations: 132.8 kB / 0.6232 GB, free: 71.58 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.02134/0.911, allocations: 7.174 MB / 0.6302 GB, free: 68.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.9111, allocations: 9.906 kB / 0.6302 GB, free: 68.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02724/0.9383, allocations: 7.137 MB / 0.6372 GB, free: 68.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01875/0.9571, allocations: 7.459 MB / 0.6445 GB, free: 67.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003737/0.9575, allocations: 0.5057 MB / 0.645 GB, free: 67.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002458/0.96, allocations: 0.6631 MB / 0.6456 GB, free: 67.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02888/0.9889, allocations: 16.19 MB / 0.6614 GB, free: 60.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002647/0.9892, allocations: 89.98 kB / 0.6615 GB, free: 60.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001274/0.9905, allocations: 321.9 kB / 0.6618 GB, free: 60.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001577/0.9921, allocations: 1.554 MB / 0.6634 GB, free: 60.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02245/1.015, allocations: 13.12 MB / 0.6762 GB, free: 56.27 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06668/1.081, allocations: 72.95 MB / 0.7474 GB, free: 8.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01553/1.097, allocations: 6.506 MB / 0.7538 GB, free: 1.746 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2456/1.342, allocations: 9.267 MB / 0.7628 GB, free: 81.49 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.063e-05/1.343, allocations: 64.78 kB / 0.7629 GB, free: 81.45 MB / 442.7 MB Notification: Performance of pre-optimization done (n=269): time 6.532e-06/1.343, allocations: 0 / 0.7629 GB, free: 81.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=311): time 0.07502/1.418, allocations: 30.09 MB / 0.7923 GB, free: 75.78 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/1.418, allocations: 240.6 kB / 0.7925 GB, free: 75.53 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01166/1.429, allocations: 6.17 MB / 0.7985 GB, free: 75.05 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000708/1.43, allocations: 68.83 kB / 0.7986 GB, free: 75.02 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002689/1.433, allocations: 4.835 MB / 0.8033 GB, free: 71.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001419/1.434, allocations: 1.179 MB / 0.8045 GB, free: 71.12 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004683/1.435, allocations: 181.8 kB / 0.8046 GB, free: 70.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003595/1.435, allocations: 0.6851 MB / 0.8053 GB, free: 70.51 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004188/1.439, allocations: 3.567 MB / 0.8088 GB, free: 69.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006694/1.446, allocations: 8.85 MB / 0.8174 GB, free: 61.06 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007878/1.454, allocations: 5.49 MB / 0.8228 GB, free: 59.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001337/1.454, allocations: 52.22 kB / 0.8228 GB, free: 59.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.02445/1.479, allocations: 13.69 MB / 0.8362 GB, free: 54.51 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/1.479, allocations: 90.08 kB / 0.8363 GB, free: 54.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001971/1.479, allocations: 185 kB / 0.8365 GB, free: 54.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003739/1.483, allocations: 1.707 MB / 0.8381 GB, free: 54.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007167/1.49, allocations: 2.126 MB / 0.8402 GB, free: 53.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/1.502, allocations: 11.67 MB / 0.8516 GB, free: 47.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009059/1.511, allocations: 0.5283 MB / 0.8521 GB, free: 47.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001993/1.513, allocations: 0.544 MB / 0.8526 GB, free: 47.56 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 850 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1104): * Single equations (assignments): 1099 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007141/1.521, allocations: 3.218 MB / 0.8558 GB, free: 46.06 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001433/1.522, allocations: 0.5962 MB / 0.8564 GB, free: 45.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01115/1.533, allocations: 6.746 MB / 0.863 GB, free: 43.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.364e-05/1.533, allocations: 38.11 kB / 0.863 GB, free: 43.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.232e-05/1.533, allocations: 8 kB / 0.863 GB, free: 43.06 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.991e-05/1.533, allocations: 13.92 kB / 0.863 GB, free: 43.06 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02784/1.561, allocations: 15.2 MB / 0.8779 GB, free: 30.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.959e-05/1.561, allocations: 4 kB / 0.8779 GB, free: 30.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002974/1.564, allocations: 0.5611 MB / 0.8784 GB, free: 30.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003349/1.568, allocations: 1.42 MB / 0.8798 GB, free: 29.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006012/1.568, allocations: 56 kB / 0.8798 GB, free: 29.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01146/1.58, allocations: 10.82 MB / 0.8904 GB, free: 19.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/1.58, allocations: 7.938 kB / 0.8904 GB, free: 19.67 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01526/1.595, allocations: 11.83 MB / 0.902 GB, free: 9.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003977/1.599, allocations: 1.152 MB / 0.9031 GB, free: 8.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001527/1.601, allocations: 59.23 kB / 0.9032 GB, free: 8.035 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003859/1.604, allocations: 201.4 kB / 0.9033 GB, free: 7.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005084/1.605, allocations: 201.5 kB / 0.9035 GB, free: 7.777 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002388/1.605, allocations: 87.67 kB / 0.9036 GB, free: 7.699 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00843/1.614, allocations: 4.413 MB / 0.9079 GB, free: 4.086 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.6e-07/1.614, allocations: 0 / 0.9079 GB, free: 4.086 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01093/1.625, allocations: 1.656 MB / 0.9096 GB, free: 2.438 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * 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 (254): * Single equations (assignments): 249 * 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.0008328/1.625, allocations: 199.3 kB / 0.9097 GB, free: 2.246 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2334/1.859, allocations: 8.871 MB / 0.9184 GB, free: 88.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/1.859, allocations: 0 / 0.9184 GB, free: 88.18 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00648/1.865, allocations: 3.382 MB / 0.9217 GB, free: 87.91 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004492/1.87, allocations: 0.7193 MB / 0.9224 GB, free: 87.89 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03109/1.901, allocations: 18.22 MB / 0.9402 GB, free: 81.33 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006258/1.907, allocations: 5.024 MB / 0.9451 GB, free: 80.46 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008194/1.916, allocations: 2.971 MB / 0.948 GB, free: 80.23 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001658/1.917, allocations: 418.7 kB / 0.9484 GB, free: 80.22 MB / 458.7 MB Notification: Performance of SimCode: time 1.563e-06/1.917, allocations: 0 / 0.9484 GB, free: 80.22 MB / 458.7 MB Notification: Performance of Templates: time 0.1164/2.034, allocations: 63.5 MB / 1.01 GB, free: 69.38 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)