Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001524/0.001524, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.434/1.434, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.00117/0.00117, allocations: 47.94 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2487, allocations: 46.64 MB / 325.3 MB, free: 1.859 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01148/0.2603, allocations: 10.46 MB / 335.8 MB, free: 9.426 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008392/0.2687, allocations: 3.813 MB / 339.6 MB, free: 5.602 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001844/0.2706, allocations: 63.81 kB / 339.7 MB, free: 5.539 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004329/0.275, allocations: 2.309 MB / 342 MB, free: 3.223 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00438/0.2794, allocations: 1.677 MB / 343.6 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.2808, allocations: 0.6199 MB / 344.3 MB, free: 0.918 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004323/0.2852, allocations: 3.455 MB / 347.7 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003204/0.2884, allocations: 3.042 MB / 350.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001865/0.2902, allocations: 1.371 MB / 352.1 MB, free: 8.988 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002374/0.2926, allocations: 1.795 MB / 353.9 MB, free: 7.188 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006562/0.2933, allocations: 292 kB / 354.2 MB, free: 6.902 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002138/0.2955, allocations: 1.131 MB / 355.3 MB, free: 5.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001491/0.297, allocations: 1.679 MB / 357 MB, free: 4.086 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002011/0.299, allocations: 1.961 MB / 359 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005957/0.305, allocations: 6.028 MB / 365 MB, free: 12.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.305, allocations: 4 kB / 365 MB, free: 12.06 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.305, allocations: 0 / 365 MB, free: 12.06 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001172/0.3051, allocations: 0 / 365 MB, free: 12.06 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: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.008734/0.3139, allocations: 4.23 MB / 369.2 MB, free: 7.766 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.3139, allocations: 12.03 kB / 369.3 MB, free: 7.754 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006229/0.3202, allocations: 1.832 MB / 371.1 MB, free: 5.914 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004231/0.3244, allocations: 2.068 MB / 373.2 MB, free: 3.785 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/0.3246, allocations: 209.4 kB / 373.4 MB, free: 3.578 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007308/0.3253, allocations: 367.6 kB / 373.7 MB, free: 3.219 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01275/0.3381, allocations: 8.873 MB / 382.6 MB, free: 9.711 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.62e-05/0.3382, allocations: 39.59 kB / 382.6 MB, free: 9.672 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003332/0.3385, allocations: 139.9 kB / 382.8 MB, free: 9.535 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002328/0.3409, allocations: 1.633 MB / 384.4 MB, free: 7.898 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01383/0.3547, allocations: 7.502 MB / 391.9 MB, free: 396 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04285/0.3976, allocations: 35.18 MB / 427.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008551/0.4062, allocations: 3.452 MB / 430.5 MB, free: 8.562 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001816/0.408, allocations: 1.444 MB / 432 MB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009585/0.4176, allocations: 6.804 MB / 438.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.974e-05/0.4177, allocations: 51.14 kB / 438.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 3.837e-06/0.4178, allocations: 4 kB / 438.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.02611/0.4439, allocations: 11.12 MB / 450 MB, free: 4.633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001304/0.4452, allocations: 1.71 MB / 451.7 MB, free: 2.746 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1922/0.6375, allocations: 3.54 MB / 455.2 MB, free: 111.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004048/0.6379, allocations: 43.3 kB / 455.2 MB, free: 111.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002145/0.6401, allocations: 2.792 MB / 458 MB, free: 109.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001012/0.6411, allocations: 0.57 MB / 458.6 MB, free: 109.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001896/0.643, allocations: 1.107 MB / 459.7 MB, free: 108.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.052e-05/0.6431, allocations: 302.5 kB / 460 MB, free: 108.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002867/0.6459, allocations: 1.92 MB / 461.9 MB, free: 107.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003778/0.6497, allocations: 5.365 MB / 467.3 MB, free: 102.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006312/0.6561, allocations: 7.832 MB / 475.1 MB, free: 95.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.317e-05/0.6561, allocations: 36.41 kB / 475.2 MB, free: 95.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01747/0.6736, allocations: 8.76 MB / 483.9 MB, free: 90.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.489e-05/0.6737, allocations: 60 kB / 484 MB, free: 90.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009342/0.6831, allocations: 3.43 MB / 487.4 MB, free: 87.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009641/0.6928, allocations: 2.238 MB / 489.7 MB, free: 85.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004215/0.697, allocations: 1.252 MB / 490.9 MB, free: 83.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008145/0.7052, allocations: 7.424 MB / 498.3 MB, free: 76.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004796/0.71, allocations: 379.3 kB / 498.7 MB, free: 75.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007009/0.7107, allocations: 340 kB / 499 MB, free: 75.46 MB / 382.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.002359/0.7131, allocations: 1.851 MB / 0.4891 GB, free: 73.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000507/0.7136, allocations: 309.3 kB / 0.4894 GB, free: 73.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00455/0.7182, allocations: 2.767 MB / 0.4921 GB, free: 70.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003708/0.7219, allocations: 2.355 MB / 0.4944 GB, free: 68.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/0.7219, allocations: 4 kB / 0.4944 GB, free: 68.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.7219, allocations: 3.984 kB / 0.4944 GB, free: 68.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/0.7335, allocations: 7.852 MB / 0.5021 GB, free: 60.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.7335, allocations: 4 kB / 0.5021 GB, free: 60.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000981/0.7345, allocations: 228.5 kB / 0.5023 GB, free: 59.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002696/0.7372, allocations: 1.06 MB / 0.5034 GB, free: 58.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/0.7374, allocations: 31.98 kB / 0.5034 GB, free: 58.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004304/0.7417, allocations: 5.279 MB / 0.5086 GB, free: 53.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007001/0.7424, allocations: 1.578 MB / 0.5101 GB, free: 51.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006239/0.7486, allocations: 4.957 MB / 0.5149 GB, free: 46.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009691/0.7496, allocations: 361.2 kB / 0.5153 GB, free: 46.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003316/0.75, allocations: 31.98 kB / 0.5153 GB, free: 46.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.7512, allocations: 123.8 kB / 0.5154 GB, free: 46.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002265/0.7515, allocations: 88.41 kB / 0.5155 GB, free: 45.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.453e-05/0.7516, allocations: 47.8 kB / 0.5156 GB, free: 45.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002497/0.7541, allocations: 2.199 MB / 0.5177 GB, free: 43.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7541, allocations: 0 / 0.5177 GB, free: 43.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004373/0.7585, allocations: 0.9667 MB / 0.5187 GB, free: 42.79 MB / 382.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.0003768/0.7589, allocations: 181.6 kB / 0.5188 GB, free: 42.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008113/0.767, allocations: 5.707 MB / 0.5244 GB, free: 36.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.767, allocations: 0 / 0.5244 GB, free: 36.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003177/0.7702, allocations: 2.009 MB / 0.5264 GB, free: 34.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002784/0.773, allocations: 402.3 kB / 0.5267 GB, free: 34.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/0.7854, allocations: 8.521 MB / 0.5351 GB, free: 25.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002295/0.7877, allocations: 2.902 MB / 0.5379 GB, free: 22.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003462/0.7912, allocations: 1.711 MB / 0.5396 GB, free: 21.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004527/0.7917, allocations: 215.4 kB / 0.5398 GB, free: 20.98 MB / 382.1 MB Notification: Performance of SimCode: time 7.42e-07/0.7917, allocations: 0 / 0.5398 GB, free: 20.98 MB / 382.1 MB Notification: Performance of Templates: time 0.05843/0.8501, allocations: 36.09 MB / 0.575 GB, free: 0.9023 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1)