Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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.UserDefinedGravityField,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, 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.001307/0.001307, allocations: 197.5 kB / 16.14 MB, free: 6.664 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.392/1.392, allocations: 205.1 MB / 222 MB, free: 4.738 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.001269/0.001269, allocations: 52.39 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2618, allocations: 46.62 MB / 324.7 MB, free: 2.281 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.01813/0.28, allocations: 18.15 MB / 342.8 MB, free: 2.219 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01296/0.293, allocations: 5.072 MB / 347.9 MB, free: 13.13 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004298/0.2974, allocations: 67.88 kB / 348 MB, free: 13.06 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002721/0.3002, allocations: 1.005 MB / 349 MB, free: 12.05 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004049/0.3043, allocations: 1.246 MB / 350.2 MB, free: 10.8 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.3057, allocations: 0.5068 MB / 350.7 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004805/0.3106, allocations: 3.581 MB / 354.3 MB, free: 6.707 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00217/0.3128, allocations: 1.362 MB / 355.7 MB, free: 5.324 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001438/0.3142, allocations: 0.7431 MB / 356.4 MB, free: 4.578 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001721/0.316, allocations: 1.242 MB / 357.7 MB, free: 3.332 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003702/0.3163, allocations: 108 kB / 357.8 MB, free: 3.227 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.3183, allocations: 0.9086 MB / 358.7 MB, free: 2.316 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001097/0.3194, allocations: 1.048 MB / 359.7 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001225/0.3206, allocations: 1.219 MB / 360.9 MB, free: 40 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004519/0.3251, allocations: 3.929 MB / 364.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.3252, allocations: 4 kB / 364.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3252, allocations: 0 / 364.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.637e-05/0.3253, allocations: 0 / 364.9 MB, free: 12.09 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.006431/0.3317, allocations: 2.992 MB / 367.9 MB, free: 9.043 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.3318, allocations: 8.031 kB / 367.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00523/0.337, allocations: 1.576 MB / 369.4 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003079/0.3401, allocations: 1.45 MB / 370.9 MB, free: 5.957 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.3403, allocations: 127 kB / 371 MB, free: 5.832 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003031/0.3406, allocations: 159.8 kB / 371.2 MB, free: 5.676 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/0.3507, allocations: 6.534 MB / 377.7 MB, free: 14.65 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.439e-05/0.3508, allocations: 23.81 kB / 377.7 MB, free: 14.63 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002445/0.351, allocations: 83.89 kB / 377.8 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002314/0.3534, allocations: 1.468 MB / 379.3 MB, free: 13.08 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01079/0.3642, allocations: 5.838 MB / 385.1 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0319/0.3961, allocations: 25.77 MB / 410.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005669/0.4019, allocations: 2.553 MB / 413.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001708/0.4036, allocations: 1.219 MB / 414.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008787/0.4124, allocations: 4.815 MB / 419.5 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.415e-05/0.4125, allocations: 42.56 kB / 419.5 MB, free: 3.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 5.04e-06/0.4125, allocations: 0 / 419.5 MB, free: 3.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=105): time 0.0258/0.4383, allocations: 9.811 MB / 429.3 MB, free: 9.859 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.167e-05/0.4385, allocations: 137 kB / 429.5 MB, free: 9.695 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004636/0.4431, allocations: 2.722 MB / 432.2 MB, free: 6.953 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001892/0.4433, allocations: 37.7 kB / 432.2 MB, free: 6.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001651/0.445, allocations: 2.048 MB / 434.3 MB, free: 4.832 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006506/0.4457, allocations: 430.7 kB / 434.7 MB, free: 4.406 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001429/0.4471, allocations: 0.8409 MB / 435.5 MB, free: 3.551 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.4472, allocations: 305.1 kB / 435.8 MB, free: 3.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002612/0.4498, allocations: 1.452 MB / 437.3 MB, free: 1.789 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004592/0.4544, allocations: 4.065 MB / 441.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006787/0.4613, allocations: 5.955 MB / 447.3 MB, free: 5.129 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.273e-05/0.4614, allocations: 24 kB / 447.3 MB, free: 5.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.21/0.6713, allocations: 6.022 MB / 453.3 MB, free: 108.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001299/0.6715, allocations: 52.34 kB / 453.4 MB, free: 108.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002143/0.6717, allocations: 93.34 kB / 453.5 MB, free: 108.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002606/0.6744, allocations: 0.8187 MB / 454.3 MB, free: 108.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003329/0.6777, allocations: 0.9527 MB / 455.3 MB, free: 108.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005875/0.6836, allocations: 4.331 MB / 459.6 MB, free: 107.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003443/0.6871, allocations: 254.1 kB / 459.8 MB, free: 107.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004438/0.6875, allocations: 260.7 kB / 460.1 MB, free: 107.3 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 425 * Number of states: 0 () * Number of discrete variables: 21 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (502): * Single equations (assignments): 498 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002237/0.6898, allocations: 1.364 MB / 461.4 MB, free: 106.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007777/0.6906, allocations: 232.7 kB / 461.7 MB, free: 106.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003968/0.6945, allocations: 2.132 MB / 463.8 MB, free: 106.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.503e-05/0.6946, allocations: 11.78 kB / 463.8 MB, free: 106.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.6946, allocations: 3.906 kB / 463.8 MB, free: 106.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/0.6946, allocations: 3.984 kB / 463.8 MB, free: 106.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008233/0.7029, allocations: 5.074 MB / 468.9 MB, free: 104.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/0.7029, allocations: 4.438 kB / 468.9 MB, free: 104.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007035/0.7036, allocations: 160 kB / 469.1 MB, free: 104.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001838/0.7055, allocations: 0.687 MB / 469.7 MB, free: 103.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.7056, allocations: 18.69 kB / 469.8 MB, free: 103.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003754/0.7093, allocations: 3.891 MB / 473.7 MB, free: 100.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.7094, allocations: 7.469 kB / 473.7 MB, free: 100.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004945/0.7143, allocations: 4.053 MB / 477.7 MB, free: 96.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007627/0.7151, allocations: 454.6 kB / 478.2 MB, free: 96.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002422/0.7153, allocations: 16.38 kB / 478.2 MB, free: 96.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008574/0.7162, allocations: 83.66 kB / 478.3 MB, free: 96.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.7164, allocations: 59.77 kB / 478.3 MB, free: 96.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.672e-05/0.7165, allocations: 35.98 kB / 478.4 MB, free: 96.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001941/0.7184, allocations: 1.697 MB / 480 MB, free: 94.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7184, allocations: 0 / 480 MB, free: 94.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002764/0.7212, allocations: 0.6784 MB / 480.7 MB, free: 93.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (74): * Single equations (assignments): 70 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003919/0.7216, allocations: 192 kB / 480.9 MB, free: 93.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004096/0.7257, allocations: 3.482 MB / 484.4 MB, free: 90.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.7257, allocations: 0 / 484.4 MB, free: 90.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.7267, allocations: 1.036 MB / 485.4 MB, free: 89.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.7282, allocations: 253 kB / 485.7 MB, free: 88.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006827/0.735, allocations: 6.888 MB / 492.6 MB, free: 81.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00147/0.7365, allocations: 2.233 MB / 494.8 MB, free: 79.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002446/0.739, allocations: 1.323 MB / 496.1 MB, free: 78.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003654/0.7393, allocations: 163.4 kB / 496.3 MB, free: 78.11 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.7393, allocations: 3.938 kB / 496.3 MB, free: 78.1 MB / 382.1 MB Notification: Performance of Templates: time 0.03471/0.7741, allocations: 23.06 MB / 0.5072 GB, free: 55.07 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1)