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.001052/0.001052, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001069/0.00107, allocations: 191.6 kB / 16.14 MB, free: 6.707 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.387/1.387, allocations: 205.1 MB / 222 MB, free: 4.766 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.001125/0.001125, allocations: 51.92 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.225, allocations: 46.63 MB / 324.7 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.03519/0.2602, allocations: 38.41 MB / 363.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02387/0.2842, allocations: 8.524 MB / 371.6 MB, free: 5.047 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009745/0.294, allocations: 171.6 kB / 371.8 MB, free: 4.879 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005133/0.2992, allocations: 2.302 MB / 374.1 MB, free: 2.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004336/0.3036, allocations: 1.573 MB / 375.7 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.305, allocations: 0.5539 MB / 376.2 MB, free: 448 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005686/0.3107, allocations: 5 MB / 381.2 MB, free: 11.42 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00328/0.314, allocations: 2.992 MB / 384.2 MB, free: 8.379 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.3156, allocations: 1.222 MB / 385.4 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002165/0.3177, allocations: 1.916 MB / 387.3 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004296/0.3182, allocations: 208 kB / 387.5 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001874/0.3201, allocations: 1.096 MB / 388.6 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001348/0.3214, allocations: 1.621 MB / 390.3 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001589/0.323, allocations: 1.887 MB / 392.1 MB, free: 416 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004994/0.328, allocations: 5.969 MB / 398.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.328, allocations: 0 / 398.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.3281, allocations: 0 / 398.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.369e-05/0.3281, allocations: 0 / 398.1 MB, free: 10.42 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.006486/0.3346, allocations: 4.234 MB / 402.4 MB, free: 6.117 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.3347, allocations: 12.03 kB / 402.4 MB, free: 6.105 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006008/0.3407, allocations: 1.832 MB / 404.2 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003593/0.3443, allocations: 2.076 MB / 406.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/0.3445, allocations: 221.4 kB / 406.5 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008026/0.3453, allocations: 363.7 kB / 406.8 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01455/0.3598, allocations: 8.873 MB / 415.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.743e-05/0.36, allocations: 27.75 kB / 415.7 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003527/0.3603, allocations: 139.9 kB / 415.9 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002363/0.3627, allocations: 1.637 MB / 417.5 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01383/0.3765, allocations: 7.502 MB / 425 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.214/0.5906, allocations: 35.17 MB / 460.2 MB, free: 91.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007813/0.5985, allocations: 3.447 MB / 463.6 MB, free: 90.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/0.6, allocations: 1.445 MB / 465.1 MB, free: 90.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00765/0.6076, allocations: 6.803 MB / 471.9 MB, free: 87.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.6077, allocations: 57.39 kB / 471.9 MB, free: 87.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 3.757e-06/0.6077, allocations: 1.312 kB / 471.9 MB, free: 87.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.02444/0.6322, allocations: 11.12 MB / 483.1 MB, free: 80.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001006/0.6332, allocations: 1.614 MB / 484.7 MB, free: 79.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003836/0.6371, allocations: 3.555 MB / 488.2 MB, free: 75.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002205/0.6373, allocations: 46.81 kB / 488.3 MB, free: 75.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001102/0.6384, allocations: 2.781 MB / 491.1 MB, free: 72.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004368/0.6388, allocations: 0.5744 MB / 491.6 MB, free: 72.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009799/0.6398, allocations: 1.103 MB / 492.7 MB, free: 71.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.071e-05/0.6399, allocations: 309.1 kB / 493 MB, free: 70.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002017/0.6419, allocations: 1.923 MB / 495 MB, free: 68.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003322/0.6452, allocations: 5.359 MB / 0.4886 GB, free: 61.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005993/0.6512, allocations: 7.835 MB / 0.4962 GB, free: 52.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.807e-05/0.6513, allocations: 40 kB / 0.4963 GB, free: 52.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01714/0.6685, allocations: 8.753 MB / 0.5048 GB, free: 43.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.161e-05/0.6686, allocations: 57 kB / 0.5049 GB, free: 43.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008865/0.6774, allocations: 3.442 MB / 0.5082 GB, free: 40.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009367/0.6868, allocations: 2.238 MB / 0.5104 GB, free: 37.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003689/0.6905, allocations: 1.248 MB / 0.5117 GB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007295/0.6978, allocations: 6.82 MB / 0.5183 GB, free: 29.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004288/0.7022, allocations: 379.7 kB / 0.5187 GB, free: 29.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004648/0.7026, allocations: 344 kB / 0.519 GB, free: 28.94 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.002459/0.7051, allocations: 1.848 MB / 0.5208 GB, free: 27.08 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004776/0.7056, allocations: 300.1 kB / 0.5211 GB, free: 26.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00443/0.71, allocations: 2.769 MB / 0.5238 GB, free: 23.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003666/0.7137, allocations: 2.359 MB / 0.5261 GB, free: 21.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.7137, allocations: 4 kB / 0.5261 GB, free: 21.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/0.7138, allocations: 8.438 kB / 0.5261 GB, free: 21.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01144/0.7252, allocations: 7.845 MB / 0.5338 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/0.7253, allocations: 4 kB / 0.5338 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009849/0.7262, allocations: 227.7 kB / 0.534 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002589/0.7288, allocations: 1.053 MB / 0.535 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/0.729, allocations: 39.97 kB / 0.5351 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003997/0.733, allocations: 4.954 MB / 0.5399 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006608/0.7337, allocations: 1.47 MB / 0.5413 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006191/0.7399, allocations: 4.958 MB / 0.5462 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006846/0.7406, allocations: 361.1 kB / 0.5465 GB, free: 136 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003424/0.7409, allocations: 31.98 kB / 0.5466 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.7422, allocations: 135.8 kB / 0.5467 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002633/0.7424, allocations: 92.33 kB / 0.5468 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/0.7426, allocations: 43.81 kB / 0.5468 GB, free: 15.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003235/0.7458, allocations: 2.195 MB / 0.549 GB, free: 13.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.7458, allocations: 4 kB / 0.549 GB, free: 13.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004251/0.7501, allocations: 0.9674 MB / 0.5499 GB, free: 12.69 MB / 398.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.0004465/0.7505, allocations: 176.1 kB / 0.5501 GB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008274/0.7588, allocations: 5.207 MB / 0.5552 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.7588, allocations: 0 / 0.5552 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003609/0.7625, allocations: 2.008 MB / 0.5571 GB, free: 5.184 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002454/0.7649, allocations: 373 kB / 0.5575 GB, free: 4.816 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01685/0.7818, allocations: 10.21 MB / 0.5674 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003431/0.7853, allocations: 2.909 MB / 0.5703 GB, free: 7.621 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.004181/0.7895, allocations: 1.703 MB / 0.5719 GB, free: 5.914 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005962/0.7901, allocations: 211.4 kB / 0.5722 GB, free: 5.707 MB / 414.1 MB Notification: Performance of SimCode: time 1.483e-06/0.7901, allocations: 4 kB / 0.5722 GB, free: 5.703 MB / 414.1 MB Notification: Performance of Templates: time 0.06011/0.8502, allocations: 34.91 MB / 0.6063 GB, free: 2.793 MB / 446.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)