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.002053/0.002053, allocations: 181.9 kB / 12.74 MB, free: 2.582 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.632/1.632, allocations: 194.3 MB / 207.5 MB, free: 3.461 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.001927/0.001927, allocations: 110.8 kB / 252.6 MB, free: 4.852 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.2212/0.2212, allocations: 39.94 MB / 337.5 MB, free: 496 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.563e-05/3.566e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1161, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4237/0.5399, allocations: 104 MB / 0.546 GB, free: 3.945 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/0.5401, allocations: 74.03 kB / 0.5461 GB, free: 3.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6275/1.168, allocations: 148.8 MB / 0.6914 GB, free: 85.69 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.403e-06/1.168, allocations: 0 / 0.6914 GB, free: 85.69 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.00038/1.168, allocations: 147 kB / 0.6915 GB, free: 85.69 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.02133/1.189, allocations: 7.388 MB / 0.6987 GB, free: 82.82 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/1.189, allocations: 7.562 kB / 0.6987 GB, free: 82.82 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02811/1.218, allocations: 7.319 MB / 0.7059 GB, free: 82.3 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01855/1.236, allocations: 7.878 MB / 0.7136 GB, free: 81.39 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005173/1.237, allocations: 0.5825 MB / 0.7141 GB, free: 81.38 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003703/1.24, allocations: 0.7726 MB / 0.7149 GB, free: 81.37 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0412/1.282, allocations: 18.85 MB / 0.7333 GB, free: 77.26 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004336/1.282, allocations: 96.95 kB / 0.7334 GB, free: 77.25 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003385/1.286, allocations: 375.7 kB / 0.7337 GB, free: 77.25 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00258/1.288, allocations: 1.83 MB / 0.7355 GB, free: 77.22 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03038/1.319, allocations: 15.36 MB / 0.7505 GB, free: 73.13 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08768/1.406, allocations: 81.74 MB / 0.8303 GB, free: 116 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02221/1.428, allocations: 8.663 MB / 0.8388 GB, free: 8.328 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006706/1.435, allocations: 4.619 MB / 0.8433 GB, free: 3.691 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2988/1.734, allocations: 11.69 MB / 0.8547 GB, free: 93.22 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.402e-05/1.734, allocations: 76.27 kB / 0.8548 GB, free: 93.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=347): time 7.073e-06/1.734, allocations: 0 / 0.8548 GB, free: 93.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=389): time 0.08441/1.819, allocations: 31.5 MB / 0.8856 GB, free: 87.92 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.403e-05/1.819, allocations: 254.7 kB / 0.8858 GB, free: 87.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01374/1.832, allocations: 6.481 MB / 0.8921 GB, free: 87.13 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001127/1.834, allocations: 85.39 kB / 0.8922 GB, free: 87.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004713/1.838, allocations: 5.277 MB / 0.8974 GB, free: 84.67 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002186/1.841, allocations: 1.442 MB / 0.8988 GB, free: 83.82 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001669/1.842, allocations: 198.9 kB / 0.899 GB, free: 83.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001017/1.843, allocations: 0.7319 MB / 0.8997 GB, free: 83.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006279/1.85, allocations: 4.019 MB / 0.9036 GB, free: 83.47 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008624/1.858, allocations: 9.586 MB / 0.913 GB, free: 75.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008987/1.867, allocations: 6.154 MB / 0.919 GB, free: 73.17 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002196/1.868, allocations: 54.34 kB / 0.919 GB, free: 73.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=1297) (initialization): time 0.02863/1.896, allocations: 14.96 MB / 0.9336 GB, free: 68.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003674/1.897, allocations: 88.81 kB / 0.9337 GB, free: 68.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004712/1.897, allocations: 196.6 kB / 0.9339 GB, free: 68.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004633/1.902, allocations: 1.724 MB / 0.9356 GB, free: 68.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008983/1.911, allocations: 2.422 MB / 0.938 GB, free: 67.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01278/1.924, allocations: 11.41 MB / 0.9491 GB, free: 60.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009065/1.933, allocations: 0.5761 MB / 0.9497 GB, free: 59.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002348/1.935, allocations: 0.5782 MB / 0.9502 GB, free: 59.38 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 892 * 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 (1225): * Single equations (assignments): 1220 * 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.003386/1.938, allocations: 0.8571 MB / 0.9511 GB, free: 58.52 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00184/1.94, allocations: 0.6506 MB / 0.9517 GB, free: 57.87 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01442/1.955, allocations: 8.122 MB / 0.9596 GB, free: 51.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.906e-05/1.955, allocations: 40.78 kB / 0.9597 GB, free: 51.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.552e-05/1.955, allocations: 8 kB / 0.9597 GB, free: 51.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.935e-05/1.955, allocations: 27.66 kB / 0.9597 GB, free: 51.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03572/1.991, allocations: 18.21 MB / 0.9775 GB, free: 36.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.244e-05/1.991, allocations: 8 kB / 0.9775 GB, free: 36.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003851/1.995, allocations: 0.7656 MB / 0.9783 GB, free: 35.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003364/1.998, allocations: 1.42 MB / 0.9796 GB, free: 34.87 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008171/1.999, allocations: 79.12 kB / 0.9797 GB, free: 34.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01168/2.011, allocations: 10.61 MB / 0.9901 GB, free: 25.33 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/2.011, allocations: 11.94 kB / 0.9901 GB, free: 25.32 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01955/2.03, allocations: 14.35 MB / 1.004 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004636/2.035, allocations: 1.325 MB / 1.005 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002512/2.037, allocations: 69.97 kB / 1.005 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004664/2.042, allocations: 257.2 kB / 1.006 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001137/2.043, allocations: 236.7 kB / 1.006 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008266/2.044, allocations: 103.8 kB / 1.006 GB, free: 10.45 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01155/2.056, allocations: 4.647 MB / 1.011 GB, free: 6.375 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.22e-07/2.056, allocations: 4 kB / 1.011 GB, free: 6.371 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01194/2.068, allocations: 1.882 MB / 1.012 GB, free: 4.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (329): * Single equations (assignments): 324 * 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.00125/2.069, allocations: 223.4 kB / 1.013 GB, free: 4.281 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.019/2.088, allocations: 9.946 MB / 1.022 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/2.088, allocations: 0 / 1.022 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.008005/2.096, allocations: 3.969 MB / 1.026 GB, free: 6.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006402/2.102, allocations: 0.7672 MB / 1.027 GB, free: 5.988 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3037/2.406, allocations: 15.16 MB / 1.042 GB, free: 93.12 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01172/2.418, allocations: 5.634 MB / 1.047 GB, free: 92.23 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01039/2.428, allocations: 3.323 MB / 1.051 GB, free: 92.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002463/2.431, allocations: 458.8 kB / 1.051 GB, free: 92.16 MB / 0.4948 GB Notification: Performance of SimCode: time 1.302e-06/2.431, allocations: 0 / 1.051 GB, free: 92.16 MB / 0.4948 GB Notification: Performance of Templates: time 0.1211/2.552, allocations: 70.63 MB / 1.12 GB, free: 77.32 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)