Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005124/0.005124, allocations: 101.7 kB / 15.73 MB, free: 5.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.001145/0.001145, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.326/1.326, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.001344/0.001344, allocations: 43.94 kB / 326.6 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1145, allocations: 46.61 MB / 373.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.1898/0.3044, allocations: 10.48 MB / 383.6 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0076/0.312, allocations: 3.809 MB / 387.4 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0019/0.314, allocations: 60.94 kB / 387.5 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004144/0.3182, allocations: 2.319 MB / 389.8 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004273/0.3225, allocations: 1.721 MB / 391.5 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.3239, allocations: 0.6076 MB / 392.2 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005525/0.3294, allocations: 3.466 MB / 395.6 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003871/0.3333, allocations: 3.032 MB / 398.7 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002343/0.3357, allocations: 1.368 MB / 400 MB, free: 4 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002829/0.3385, allocations: 1.8 MB / 401.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00079/0.3394, allocations: 292.3 kB / 402.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002965/0.3423, allocations: 1.147 MB / 403.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002098/0.3444, allocations: 1.711 MB / 405 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002353/0.3468, allocations: 1.953 MB / 406.9 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006986/0.3538, allocations: 6.243 MB / 413.2 MB, free: 7.453 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3538, allocations: 0 / 413.2 MB, free: 7.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3538, allocations: 0 / 413.2 MB, free: 7.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001722/0.354, allocations: 4 kB / 413.2 MB, free: 7.449 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.008358/0.3624, allocations: 4.227 MB / 417.4 MB, free: 3.156 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3624, allocations: 8.031 kB / 417.4 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006052/0.3685, allocations: 1.832 MB / 419.2 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00413/0.3727, allocations: 2.111 MB / 421.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.3728, allocations: 217.4 kB / 421.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000915/0.3738, allocations: 367.6 kB / 421.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01475/0.3885, allocations: 8.873 MB / 430.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001104/0.3887, allocations: 35.69 kB / 430.8 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003652/0.3891, allocations: 135.9 kB / 431 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00228/0.3914, allocations: 1.641 MB / 432.6 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01497/0.4063, allocations: 7.502 MB / 440.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04467/0.4511, allocations: 35.02 MB / 475.1 MB, free: 7.672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008344/0.4594, allocations: 3.452 MB / 478.6 MB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002107/0.4616, allocations: 1.447 MB / 480 MB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01083/0.4725, allocations: 6.792 MB / 486.8 MB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.867e-05/0.4726, allocations: 55.08 kB / 486.9 MB, free: 11.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 5.43e-06/0.4726, allocations: 0 / 486.9 MB, free: 11.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=139): time 0.03032/0.5029, allocations: 11.12 MB / 498 MB, free: 152 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001561/0.5045, allocations: 1.706 MB / 499.7 MB, free: 14.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006884/0.5114, allocations: 3.555 MB / 0.4914 GB, free: 10.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004344/0.5119, allocations: 45.69 kB / 0.4915 GB, free: 10.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002301/0.5142, allocations: 2.794 MB / 0.4942 GB, free: 7.828 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008769/0.5151, allocations: 0.571 MB / 0.4948 GB, free: 7.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002285/0.5174, allocations: 1.103 MB / 0.4959 GB, free: 6.137 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.5175, allocations: 305.1 kB / 0.4961 GB, free: 5.836 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003495/0.521, allocations: 1.92 MB / 0.498 GB, free: 3.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005995/0.527, allocations: 5.361 MB / 0.5033 GB, free: 12.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01013/0.5372, allocations: 7.841 MB / 0.5109 GB, free: 3.254 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001252/0.5373, allocations: 40 kB / 0.5109 GB, free: 3.215 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02396/0.5613, allocations: 8.75 MB / 0.5195 GB, free: 10.44 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002619/0.5616, allocations: 56 kB / 0.5195 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01127/0.5729, allocations: 3.436 MB / 0.5229 GB, free: 6.934 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01035/0.5833, allocations: 2.227 MB / 0.5251 GB, free: 4.691 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004692/0.588, allocations: 1.255 MB / 0.5263 GB, free: 3.434 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01105/0.5991, allocations: 7.421 MB / 0.5335 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00732/0.6065, allocations: 383.3 kB / 0.5339 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001556/0.6081, allocations: 332 kB / 0.5342 GB, free: 11.03 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 36 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (676): * Single equations (assignments): 667 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005688/0.6138, allocations: 1.858 MB / 0.536 GB, free: 9.16 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/0.6149, allocations: 304.1 kB / 0.5363 GB, free: 8.859 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006526/0.6214, allocations: 2.774 MB / 0.539 GB, free: 6.062 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004802/0.6262, allocations: 2.351 MB / 0.5413 GB, free: 3.688 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.668e-05/0.6263, allocations: 4 kB / 0.5413 GB, free: 3.684 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-05/0.6263, allocations: 7.969 kB / 0.5414 GB, free: 3.676 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2779/0.9042, allocations: 7.84 MB / 0.549 GB, free: 147.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/0.9042, allocations: 3.031 kB / 0.549 GB, free: 147.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/0.9054, allocations: 227.1 kB / 0.5492 GB, free: 147.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003601/0.909, allocations: 1.054 MB / 0.5503 GB, free: 147.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003051/0.9094, allocations: 35.3 kB / 0.5503 GB, free: 147.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006259/0.9156, allocations: 5.282 MB / 0.5554 GB, free: 143.8 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009077/0.9166, allocations: 1.566 MB / 0.557 GB, free: 142.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009467/0.9261, allocations: 4.955 MB / 0.5618 GB, free: 140.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/0.9272, allocations: 367.1 kB / 0.5622 GB, free: 140.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007973/0.928, allocations: 38.89 kB / 0.5622 GB, free: 140.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001878/0.9299, allocations: 120.5 kB / 0.5623 GB, free: 140.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000313/0.9302, allocations: 85.36 kB / 0.5624 GB, free: 140.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/0.9304, allocations: 46.53 kB / 0.5624 GB, free: 140.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005048/0.9354, allocations: 2.2 MB / 0.5646 GB, free: 139.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.9354, allocations: 3.938 kB / 0.5646 GB, free: 139.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006581/0.942, allocations: 0.9669 MB / 0.5655 GB, free: 139.4 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * 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 (105): * Single equations (assignments): 98 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005609/0.9426, allocations: 165.8 kB / 0.5657 GB, free: 139.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009368/0.952, allocations: 5.233 MB / 0.5708 GB, free: 137.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.952, allocations: 4.594 kB / 0.5708 GB, free: 137.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003431/0.9555, allocations: 2.019 MB / 0.5728 GB, free: 136.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003301/0.9588, allocations: 395.2 kB / 0.5732 GB, free: 136.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01476/0.9736, allocations: 8.426 MB / 0.5814 GB, free: 132.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004344/0.978, allocations: 2.904 MB / 0.5842 GB, free: 131.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003969/0.9819, allocations: 1.703 MB / 0.5859 GB, free: 130.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008036/0.9828, allocations: 206.4 kB / 0.5861 GB, free: 130.1 MB / 478.1 MB Notification: Performance of SimCode: time 2.114e-06/0.9828, allocations: 4 kB / 0.5861 GB, free: 130.1 MB / 478.1 MB Notification: Performance of Templates: time 0.05563/1.038, allocations: 33.19 MB / 0.6185 GB, free: 97.18 MB / 478.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1)