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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 191.2 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.1 MB / 222 MB, free: 4.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3605/0.3605, allocations: 37.98 MB / 307.3 MB, free: 10.16 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001345, allocations: 63.91 kB / 374.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1363, allocations: 56.47 MB / 431 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForcesAndTorques): time 0.289/0.4254, allocations: 106.2 MB / 0.5246 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05992/0.4853, allocations: 19.98 MB / 0.5441 GB, free: 4.785 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02681/0.5122, allocations: 456.6 kB / 0.5445 GB, free: 4.719 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01105/0.5233, allocations: 5.845 MB / 0.5502 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009793/0.5331, allocations: 2.791 MB / 0.553 GB, free: 252 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003686/0.5369, allocations: 1.127 MB / 0.5541 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01487/0.5518, allocations: 11.14 MB / 0.565 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01083/0.5627, allocations: 7.458 MB / 0.5722 GB, free: 12.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005455/0.5682, allocations: 2.6 MB / 0.5748 GB, free: 9.852 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006248/0.5745, allocations: 4.264 MB / 0.5789 GB, free: 5.574 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001857/0.5763, allocations: 484 kB / 0.5794 GB, free: 5.102 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003734/0.5801, allocations: 1.416 MB / 0.5808 GB, free: 3.684 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00401/0.5841, allocations: 3.577 MB / 0.5843 GB, free: 100 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006856/0.591, allocations: 4.042 MB / 0.5882 GB, free: 12.03 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01471/0.6057, allocations: 12.62 MB / 0.6005 GB, free: 15.37 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.6058, allocations: 0 / 0.6005 GB, free: 15.37 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.6058, allocations: 0 / 0.6005 GB, free: 15.37 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005205/0.6063, allocations: 0 / 0.6005 GB, free: 15.37 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.02215/0.6285, allocations: 8.858 MB / 0.6092 GB, free: 6.426 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.6285, allocations: 8.031 kB / 0.6092 GB, free: 6.418 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01373/0.6423, allocations: 2.977 MB / 0.6121 GB, free: 3.426 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01111/0.6534, allocations: 4.876 MB / 0.6169 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004557/0.6539, allocations: 456 kB / 0.6173 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002749/0.6567, allocations: 0.5932 MB / 0.6179 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4169/1.074, allocations: 18.49 MB / 0.6359 GB, free: 143.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002613/1.074, allocations: 77.31 kB / 0.636 GB, free: 143.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001169/1.075, allocations: 276 kB / 0.6363 GB, free: 143.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005297/1.08, allocations: 3.55 MB / 0.6397 GB, free: 142.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03089/1.111, allocations: 15.67 MB / 0.655 GB, free: 137.9 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1064/1.218, allocations: 70.22 MB / 0.7236 GB, free: 89.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01999/1.238, allocations: 8.453 MB / 0.7319 GB, free: 80.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005932/1.244, allocations: 5.001 MB / 0.7368 GB, free: 75.77 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01906/1.263, allocations: 11.86 MB / 0.7483 GB, free: 63.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/1.263, allocations: 69.17 kB / 0.7484 GB, free: 63.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=347): time 7.414e-06/1.263, allocations: 0 / 0.7484 GB, free: 63.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=389): time 0.08856/1.352, allocations: 38.93 MB / 0.7864 GB, free: 24.45 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/1.352, allocations: 252.9 kB / 0.7867 GB, free: 24.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01258/1.364, allocations: 7.428 MB / 0.7939 GB, free: 16.74 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001257/1.366, allocations: 85.69 kB / 0.794 GB, free: 16.65 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002967/1.369, allocations: 5.204 MB / 0.7991 GB, free: 11.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002178/1.371, allocations: 1.45 MB / 0.8005 GB, free: 9.914 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003169/1.374, allocations: 2.086 MB / 0.8025 GB, free: 7.816 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.13e-05/1.374, allocations: 309.1 kB / 0.8028 GB, free: 7.512 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006081/1.38, allocations: 4.463 MB / 0.8072 GB, free: 3.043 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01246/1.393, allocations: 10.09 MB / 0.817 GB, free: 6.219 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2801/1.673, allocations: 15.65 MB / 0.8323 GB, free: 135.2 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001728/1.673, allocations: 55.53 kB / 0.8324 GB, free: 135.2 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1343) (initialization): time 0.03155/1.705, allocations: 16.47 MB / 0.8485 GB, free: 129.6 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001438/1.705, allocations: 85.38 kB / 0.8485 GB, free: 129.6 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003073/1.705, allocations: 197.8 kB / 0.8487 GB, free: 129.6 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005843/1.711, allocations: 2.303 MB / 0.851 GB, free: 129.2 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009914/1.721, allocations: 2.444 MB / 0.8534 GB, free: 129 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01809/1.739, allocations: 13.51 MB / 0.8666 GB, free: 122.3 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009596/1.749, allocations: 0.5865 MB / 0.8671 GB, free: 122.1 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00276/1.751, allocations: 0.5881 MB / 0.8677 GB, free: 122 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 890 * Number of states: 0 () * Number of discrete variables: 69 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1261): * Single equations (assignments): 1254 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00928/1.761, allocations: 3.628 MB / 0.8712 GB, free: 120.4 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001947/1.763, allocations: 0.6327 MB / 0.8719 GB, free: 120.4 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01645/1.779, allocations: 9.195 MB / 0.8808 GB, free: 117.2 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.438e-05/1.779, allocations: 40.75 kB / 0.8809 GB, free: 117.2 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-05/1.779, allocations: 10.75 kB / 0.8809 GB, free: 117.2 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.193e-05/1.779, allocations: 20.39 kB / 0.8809 GB, free: 117.2 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03165/1.811, allocations: 19.38 MB / 0.8998 GB, free: 107.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.378e-05/1.811, allocations: 8 kB / 0.8998 GB, free: 107.8 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003144/1.814, allocations: 0.7071 MB / 0.9005 GB, free: 107.2 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004581/1.819, allocations: 2.036 MB / 0.9025 GB, free: 105.6 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005171/1.819, allocations: 75.98 kB / 0.9026 GB, free: 105.6 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01346/1.833, allocations: 12.74 MB / 0.915 GB, free: 92.67 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/1.833, allocations: 11.94 kB / 0.915 GB, free: 92.66 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02131/1.854, allocations: 14.31 MB / 0.929 GB, free: 78.32 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004925/1.859, allocations: 1.352 MB / 0.9303 GB, free: 76.95 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002848/1.862, allocations: 68 kB / 0.9304 GB, free: 76.88 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006868/1.869, allocations: 267.6 kB / 0.9307 GB, free: 76.62 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001837/1.871, allocations: 242.8 kB / 0.9309 GB, free: 76.38 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000739/1.872, allocations: 104 kB / 0.931 GB, free: 76.28 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.01241/1.884, allocations: 4.786 MB / 0.9357 GB, free: 71.52 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1.042e-06/1.884, allocations: 0 / 0.9357 GB, free: 71.52 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01732/1.901, allocations: 1.948 MB / 0.9376 GB, free: 69.58 MB / 0.4982 GB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00148/1.903, allocations: 231.5 kB / 0.9378 GB, free: 69.35 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.02264/1.926, allocations: 10.76 MB / 0.9483 GB, free: 58.6 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.598e-05/1.926, allocations: 4 kB / 0.9483 GB, free: 58.6 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.008245/1.934, allocations: 4.324 MB / 0.9525 GB, free: 54.25 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006618/1.941, allocations: 0.794 MB / 0.9533 GB, free: 53.47 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0325/1.973, allocations: 22.1 MB / 0.9749 GB, free: 31.29 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009654/1.983, allocations: 5.48 MB / 0.9802 GB, free: 25.77 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01129/1.994, allocations: 3.322 MB / 0.9835 GB, free: 22.45 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003259/1.998, allocations: 459.3 kB / 0.9839 GB, free: 22 MB / 0.4982 GB Notification: Performance of SimCode: time 1.914e-06/1.998, allocations: 0 / 0.9839 GB, free: 22 MB / 0.4982 GB Notification: Performance of Templates: time 0.4157/2.413, allocations: 76.39 MB / 1.059 GB, free: 138.4 MB / 0.5138 GB 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)