Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0008736/0.0008737, allocations: 91.5 kB / 16.65 MB, free: 6.59 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.0009944/0.0009947, allocations: 182.3 kB / 17.56 MB, free: 6.203 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.403/1.403, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.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.000527/0.000527, allocations: 12 kB / 280.7 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09474/0.09528, allocations: 47.58 MB / 328.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.01726/0.1126, allocations: 17.49 MB / 345.8 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.1239, allocations: 5.002 MB / 350.8 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004246/0.1282, allocations: 71.81 kB / 350.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.1295, allocations: 294.6 kB / 351.2 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004024/0.1336, allocations: 1.25 MB / 352.4 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.1351, allocations: 0.4991 MB / 352.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004683/0.1398, allocations: 3.573 MB / 356.5 MB, free: 7.477 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003134/0.143, allocations: 1.732 MB / 358.2 MB, free: 5.707 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.1446, allocations: 0.6924 MB / 358.9 MB, free: 5.012 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001849/0.1464, allocations: 1.175 MB / 360.1 MB, free: 3.832 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005692/0.147, allocations: 84 kB / 360.2 MB, free: 3.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002122/0.1491, allocations: 0.893 MB / 361.1 MB, free: 2.855 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001384/0.1506, allocations: 1.009 MB / 362.1 MB, free: 1.844 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00197/0.1525, allocations: 1.205 MB / 363.3 MB, free: 0.625 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004921/0.1575, allocations: 3.858 MB / 367.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1575, allocations: 0 / 367.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1575, allocations: 0 / 367.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001552/0.1577, allocations: 0 / 367.1 MB, free: 12.75 MB / 318.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.00624/0.1639, allocations: 2.504 MB / 369.6 MB, free: 10.19 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.164, allocations: 12.03 kB / 369.7 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00591/0.1699, allocations: 1.616 MB / 371.3 MB, free: 8.555 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003312/0.1732, allocations: 1.438 MB / 372.7 MB, free: 7.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/0.1734, allocations: 127 kB / 372.8 MB, free: 6.945 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006708/0.1741, allocations: 163.8 kB / 373 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1918/0.3658, allocations: 6.539 MB / 379.5 MB, free: 50.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001826/0.3661, allocations: 30 kB / 379.6 MB, free: 50.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000778/0.3668, allocations: 82.8 kB / 379.6 MB, free: 50.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003463/0.3703, allocations: 1.471 MB / 381.1 MB, free: 50.23 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01313/0.3835, allocations: 5.84 MB / 387 MB, free: 49.05 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02601/0.4095, allocations: 25.78 MB / 412.7 MB, free: 28.74 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004906/0.4145, allocations: 2.574 MB / 415.3 MB, free: 26.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/0.4157, allocations: 1.219 MB / 416.5 MB, free: 24.79 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0056/0.4213, allocations: 4.803 MB / 421.3 MB, free: 19.92 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.4213, allocations: 46.5 kB / 421.4 MB, free: 19.86 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 4.699e-06/0.4214, allocations: 0 / 421.4 MB, free: 19.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=105): time 0.02125/0.4426, allocations: 9.774 MB / 431.1 MB, free: 9.953 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.4427, allocations: 144.9 kB / 431.3 MB, free: 9.781 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00286/0.4456, allocations: 2.722 MB / 434 MB, free: 7.039 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001305/0.4457, allocations: 42.8 kB / 434.1 MB, free: 6.992 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009677/0.4467, allocations: 2.043 MB / 436.1 MB, free: 4.953 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003546/0.447, allocations: 430.2 kB / 436.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003387/0.4474, allocations: 351.8 kB / 436.9 MB, free: 4.184 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.662e-05/0.4475, allocations: 305.1 kB / 437.2 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001681/0.4491, allocations: 1.449 MB / 438.6 MB, free: 2.426 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003092/0.4523, allocations: 4.065 MB / 442.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00635/0.4586, allocations: 5.967 MB / 448.6 MB, free: 5.754 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.64e-05/0.4587, allocations: 28 kB / 448.7 MB, free: 5.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01091/0.4696, allocations: 6.035 MB / 454.7 MB, free: 15.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.698e-05/0.4697, allocations: 46.16 kB / 454.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-05/0.4698, allocations: 95.94 kB / 454.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002414/0.4722, allocations: 0.8203 MB / 455.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002773/0.475, allocations: 0.9513 MB / 456.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005728/0.4808, allocations: 4.337 MB / 460.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004061/0.4848, allocations: 248.8 kB / 461.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005291/0.4854, allocations: 260 kB / 461.4 MB, free: 8.824 MB / 350.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.002049/0.4875, allocations: 1.369 MB / 462.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003961/0.4879, allocations: 229 kB / 463 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005632/0.4935, allocations: 2.126 MB / 465.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-05/0.4936, allocations: 15.98 kB / 465.2 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/0.4936, allocations: 4 kB / 465.2 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.91e-05/0.4936, allocations: 7.922 kB / 465.2 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01297/0.5066, allocations: 5.084 MB / 470.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/0.5066, allocations: 4 kB / 470.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008557/0.5075, allocations: 159.7 kB / 470.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002183/0.5097, allocations: 0.6801 MB / 471.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001547/0.5099, allocations: 16 kB / 471.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007205/0.5171, allocations: 3.896 MB / 475 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.5171, allocations: 0 / 475 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009628/0.5268, allocations: 4.063 MB / 479.1 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/0.5282, allocations: 466 kB / 479.5 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/0.5284, allocations: 17.17 kB / 479.6 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009027/0.5293, allocations: 67.89 kB / 479.6 MB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/0.5295, allocations: 56.36 kB / 479.7 MB, free: 6.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.654e-05/0.5296, allocations: 29.56 kB / 479.7 MB, free: 6.277 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002591/0.5322, allocations: 1.705 MB / 481.4 MB, free: 4.562 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5322, allocations: 0 / 481.4 MB, free: 4.562 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003553/0.5358, allocations: 0.6679 MB / 482.1 MB, free: 3.902 MB / 366.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.0004866/0.5363, allocations: 198 kB / 482.3 MB, free: 3.715 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005552/0.5418, allocations: 3.482 MB / 485.8 MB, free: 248 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.5419, allocations: 0 / 485.8 MB, free: 248 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001449/0.5433, allocations: 1.04 MB / 486.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00209/0.5454, allocations: 252.2 kB / 487 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009947/0.5554, allocations: 6.946 MB / 494 MB, free: 7.961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002353/0.5578, allocations: 2.245 MB / 496.2 MB, free: 5.684 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003998/0.5618, allocations: 1.329 MB / 497.6 MB, free: 4.348 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006207/0.5625, allocations: 163.4 kB / 497.7 MB, free: 4.188 MB / 382.1 MB Notification: Performance of SimCode: time 2.355e-06/0.5625, allocations: 0 / 497.7 MB, free: 4.188 MB / 382.1 MB Notification: Performance of Templates: time 0.04515/0.6076, allocations: 22.72 MB / 0.5082 GB, free: 13.49 MB / 414.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1)