Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0008871/0.0008872, allocations: 94.69 kB / 16.3 MB, free: 5.656 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.0009325/0.0009326, allocations: 184.9 kB / 17.2 MB, free: 5.59 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.4 MB / 223.4 MB, free: 13.16 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.0004575/0.0004576, allocations: 19.27 kB / 280.1 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09929/0.09975, allocations: 47.58 MB / 327.7 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.0321/0.1319, allocations: 32.85 MB / 360.5 MB, free: 3.145 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.018/0.1499, allocations: 8.365 MB / 368.9 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006188/0.1562, allocations: 167.6 kB / 369.1 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005402/0.1616, allocations: 1.602 MB / 370.7 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01494/0.1766, allocations: 4.8 MB / 375.5 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002503/0.1791, allocations: 0.5031 MB / 376 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005135/0.1842, allocations: 1.946 MB / 377.9 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1937/0.378, allocations: 3.697 MB / 381.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002112/0.3802, allocations: 0.9194 MB / 382.5 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002187/0.3824, allocations: 1.153 MB / 383.7 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006572/0.383, allocations: 121.7 kB / 383.8 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002333/0.3854, allocations: 0.8593 MB / 384.7 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001961/0.3874, allocations: 1.374 MB / 386.1 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.3884, allocations: 0.7398 MB / 386.8 MB, free: 10.64 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006002/0.3944, allocations: 4.779 MB / 391.6 MB, free: 10.3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3944, allocations: 0 / 391.6 MB, free: 10.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.3945, allocations: 0 / 391.6 MB, free: 10.3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002356/0.3947, allocations: 0 / 391.6 MB, free: 10.3 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: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.009742/0.4044, allocations: 3.549 MB / 395.1 MB, free: 8.609 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.4045, allocations: 12.25 kB / 395.1 MB, free: 8.605 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008009/0.4125, allocations: 2.176 MB / 397.3 MB, free: 7.754 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005128/0.4177, allocations: 2.25 MB / 399.6 MB, free: 6.992 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/0.4179, allocations: 212.4 kB / 399.8 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001227/0.4191, allocations: 371.2 kB / 400.1 MB, free: 6.961 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01641/0.4355, allocations: 8.942 MB / 409.1 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001175/0.4357, allocations: 41.2 kB / 409.1 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004603/0.4361, allocations: 134.9 kB / 409.2 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002417/0.4386, allocations: 1.64 MB / 410.9 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01431/0.4529, allocations: 7.578 MB / 418.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.047/0.5, allocations: 35.26 MB / 453.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00834/0.5083, allocations: 3.449 MB / 457.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01083/0.5192, allocations: 6.86 MB / 464 MB, free: 7.969 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/0.5193, allocations: 55.86 kB / 464.1 MB, free: 7.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=132): time 5.992e-06/0.5193, allocations: 0 / 464.1 MB, free: 7.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=139): time 0.0279/0.5472, allocations: 11.47 MB / 475.6 MB, free: 12.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001401/0.5487, allocations: 1.626 MB / 477.2 MB, free: 10.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0052/0.5539, allocations: 3.672 MB / 480.9 MB, free: 6.801 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003804/0.5543, allocations: 41.7 kB / 480.9 MB, free: 6.754 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00211/0.5564, allocations: 2.794 MB / 483.7 MB, free: 3.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00084/0.5573, allocations: 0.563 MB / 484.2 MB, free: 3.422 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002652/0.5575, allocations: 104 kB / 484.3 MB, free: 3.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003362/0.5579, allocations: 0.5336 MB / 484.9 MB, free: 2.781 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003053/0.5609, allocations: 1.933 MB / 486.8 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005368/0.5663, allocations: 5.342 MB / 492.2 MB, free: 9.828 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004916/0.5713, allocations: 3.142 MB / 495.3 MB, free: 6.797 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.374e-05/0.5714, allocations: 32 kB / 495.3 MB, free: 6.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.0215/0.5929, allocations: 8.77 MB / 0.4923 GB, free: 14.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.593, allocations: 60 kB / 0.4923 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01079/0.6038, allocations: 3.476 MB / 0.4957 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01104/0.6149, allocations: 2.252 MB / 0.4979 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00467/0.6196, allocations: 1.24 MB / 0.4991 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01109/0.6307, allocations: 7.243 MB / 0.5062 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004788/0.6356, allocations: 379.2 kB / 0.5066 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001059/0.6367, allocations: 340 kB / 0.5069 GB, free: 15.2 MB / 430.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 (672): * Single equations (assignments): 663 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004531/0.6412, allocations: 1.861 MB / 0.5087 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000777/0.642, allocations: 304.1 kB / 0.509 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006087/0.6481, allocations: 2.764 MB / 0.5117 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004684/0.6528, allocations: 2.352 MB / 0.514 GB, free: 7.867 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/0.6528, allocations: 13.97 kB / 0.514 GB, free: 7.855 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.6529, allocations: 3.984 kB / 0.514 GB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01567/0.6685, allocations: 7.855 MB / 0.5217 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.6686, allocations: 0 / 0.5217 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/0.6698, allocations: 227.6 kB / 0.5219 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003118/0.6729, allocations: 1.053 MB / 0.5229 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001908/0.6731, allocations: 35.97 kB / 0.523 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005729/0.6788, allocations: 5.059 MB / 0.5279 GB, free: 9.266 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00103/0.6799, allocations: 1.486 MB / 0.5294 GB, free: 7.637 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008256/0.6882, allocations: 5.088 MB / 0.5343 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/0.6894, allocations: 377 kB / 0.5347 GB, free: 2.078 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004262/0.6899, allocations: 31.98 kB / 0.5347 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/0.6913, allocations: 135.7 kB / 0.5349 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/0.6916, allocations: 91.31 kB / 0.5349 GB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/0.6917, allocations: 39.98 kB / 0.535 GB, free: 1.785 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.1875/0.8792, allocations: 2.284 MB / 0.5372 GB, free: 159.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.874e-06/0.8793, allocations: 0 / 0.5372 GB, free: 159.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.009256/0.8885, allocations: 0.9879 MB / 0.5382 GB, free: 159.1 MB / 446.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 (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000691/0.8893, allocations: 195.4 kB / 0.5384 GB, free: 159 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01113/0.9004, allocations: 5.22 MB / 0.5435 GB, free: 158.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.974e-06/0.9004, allocations: 0 / 0.5435 GB, free: 158.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003915/0.9044, allocations: 2.008 MB / 0.5454 GB, free: 157.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/0.9069, allocations: 366.3 kB / 0.5458 GB, free: 157.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01409/0.921, allocations: 9.95 MB / 0.5555 GB, free: 152.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002557/0.9236, allocations: 2.982 MB / 0.5584 GB, free: 151.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003851/0.9275, allocations: 1.709 MB / 0.5601 GB, free: 150.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005667/0.928, allocations: 216.8 kB / 0.5603 GB, free: 150.9 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.9281, allocations: 0 / 0.5603 GB, free: 150.9 MB / 446.1 MB Notification: Performance of Templates: time 0.0531/0.9812, allocations: 34.53 MB / 0.594 GB, free: 122.5 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) Environment - environmentSimulation: