Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009464/0.0009464, allocations: 156.2 kB / 7.633 MB, free: 1.445 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.314/1.314, allocations: 170.7 MB / 178.7 MB, free: 7.043 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.001533/0.001533, allocations: 106.7 kB / 218 MB, free: 15.33 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.1808/0.1808, allocations: 37.98 MB / 295.1 MB, free: 2.086 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.811e-05/2.814e-05, allocations: 0 / 350 MB, free: 32.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2913, allocations: 48.7 MB / 398.7 MB, free: 6.059 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1385/0.4299, allocations: 96.51 MB / 495.2 MB, free: 2.574 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.4302, allocations: 71.97 kB / 495.3 MB, free: 2.504 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5446/0.9748, allocations: 145 MB / 0.6253 GB, free: 74.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.9749, allocations: 0 / 0.6253 GB, free: 74.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003895/0.9753, allocations: 152 kB / 0.6254 GB, free: 74.64 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2756 * Number of variables: 2756 Notification: Performance of Generate backend data structure: time 0.02292/0.9982, allocations: 7.37 MB / 0.6326 GB, free: 67.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.9983, allocations: 8.031 kB / 0.6326 GB, free: 67.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02882/1.027, allocations: 7.318 MB / 0.6398 GB, free: 59.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0185/1.046, allocations: 7.865 MB / 0.6474 GB, free: 51.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003945/1.046, allocations: 260 kB / 0.6477 GB, free: 51.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003326/1.049, allocations: 459.9 kB / 0.6481 GB, free: 51.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02133/1.071, allocations: 10.97 MB / 0.6588 GB, free: 40.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0341/1.105, allocations: 16.42 MB / 0.6749 GB, free: 22.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005074/1.105, allocations: 91.22 kB / 0.675 GB, free: 22.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003233/1.109, allocations: 44 kB / 0.675 GB, free: 22.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002323/1.111, allocations: 1.824 MB / 0.6768 GB, free: 20.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5203/1.631, allocations: 77.64 MB / 0.7526 GB, free: 40.18 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008745/1.64, allocations: 6.737 MB / 0.7592 GB, free: 38.93 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00618/1.646, allocations: 4.35 MB / 0.7634 GB, free: 38.88 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008857/1.647, allocations: 0.7292 MB / 0.7642 GB, free: 38.32 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/1.647, allocations: 76.53 kB / 0.7642 GB, free: 38.27 MB / 426.8 MB Notification: Performance of pre-optimization done (n=340): time 5.06e-06/1.647, allocations: 0 / 0.7642 GB, free: 38.27 MB / 426.8 MB Notification: Performance of matching and sorting (n=384): time 0.06045/1.708, allocations: 32.19 MB / 0.7957 GB, free: 29.68 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.331e-05/1.708, allocations: 244.9 kB / 0.7959 GB, free: 29.43 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009931/1.718, allocations: 5.007 MB / 0.8008 GB, free: 27.62 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001021/1.719, allocations: 25.7 kB / 0.8008 GB, free: 27.59 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003508/1.722, allocations: 5.4 MB / 0.8061 GB, free: 23.5 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002029/1.724, allocations: 1.387 MB / 0.8074 GB, free: 22.46 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008082/1.725, allocations: 2.5 kB / 0.8074 GB, free: 22.46 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0005036/1.726, allocations: 0.7486 MB / 0.8082 GB, free: 21.97 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005117/1.731, allocations: 3.917 MB / 0.812 GB, free: 20.55 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009211/1.74, allocations: 9.685 MB / 0.8215 GB, free: 11.25 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00912/1.749, allocations: 6.1 MB / 0.8274 GB, free: 6.371 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002573/1.75, allocations: 64 kB / 0.8275 GB, free: 6.309 MB / 426.8 MB Notification: Performance of matching and sorting (n=1347) (initialization): time 0.02757/1.777, allocations: 13.92 MB / 0.8411 GB, free: 10.7 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001627/1.777, allocations: 92 kB / 0.8412 GB, free: 10.61 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003117/1.778, allocations: 212.6 kB / 0.8414 GB, free: 10.4 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004289/1.782, allocations: 1.744 MB / 0.8431 GB, free: 9.082 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00976/1.792, allocations: 2.511 MB / 0.8455 GB, free: 6.953 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01629/1.808, allocations: 10.83 MB / 0.8561 GB, free: 13.36 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008627/1.817, allocations: 399.4 kB / 0.8565 GB, free: 13.06 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002903/1.82, allocations: 0.5995 MB / 0.8571 GB, free: 12.48 MB / 458.8 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.004412/1.824, allocations: 0.6261 MB / 0.8577 GB, free: 11.85 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00223/1.826, allocations: 0.5515 MB / 0.8582 GB, free: 11.29 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01767/1.844, allocations: 7.499 MB / 0.8655 GB, free: 5.23 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.352e-05/1.844, allocations: 40 kB / 0.8656 GB, free: 5.191 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-05/1.844, allocations: 8 kB / 0.8656 GB, free: 5.184 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.613e-05/1.844, allocations: 21.16 kB / 0.8656 GB, free: 5.18 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04535/1.89, allocations: 16.47 MB / 0.8817 GB, free: 8.012 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.895e-05/1.89, allocations: 4 kB / 0.8817 GB, free: 8.008 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004619/1.895, allocations: 0.7465 MB / 0.8824 GB, free: 7.434 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004342/1.899, allocations: 1.412 MB / 0.8838 GB, free: 6.438 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001354/1.9, allocations: 19.61 kB / 0.8838 GB, free: 6.422 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2898/2.19, allocations: 9.932 MB / 0.8935 GB, free: 116.9 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.109e-05/2.19, allocations: 7.812 kB / 0.8935 GB, free: 116.9 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0232/2.213, allocations: 13.3 MB / 0.9065 GB, free: 115.1 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003913/2.217, allocations: 1.174 MB / 0.9077 GB, free: 115 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002291/2.22, allocations: 12.02 kB / 0.9077 GB, free: 115 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004254/2.224, allocations: 196.8 kB / 0.9078 GB, free: 115 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001124/2.225, allocations: 234.9 kB / 0.9081 GB, free: 115 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000741/2.226, allocations: 104.6 kB / 0.9082 GB, free: 115 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.008093/2.234, allocations: 3.353 MB / 0.9114 GB, free: 114.8 MB / 474.8 MB Notification: Performance of sort global known variables: time 3.31e-07/2.234, allocations: 0 / 0.9114 GB, free: 114.8 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01142/2.245, allocations: 1.611 MB / 0.913 GB, free: 114.8 MB / 474.8 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.001154/2.247, allocations: 163.4 kB / 0.9132 GB, free: 114.7 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01575/2.262, allocations: 9.791 MB / 0.9227 GB, free: 114.4 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/2.262, allocations: 0 / 0.9227 GB, free: 114.4 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006954/2.269, allocations: 3.831 MB / 0.9265 GB, free: 114.2 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005611/2.275, allocations: 0.5517 MB / 0.927 GB, free: 114.1 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03433/2.309, allocations: 14.82 MB / 0.9415 GB, free: 109.5 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01094/2.32, allocations: 5.642 MB / 0.947 GB, free: 107.7 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.01538/2.336, allocations: 3.345 MB / 0.9503 GB, free: 107.5 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003344/2.339, allocations: 409.1 kB / 0.9507 GB, free: 107.5 MB / 474.8 MB Notification: Performance of SimCode: time 1.172e-06/2.339, allocations: 0 / 0.9507 GB, free: 107.5 MB / 474.8 MB Notification: Performance of Templates: time 0.1081/2.447, allocations: 58.32 MB / 1.008 GB, free: 66.62 MB / 474.8 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1)