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.001165/0.001165, allocations: 105.9 kB / 16.5 MB, free: 6.688 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.001305/0.001305, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.353/1.353, allocations: 205.1 MB / 223.3 MB, free: 12.41 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.001258/0.001258, allocations: 51.92 kB / 279.3 MB, free: 3.57 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09676/0.09803, allocations: 46.64 MB / 326 MB, free: 4.867 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.01807/0.1161, allocations: 18.14 MB / 344.1 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01246/0.1287, allocations: 5.072 MB / 349.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003889/0.1326, allocations: 75.81 kB / 349.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002648/0.1353, allocations: 0.9971 MB / 350.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003641/0.139, allocations: 1.246 MB / 351.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.1404, allocations: 0.503 MB / 352 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004259/0.1446, allocations: 3.581 MB / 355.6 MB, free: 7.133 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002003/0.1467, allocations: 1.365 MB / 357 MB, free: 5.746 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.148, allocations: 0.747 MB / 357.7 MB, free: 4.996 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001471/0.1495, allocations: 1.246 MB / 358.9 MB, free: 3.746 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002517/0.1498, allocations: 104 kB / 359 MB, free: 3.645 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001723/0.1515, allocations: 0.9086 MB / 360 MB, free: 2.734 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008847/0.1524, allocations: 1.032 MB / 361 MB, free: 1.699 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001179/0.1536, allocations: 1.23 MB / 362.2 MB, free: 472 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004225/0.1578, allocations: 3.917 MB / 366.1 MB, free: 12.53 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1579, allocations: 0 / 366.1 MB, free: 12.53 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1579, allocations: 0 / 366.1 MB, free: 12.53 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.494e-05/0.1579, allocations: 7.938 kB / 366.1 MB, free: 12.52 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.005324/0.1633, allocations: 2.999 MB / 369.1 MB, free: 9.465 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.1633, allocations: 8.031 kB / 369.1 MB, free: 9.457 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005126/0.1685, allocations: 1.569 MB / 370.7 MB, free: 7.883 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002418/0.1709, allocations: 1.45 MB / 372.2 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.059e-05/0.171, allocations: 127 kB / 372.3 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003092/0.1713, allocations: 163.8 kB / 372.5 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1729/0.3442, allocations: 6.535 MB / 379 MB, free: 51.2 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-05/0.3443, allocations: 28.69 kB / 379 MB, free: 51.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002551/0.3446, allocations: 82.45 kB / 379.1 MB, free: 51.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002773/0.3473, allocations: 1.469 MB / 380.6 MB, free: 51.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01037/0.3577, allocations: 5.832 MB / 386.4 MB, free: 49.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02294/0.3807, allocations: 25.77 MB / 412.2 MB, free: 29.11 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004927/0.3857, allocations: 2.542 MB / 414.7 MB, free: 26.42 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.3869, allocations: 1.223 MB / 415.9 MB, free: 25.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005938/0.3929, allocations: 4.812 MB / 420.7 MB, free: 20.3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.3929, allocations: 46.55 kB / 420.8 MB, free: 20.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 3.657e-06/0.393, allocations: 0 / 420.8 MB, free: 20.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=105): time 0.01985/0.4128, allocations: 9.811 MB / 430.6 MB, free: 10.3 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.4129, allocations: 137 kB / 430.7 MB, free: 10.14 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002615/0.4155, allocations: 2.73 MB / 433.5 MB, free: 7.391 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.903e-05/0.4156, allocations: 45.69 kB / 433.5 MB, free: 7.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007269/0.4164, allocations: 2.037 MB / 435.5 MB, free: 5.273 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002552/0.4166, allocations: 430.7 kB / 436 MB, free: 4.848 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000742/0.4174, allocations: 0.8292 MB / 436.8 MB, free: 4.004 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.524e-05/0.4174, allocations: 313.1 kB / 437.1 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.419, allocations: 1.445 MB / 438.5 MB, free: 2.242 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00296/0.4219, allocations: 4.077 MB / 442.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00604/0.428, allocations: 5.955 MB / 448.6 MB, free: 5.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.315e-05/0.4281, allocations: 28 kB / 448.6 MB, free: 5.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.009913/0.438, allocations: 6.025 MB / 454.6 MB, free: 15.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.934e-05/0.4381, allocations: 44 kB / 454.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001052/0.4382, allocations: 95.94 kB / 454.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002263/0.4405, allocations: 0.8167 MB / 455.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002855/0.4433, allocations: 0.9514 MB / 456.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005668/0.449, allocations: 4.338 MB / 460.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003107/0.4521, allocations: 247.5 kB / 461.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005396/0.4527, allocations: 260 kB / 461.4 MB, free: 8.641 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.002068/0.4548, allocations: 1.372 MB / 462.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004375/0.4552, allocations: 221.1 kB / 463 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004082/0.4593, allocations: 2.138 MB / 465.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.774e-05/0.4593, allocations: 15.98 kB / 465.1 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.4594, allocations: 4 kB / 465.1 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.4594, allocations: 7.922 kB / 465.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008557/0.4679, allocations: 5.078 MB / 470.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/0.468, allocations: 4 kB / 470.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007436/0.4687, allocations: 151.8 kB / 470.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002002/0.4707, allocations: 0.6873 MB / 471 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.4709, allocations: 27.97 kB / 471.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004737/0.4756, allocations: 3.886 MB / 475 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.4756, allocations: 2.734 kB / 475 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005963/0.4816, allocations: 4.059 MB / 479 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009102/0.4825, allocations: 457.8 kB / 479.5 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002686/0.4828, allocations: 16 kB / 479.5 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000869/0.4837, allocations: 75.83 kB / 479.6 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/0.4839, allocations: 60.36 kB / 479.6 MB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.791e-05/0.484, allocations: 35.98 kB / 479.6 MB, free: 6.059 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002269/0.4862, allocations: 1.697 MB / 481.3 MB, free: 4.352 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4863, allocations: 4 kB / 481.3 MB, free: 4.348 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002926/0.4892, allocations: 0.6642 MB / 482 MB, free: 3.691 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.0004391/0.4896, allocations: 202.3 kB / 482.2 MB, free: 3.496 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004982/0.4946, allocations: 3.472 MB / 485.7 MB, free: 32 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.4947, allocations: 4 kB / 485.7 MB, free: 28 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.496, allocations: 1.044 MB / 486.7 MB, free: 14.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.4977, allocations: 243.7 kB / 487 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009032/0.5067, allocations: 6.88 MB / 493.8 MB, free: 7.812 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002003/0.5088, allocations: 2.244 MB / 496.1 MB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003117/0.5119, allocations: 1.323 MB / 497.4 MB, free: 4.207 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004185/0.5123, allocations: 159.4 kB / 497.6 MB, free: 4.051 MB / 382.1 MB Notification: Performance of SimCode: time 7.32e-07/0.5123, allocations: 0 / 497.6 MB, free: 4.051 MB / 382.1 MB Notification: Performance of Templates: time 0.03815/0.5505, allocations: 23.06 MB / 0.5084 GB, free: 12.96 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)