Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001771/0.001771, allocations: 180.5 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.685/1.685, allocations: 194.4 MB / 202.4 MB, free: 8.535 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.001921/0.001921, allocations: 114.4 kB / 247.4 MB, free: 6.215 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.177/0.177, allocations: 39.94 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.266e-05/1.302e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07429/0.07432, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.309/0.3834, allocations: 103.3 MB / 0.5386 GB, free: 13.01 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001882/0.3836, allocations: 80.7 kB / 0.5386 GB, free: 12.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5924/0.976, allocations: 145.1 MB / 0.6804 GB, free: 82.45 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.976, allocations: 0 / 0.6804 GB, free: 82.45 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004886/0.9765, allocations: 154.1 kB / 0.6805 GB, free: 82.45 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2760 * Number of variables: 2760 Notification: Performance of Generate backend data structure: time 0.0237/1, allocations: 7.374 MB / 0.6877 GB, free: 79.62 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/1, allocations: 8.344 kB / 0.6878 GB, free: 79.62 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03036/1.031, allocations: 7.326 MB / 0.6949 GB, free: 79.1 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01843/1.049, allocations: 7.885 MB / 0.7026 GB, free: 78.2 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004095/1.05, allocations: 253.5 kB / 0.7028 GB, free: 78.2 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003331/1.053, allocations: 461.3 kB / 0.7033 GB, free: 78.19 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01903/1.072, allocations: 10.99 MB / 0.714 GB, free: 78.14 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03267/1.105, allocations: 16.42 MB / 0.7301 GB, free: 74.14 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007011/1.105, allocations: 88.97 kB / 0.7301 GB, free: 74.14 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003668/1.109, allocations: 53.73 kB / 0.7302 GB, free: 74.13 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002853/1.112, allocations: 1.829 MB / 0.732 GB, free: 74.11 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07824/1.19, allocations: 77.69 MB / 0.8078 GB, free: 18.47 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006944/1.197, allocations: 6.729 MB / 0.8144 GB, free: 12.14 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00437/1.202, allocations: 4.357 MB / 0.8187 GB, free: 8.156 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008676/1.203, allocations: 0.7233 MB / 0.8194 GB, free: 7.402 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/1.203, allocations: 69.19 kB / 0.8194 GB, free: 7.328 MB / 474.7 MB Notification: Performance of pre-optimization done (n=340): time 5.671e-06/1.203, allocations: 0 / 0.8194 GB, free: 7.328 MB / 474.7 MB Notification: Performance of matching and sorting (n=384): time 0.327/1.53, allocations: 32.58 MB / 0.8513 GB, free: 91.24 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.725e-05/1.53, allocations: 247.7 kB / 0.8515 GB, free: 90.99 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008349/1.538, allocations: 5.003 MB / 0.8564 GB, free: 90.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000822/1.539, allocations: 27.95 kB / 0.8564 GB, free: 90.63 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00237/1.541, allocations: 5.398 MB / 0.8617 GB, free: 88.74 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001543/1.543, allocations: 1.39 MB / 0.863 GB, free: 88.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004483/1.543, allocations: 3.969 kB / 0.863 GB, free: 88.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004183/1.544, allocations: 0.7507 MB / 0.8638 GB, free: 87.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005406/1.549, allocations: 3.91 MB / 0.8676 GB, free: 87.68 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009677/1.559, allocations: 9.683 MB / 0.8771 GB, free: 80.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00878/1.568, allocations: 6.104 MB / 0.883 GB, free: 80.19 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001421/1.568, allocations: 61.53 kB / 0.8831 GB, free: 80.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=1347) (initialization): time 0.02417/1.592, allocations: 13.9 MB / 0.8966 GB, free: 79.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001668/1.592, allocations: 96.67 kB / 0.8967 GB, free: 79.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002676/1.593, allocations: 204.5 kB / 0.8969 GB, free: 79.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003906/1.597, allocations: 1.737 MB / 0.8986 GB, free: 79.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009675/1.606, allocations: 2.517 MB / 0.9011 GB, free: 79.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01276/1.619, allocations: 10.82 MB / 0.9117 GB, free: 75.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008512/1.628, allocations: 395.8 kB / 0.912 GB, free: 75.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002615/1.63, allocations: 0.6015 MB / 0.9126 GB, free: 75.58 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 66 (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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[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 (1275): * Single equations (assignments): 1270 * 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.003545/1.634, allocations: 0.6302 MB / 0.9132 GB, free: 75.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001801/1.636, allocations: 0.5463 MB / 0.9138 GB, free: 74.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01357/1.649, allocations: 7.499 MB / 0.9211 GB, free: 72.14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.43e-05/1.649, allocations: 44.56 kB / 0.9211 GB, free: 72.14 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.99e-05/1.649, allocations: 9.344 kB / 0.9211 GB, free: 72.14 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.705e-05/1.649, allocations: 18.25 kB / 0.9212 GB, free: 72.14 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03101/1.68, allocations: 16.39 MB / 0.9372 GB, free: 66.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.279e-05/1.681, allocations: 9.344 kB / 0.9372 GB, free: 66.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00384/1.684, allocations: 0.7564 MB / 0.9379 GB, free: 66.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003484/1.688, allocations: 1.41 MB / 0.9393 GB, free: 65.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006588/1.689, allocations: 23.67 kB / 0.9393 GB, free: 65.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01212/1.701, allocations: 9.895 MB / 0.949 GB, free: 60.49 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/1.701, allocations: 6 kB / 0.949 GB, free: 60.49 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02076/1.722, allocations: 13.3 MB / 0.962 GB, free: 50.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00347/1.725, allocations: 1.172 MB / 0.9631 GB, free: 48.93 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00191/1.727, allocations: 18.52 kB / 0.9631 GB, free: 48.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003929/1.731, allocations: 196.9 kB / 0.9633 GB, free: 48.81 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008381/1.732, allocations: 231.8 kB / 0.9635 GB, free: 48.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004929/1.732, allocations: 104.4 kB / 0.9636 GB, free: 48.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006354/1.739, allocations: 3.349 MB / 0.9669 GB, free: 45.66 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.739, allocations: 0 / 0.9669 GB, free: 45.66 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01036/1.749, allocations: 1.608 MB / 0.9685 GB, free: 44.06 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (330): * Single equations (assignments): 325 * 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.001136/1.75, allocations: 167.7 kB / 0.9686 GB, free: 43.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01493/1.765, allocations: 9.787 MB / 0.9782 GB, free: 35.14 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/1.765, allocations: 4 kB / 0.9782 GB, free: 35.14 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006048/1.771, allocations: 3.833 MB / 0.982 GB, free: 31.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004341/1.776, allocations: 0.5592 MB / 0.9825 GB, free: 31.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03153/1.807, allocations: 14.83 MB / 0.997 GB, free: 17.99 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008803/1.816, allocations: 5.641 MB / 1.002 GB, free: 13.85 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009724/1.826, allocations: 3.338 MB / 1.006 GB, free: 11.71 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002101/1.828, allocations: 416.6 kB / 1.006 GB, free: 11.33 MB / 490.7 MB Notification: Performance of SimCode: time 1.683e-06/1.828, allocations: 0 / 1.006 GB, free: 11.33 MB / 490.7 MB Notification: Performance of Templates: time 0.3796/2.208, allocations: 58.29 MB / 1.063 GB, free: 82.87 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1)