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.0009968/0.000997, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007591/0.007591, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.481/1.481, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.000441/0.0004411, allocations: 8 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2386, allocations: 47.59 MB / 327 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.016/0.2546, allocations: 17.5 MB / 344.5 MB, free: 1.809 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01099/0.2656, allocations: 4.994 MB / 349.5 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003693/0.2694, allocations: 71.81 kB / 349.6 MB, free: 12.73 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.2704, allocations: 282.6 kB / 349.9 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003442/0.2739, allocations: 1.254 MB / 351.1 MB, free: 11.19 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.275, allocations: 0.5029 MB / 351.6 MB, free: 10.69 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00371/0.2788, allocations: 3.581 MB / 355.2 MB, free: 7.098 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002174/0.2809, allocations: 1.732 MB / 356.9 MB, free: 5.328 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009517/0.2819, allocations: 0.6923 MB / 357.6 MB, free: 4.633 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/0.2833, allocations: 1.183 MB / 358.8 MB, free: 3.445 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001763/0.2835, allocations: 84 kB / 358.9 MB, free: 3.363 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.2849, allocations: 0.8774 MB / 359.8 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008527/0.2858, allocations: 1.013 MB / 360.8 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009205/0.2867, allocations: 1.209 MB / 362 MB, free: 252 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003815/0.2906, allocations: 3.847 MB / 365.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2906, allocations: 3.938 kB / 365.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2906, allocations: 0 / 365.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.488e-05/0.2906, allocations: 0 / 365.9 MB, free: 12.38 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.004726/0.2954, allocations: 2.512 MB / 368.4 MB, free: 9.812 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.2954, allocations: 8.031 kB / 368.4 MB, free: 9.805 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0053/0.3007, allocations: 1.616 MB / 370 MB, free: 8.184 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002392/0.3032, allocations: 1.438 MB / 371.4 MB, free: 6.699 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.535e-05/0.3033, allocations: 127 kB / 371.6 MB, free: 6.574 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003153/0.3036, allocations: 163.8 kB / 371.7 MB, free: 6.414 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009386/0.313, allocations: 6.542 MB / 378.3 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.596e-05/0.3131, allocations: 35.64 kB / 378.3 MB, free: 15.35 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002221/0.3133, allocations: 79.89 kB / 378.4 MB, free: 15.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002413/0.3157, allocations: 1.472 MB / 379.8 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01055/0.3263, allocations: 5.838 MB / 385.7 MB, free: 7.957 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03092/0.3572, allocations: 25.78 MB / 411.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006035/0.3633, allocations: 2.576 MB / 414 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.365, allocations: 1.215 MB / 415.2 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007663/0.3727, allocations: 4.807 MB / 420.1 MB, free: 4.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.3728, allocations: 46.5 kB / 420.1 MB, free: 4.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 3.576e-06/0.3728, allocations: 3.938 kB / 420.1 MB, free: 4.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=105): time 0.0241/0.3969, allocations: 9.771 MB / 429.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.294e-05/0.397, allocations: 137 kB / 430 MB, free: 10.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003808/0.4008, allocations: 2.722 MB / 432.7 MB, free: 7.676 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000191/0.401, allocations: 41.7 kB / 432.8 MB, free: 7.629 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001475/0.4025, allocations: 2.048 MB / 434.8 MB, free: 5.551 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000463/0.403, allocations: 434.6 kB / 435.2 MB, free: 5.121 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004409/0.4034, allocations: 354.8 kB / 435.6 MB, free: 4.766 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.4036, allocations: 301.1 kB / 435.9 MB, free: 4.469 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00221/0.4058, allocations: 1.445 MB / 437.3 MB, free: 3.016 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004079/0.4099, allocations: 4.073 MB / 441.4 MB, free: 13.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007919/0.4178, allocations: 5.955 MB / 447.4 MB, free: 6.348 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.568e-05/0.4179, allocations: 28 kB / 447.4 MB, free: 6.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01144/0.4294, allocations: 6.025 MB / 453.4 MB, free: 292 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.559e-05/0.4295, allocations: 47.94 kB / 453.5 MB, free: 244 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001123/0.4296, allocations: 100.1 kB / 453.6 MB, free: 144 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1996/0.6292, allocations: 0.8167 MB / 454.4 MB, free: 109.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003841/0.633, allocations: 0.9459 MB / 455.3 MB, free: 109.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00592/0.639, allocations: 4.339 MB / 459.7 MB, free: 108.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003729/0.6428, allocations: 245.8 kB / 459.9 MB, free: 108.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006005/0.6434, allocations: 260.5 kB / 460.1 MB, free: 108.1 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.002155/0.6456, allocations: 1.374 MB / 461.5 MB, free: 107.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003754/0.6459, allocations: 220.8 kB / 461.7 MB, free: 107.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003957/0.6499, allocations: 2.134 MB / 463.9 MB, free: 106.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/0.6499, allocations: 15.22 kB / 463.9 MB, free: 106.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.65, allocations: 3.781 kB / 463.9 MB, free: 106.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.65, allocations: 6.766 kB / 463.9 MB, free: 106.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007815/0.6578, allocations: 5.084 MB / 469 MB, free: 104.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.6578, allocations: 0 / 469 MB, free: 104.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007116/0.6586, allocations: 152.7 kB / 469.1 MB, free: 104.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001919/0.6605, allocations: 0.6825 MB / 469.8 MB, free: 104.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.047e-05/0.6606, allocations: 22.61 kB / 469.8 MB, free: 104.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004031/0.6646, allocations: 3.893 MB / 473.7 MB, free: 101.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.6646, allocations: 10.59 kB / 473.7 MB, free: 101.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005406/0.6701, allocations: 4.052 MB / 477.8 MB, free: 97.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009182/0.671, allocations: 466.3 kB / 478.2 MB, free: 97.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002099/0.6712, allocations: 13.77 kB / 478.3 MB, free: 97.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008947/0.6721, allocations: 74.2 kB / 478.3 MB, free: 97.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.6723, allocations: 60.3 kB / 478.4 MB, free: 97.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.467e-05/0.6724, allocations: 29.25 kB / 478.4 MB, free: 97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002041/0.6744, allocations: 1.703 MB / 480.1 MB, free: 95.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6744, allocations: 0 / 480.1 MB, free: 95.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002885/0.6773, allocations: 0.6756 MB / 480.8 MB, free: 94.63 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.000444/0.6778, allocations: 196.8 kB / 481 MB, free: 94.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004422/0.6822, allocations: 3.47 MB / 484.5 MB, free: 91.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.6822, allocations: 0 / 484.5 MB, free: 91.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.6833, allocations: 1.038 MB / 485.5 MB, free: 89.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/0.6853, allocations: 250.2 kB / 485.7 MB, free: 89.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008744/0.6941, allocations: 6.955 MB / 492.7 MB, free: 82.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00171/0.6958, allocations: 2.237 MB / 494.9 MB, free: 80.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002897/0.6987, allocations: 1.323 MB / 496.3 MB, free: 79.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003747/0.6991, allocations: 159.4 kB / 496.4 MB, free: 79 MB / 382.1 MB Notification: Performance of SimCode: time 1.272e-06/0.6991, allocations: 0 / 496.4 MB, free: 79 MB / 382.1 MB Notification: Performance of Templates: time 0.03547/0.7346, allocations: 22.74 MB / 0.507 GB, free: 56.3 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)