Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 86.33 kB / 16.31 MB, free: 6.449 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.001303/0.001303, allocations: 178.5 kB / 17.21 MB, free: 6.32 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.344/1.344, allocations: 205.4 MB / 223.4 MB, free: 5.266 MB / 174.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: Performance of FrontEnd - loaded program: time 0.0004425/0.0004428, allocations: 8 kB / 280.1 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.217, allocations: 47.6 MB / 327.7 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.04712/0.2642, allocations: 52.55 MB / 380.3 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0232/0.2874, allocations: 11.18 MB / 391.5 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009013/0.2964, allocations: 243.4 kB / 391.7 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007942/0.3044, allocations: 2.718 MB / 394.4 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02168/0.3261, allocations: 8.121 MB / 402.5 MB, free: 8.457 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003225/0.3294, allocations: 0.6202 MB / 403.2 MB, free: 7.836 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02662/0.356, allocations: 19.43 MB / 422.6 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007587/0.3636, allocations: 5.107 MB / 427.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003805/0.3675, allocations: 1.401 MB / 429.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003659/0.3712, allocations: 2.157 MB / 431.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000944/0.3721, allocations: 160 kB / 431.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002181/0.3743, allocations: 0.9597 MB / 432.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002325/0.3767, allocations: 1.928 MB / 434.3 MB, free: 8.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001341/0.378, allocations: 0.9439 MB / 435.3 MB, free: 7.617 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006314/0.3843, allocations: 6.332 MB / 441.6 MB, free: 1.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3844, allocations: 0 / 441.6 MB, free: 1.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3844, allocations: 0 / 441.6 MB, free: 1.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002281/0.3846, allocations: 3.938 kB / 441.6 MB, free: 1.266 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1737 * Number of variables: 1737 Notification: Performance of Generate backend data structure: time 0.009043/0.3937, allocations: 4.58 MB / 446.2 MB, free: 12.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.3937, allocations: 12.03 kB / 446.2 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008644/0.4023, allocations: 2.286 MB / 448.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005317/0.4077, allocations: 2.901 MB / 451.4 MB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001949/0.4079, allocations: 262.8 kB / 451.6 MB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007353/0.4086, allocations: 359.7 kB / 452 MB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2161/0.6247, allocations: 11.63 MB / 463.6 MB, free: 42.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001583/0.6249, allocations: 46.66 kB / 463.6 MB, free: 42.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005318/0.6255, allocations: 164.9 kB / 463.8 MB, free: 42.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003415/0.6289, allocations: 2.341 MB / 466.2 MB, free: 42.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01788/0.6468, allocations: 9.936 MB / 476.1 MB, free: 42.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0469/0.6938, allocations: 44.49 MB / 0.5084 GB, free: 16.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/0.7049, allocations: 5.345 MB / 0.5136 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00325/0.7082, allocations: 2.805 MB / 0.5163 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01094/0.7192, allocations: 8.121 MB / 0.5243 GB, free: 4.133 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.7192, allocations: 55.25 kB / 0.5243 GB, free: 4.086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=216): time 4.759e-06/0.7193, allocations: 2.906 kB / 0.5243 GB, free: 4.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=237): time 0.04973/0.769, allocations: 20.77 MB / 0.5446 GB, free: 1.035 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.7691, allocations: 176.2 kB / 0.5448 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007566/0.7767, allocations: 4.741 MB / 0.5494 GB, free: 12.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002936/0.777, allocations: 57.7 kB / 0.5495 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002462/0.7795, allocations: 3.398 MB / 0.5528 GB, free: 8.648 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009488/0.7805, allocations: 0.8871 MB / 0.5536 GB, free: 7.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004165/0.7809, allocations: 140 kB / 0.5538 GB, free: 7.633 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0004636/0.7814, allocations: 0.5953 MB / 0.5544 GB, free: 7.031 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003965/0.7853, allocations: 2.675 MB / 0.557 GB, free: 4.355 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006425/0.7918, allocations: 6.589 MB / 0.5634 GB, free: 11.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005692/0.7975, allocations: 4.117 MB / 0.5674 GB, free: 7.914 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.677e-05/0.7976, allocations: 36 kB / 0.5675 GB, free: 7.879 MB / 430.1 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.01675/0.8143, allocations: 10.13 MB / 0.5774 GB, free: 14.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001338/0.8145, allocations: 64 kB / 0.5774 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002056/0.8147, allocations: 136 kB / 0.5775 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002885/0.8176, allocations: 1.234 MB / 0.5787 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00512/0.8227, allocations: 1.605 MB / 0.5803 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009484/0.8322, allocations: 6.78 MB / 0.5869 GB, free: 4.824 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006192/0.8385, allocations: 385.2 kB / 0.5873 GB, free: 4.449 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001581/0.8401, allocations: 408 kB / 0.5877 GB, free: 4.051 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 42 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (835): * Single equations (assignments): 829 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005456/0.8455, allocations: 2.368 MB / 0.59 GB, free: 1.805 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00105/0.8466, allocations: 417.4 kB / 0.5904 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009106/0.8557, allocations: 4.761 MB / 0.5951 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.195e-05/0.8558, allocations: 31.91 kB / 0.5951 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/0.8558, allocations: 11.95 kB / 0.5951 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.466e-05/0.8559, allocations: 8.062 kB / 0.5951 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01912/0.875, allocations: 10.88 MB / 0.6057 GB, free: 1.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.899e-05/0.875, allocations: 4.656 kB / 0.6057 GB, free: 1.676 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001845/0.8769, allocations: 437.5 kB / 0.6062 GB, free: 1.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002427/0.8793, allocations: 1.019 MB / 0.6071 GB, free: 252 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002303/0.8796, allocations: 47.98 kB / 0.6072 GB, free: 204 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007975/0.8876, allocations: 6.363 MB / 0.6134 GB, free: 9.707 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.8876, allocations: 11.19 kB / 0.6134 GB, free: 9.699 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01192/0.8995, allocations: 8.136 MB / 0.6214 GB, free: 1.496 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00188/0.9014, allocations: 0.8429 MB / 0.6222 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008763/0.9023, allocations: 47.52 kB / 0.6222 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/0.9042, allocations: 147.8 kB / 0.6224 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003041/0.9045, allocations: 149 kB / 0.6225 GB, free: 308 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001588/0.9046, allocations: 67.98 kB / 0.6226 GB, free: 240 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.1696/1.074, allocations: 3.026 MB / 0.6255 GB, free: 190.9 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.91e-07/1.074, allocations: 0 / 0.6255 GB, free: 190.9 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006315/1.081, allocations: 1.189 MB / 0.6267 GB, free: 190.9 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.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 (198): * Single equations (assignments): 194 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004409/1.081, allocations: 184 kB / 0.6269 GB, free: 190.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007797/1.089, allocations: 6.504 MB / 0.6332 GB, free: 188.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/1.089, allocations: 3.75 kB / 0.6332 GB, free: 188.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00313/1.092, allocations: 2.398 MB / 0.6356 GB, free: 187.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002664/1.095, allocations: 495.2 kB / 0.636 GB, free: 187.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01513/1.11, allocations: 13.11 MB / 0.6488 GB, free: 180.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003241/1.113, allocations: 3.675 MB / 0.6524 GB, free: 177.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005158/1.118, allocations: 2.211 MB / 0.6546 GB, free: 176.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009998/1.119, allocations: 299.8 kB / 0.6549 GB, free: 176.2 MB / 478.1 MB Notification: Performance of SimCode: time 1.734e-06/1.119, allocations: 3.5 kB / 0.6549 GB, free: 176.2 MB / 478.1 MB Notification: Performance of Templates: time 0.06418/1.184, allocations: 42.93 MB / 0.6968 GB, free: 133.3 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1)