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.001498/0.001498, allocations: 108.6 kB / 15.73 MB, free: 72 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.001727/0.001727, allocations: 186.8 kB / 16.66 MB, free: 6.602 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.42/1.42, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.001232/0.001232, allocations: 55.34 kB / 326.6 MB, free: 14.55 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1053, allocations: 46.62 MB / 373.2 MB, free: 1.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01147/0.1169, allocations: 10.46 MB / 383.6 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008773/0.1257, allocations: 3.821 MB / 387.4 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002221/0.128, allocations: 59.81 kB / 387.5 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005007/0.133, allocations: 2.324 MB / 389.8 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006237/0.1393, allocations: 1.693 MB / 391.5 MB, free: 15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001921/0.1413, allocations: 0.6044 MB / 392.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006422/0.1477, allocations: 3.455 MB / 395.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005821/0.1536, allocations: 3.036 MB / 398.6 MB, free: 7.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00317/0.1568, allocations: 1.371 MB / 400 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003883/0.1607, allocations: 1.795 MB / 401.8 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001483/0.1622, allocations: 292 kB / 402.1 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00369/0.1659, allocations: 1.131 MB / 403.2 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003005/0.169, allocations: 1.683 MB / 404.9 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004187/0.1732, allocations: 1.958 MB / 406.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01083/0.184, allocations: 6.26 MB / 413.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1841, allocations: 4 kB / 413.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1841, allocations: 0 / 413.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003002/0.1844, allocations: 0 / 413.1 MB, free: 9.301 MB / 350.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.01315/0.1976, allocations: 4.348 MB / 417.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.1976, allocations: 8.031 kB / 417.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007205/0.2048, allocations: 1.862 MB / 419.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005178/0.2101, allocations: 2.112 MB / 421.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.2103, allocations: 213.4 kB / 421.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001374/0.2117, allocations: 371.7 kB / 422 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01919/0.2309, allocations: 8.866 MB / 430.9 MB, free: 6.762 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001203/0.231, allocations: 39.64 kB / 430.9 MB, free: 6.723 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004355/0.2315, allocations: 135.9 kB / 431 MB, free: 6.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002624/0.2341, allocations: 1.649 MB / 432.7 MB, free: 4.941 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01583/0.2499, allocations: 7.49 MB / 440.2 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.314/0.564, allocations: 35.07 MB / 475.3 MB, free: 45.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008889/0.573, allocations: 3.448 MB / 478.7 MB, free: 43.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002181/0.5752, allocations: 1.447 MB / 480.2 MB, free: 43.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00972/0.585, allocations: 6.818 MB / 487 MB, free: 39.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.44e-05/0.5851, allocations: 45.91 kB / 487 MB, free: 39.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 5.681e-06/0.5851, allocations: 3.594 kB / 487 MB, free: 39.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.02626/0.6113, allocations: 11.32 MB / 498.3 MB, free: 32.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001077/0.6125, allocations: 1.706 MB / 0.4883 GB, free: 31.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004/0.6165, allocations: 3.56 MB / 0.4918 GB, free: 27.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003173/0.6168, allocations: 41.7 kB / 0.4918 GB, free: 27.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001621/0.6185, allocations: 2.913 MB / 0.4947 GB, free: 25.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006788/0.6192, allocations: 0.5917 MB / 0.4953 GB, free: 24.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001237/0.6204, allocations: 1.115 MB / 0.4964 GB, free: 23.31 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.452e-05/0.6205, allocations: 309.1 kB / 0.4966 GB, free: 23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002163/0.6226, allocations: 1.92 MB / 0.4985 GB, free: 21.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003286/0.6259, allocations: 5.364 MB / 0.5038 GB, free: 14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006432/0.6324, allocations: 7.835 MB / 0.5114 GB, free: 4.453 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.777e-05/0.6325, allocations: 36 kB / 0.5114 GB, free: 4.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01938/0.6519, allocations: 8.761 MB / 0.52 GB, free: 11.63 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.998e-05/0.652, allocations: 60.03 kB / 0.5201 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01037/0.6624, allocations: 3.443 MB / 0.5234 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01037/0.6728, allocations: 2.23 MB / 0.5256 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004562/0.6774, allocations: 1.252 MB / 0.5268 GB, free: 4.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01054/0.6879, allocations: 7.424 MB / 0.5341 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005105/0.6931, allocations: 390.8 kB / 0.5344 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001013/0.6941, allocations: 332 kB / 0.5348 GB, free: 12.22 MB / 414.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.004351/0.6985, allocations: 1.86 MB / 0.5366 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009117/0.6994, allocations: 317.9 kB / 0.5369 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006161/0.7056, allocations: 2.765 MB / 0.5396 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004693/0.7103, allocations: 2.351 MB / 0.5419 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.521e-05/0.7104, allocations: 4 kB / 0.5419 GB, free: 4.875 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.358e-05/0.7104, allocations: 11.97 kB / 0.5419 GB, free: 4.863 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01786/0.7283, allocations: 7.847 MB / 0.5496 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-05/0.7283, allocations: 7.984 kB / 0.5496 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/0.7295, allocations: 223.3 kB / 0.5498 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00312/0.7326, allocations: 1.064 MB / 0.5508 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/0.7328, allocations: 35.97 kB / 0.5508 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005913/0.7387, allocations: 5.272 MB / 0.556 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00111/0.7398, allocations: 1.56 MB / 0.5575 GB, free: 4.348 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008471/0.7483, allocations: 4.991 MB / 0.5624 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/0.7495, allocations: 378.8 kB / 0.5628 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007419/0.7503, allocations: 39.92 kB / 0.5628 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/0.752, allocations: 119.8 kB / 0.5629 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002614/0.7523, allocations: 80.53 kB / 0.563 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/0.7524, allocations: 43.97 kB / 0.563 GB, free: 14.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003838/0.7562, allocations: 2.199 MB / 0.5652 GB, free: 12.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7563, allocations: 0 / 0.5652 GB, free: 12.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005348/0.7616, allocations: 0.9763 MB / 0.5661 GB, free: 11.48 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 (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.0005952/0.7622, allocations: 166.6 kB / 0.5663 GB, free: 11.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009736/0.772, allocations: 5.242 MB / 0.5714 GB, free: 6.035 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.772, allocations: 4.062 kB / 0.5714 GB, free: 6.031 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004183/0.7762, allocations: 2.012 MB / 0.5734 GB, free: 3.953 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003543/0.7798, allocations: 396.5 kB / 0.5738 GB, free: 3.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01996/0.7998, allocations: 8.559 MB / 0.5821 GB, free: 10.96 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005096/0.8049, allocations: 2.908 MB / 0.5849 GB, free: 8.016 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004772/0.8097, allocations: 1.703 MB / 0.5866 GB, free: 6.309 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007334/0.8105, allocations: 207.4 kB / 0.5868 GB, free: 6.105 MB / 462.1 MB Notification: Performance of SimCode: time 1.002e-06/0.8105, allocations: 0 / 0.5868 GB, free: 6.105 MB / 462.1 MB Notification: Performance of Templates: time 0.06631/0.8768, allocations: 33.18 MB / 0.6192 GB, free: 4.938 MB / 494.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)