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.001374/0.001374, 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.001642/0.001642, allocations: 195 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.366/1.366, allocations: 205.1 MB / 222 MB, free: 4.777 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.001231/0.001231, allocations: 55.92 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.186, allocations: 46.61 MB / 324.7 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.03243/0.2185, allocations: 38.42 MB / 363.1 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01731/0.2359, allocations: 8.528 MB / 371.6 MB, free: 5.039 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009221/0.2451, allocations: 167.6 kB / 371.8 MB, free: 4.875 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004822/0.2501, allocations: 2.299 MB / 374.1 MB, free: 2.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004291/0.2545, allocations: 1.577 MB / 375.7 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.2558, allocations: 0.5578 MB / 376.2 MB, free: 440 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005371/0.2612, allocations: 4.992 MB / 381.2 MB, free: 11.42 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003313/0.2645, allocations: 2.999 MB / 384.2 MB, free: 8.371 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001724/0.2663, allocations: 1.214 MB / 385.4 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002196/0.2685, allocations: 1.923 MB / 387.4 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004222/0.2689, allocations: 200 kB / 387.5 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001835/0.2708, allocations: 1.1 MB / 388.6 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001411/0.2722, allocations: 1.621 MB / 390.3 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00186/0.2741, allocations: 1.883 MB / 392.2 MB, free: 416 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005824/0.2799, allocations: 5.969 MB / 398.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2799, allocations: 0 / 398.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2799, allocations: 0 / 398.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001254/0.2801, 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.008054/0.2881, allocations: 4.234 MB / 402.4 MB, free: 6.117 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.2882, allocations: 8.031 kB / 402.4 MB, free: 6.109 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006117/0.2943, allocations: 1.828 MB / 404.2 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004681/0.299, allocations: 2.076 MB / 406.3 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001687/0.2992, allocations: 213.4 kB / 406.5 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009929/0.3002, allocations: 371.6 kB / 406.8 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0153/0.3155, allocations: 8.866 MB / 415.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.375e-05/0.3156, allocations: 39.59 kB / 415.7 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003527/0.316, allocations: 135.9 kB / 415.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002229/0.3182, allocations: 1.645 MB / 417.5 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01315/0.3314, allocations: 7.494 MB / 425 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1988/0.5303, allocations: 35.18 MB / 460.2 MB, free: 91.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007781/0.5381, allocations: 3.446 MB / 463.6 MB, free: 90.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001546/0.5397, allocations: 1.45 MB / 465.1 MB, free: 90.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007574/0.5473, allocations: 6.807 MB / 471.9 MB, free: 87.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.5473, allocations: 52.7 kB / 471.9 MB, free: 87.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 4.549e-06/0.5473, allocations: 0 / 471.9 MB, free: 87.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.02315/0.5705, allocations: 11.12 MB / 483.1 MB, free: 80.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001043/0.5716, allocations: 1.612 MB / 484.7 MB, free: 79.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003489/0.5751, allocations: 3.555 MB / 488.2 MB, free: 75.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001673/0.5753, allocations: 47.81 kB / 488.3 MB, free: 75.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001084/0.5764, allocations: 2.778 MB / 491.1 MB, free: 72.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004137/0.5768, allocations: 0.5707 MB / 491.6 MB, free: 72.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001008/0.5778, allocations: 1.103 MB / 492.7 MB, free: 71.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.238e-05/0.5778, allocations: 313 kB / 493 MB, free: 70.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002026/0.5799, allocations: 1.922 MB / 495 MB, free: 68.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003185/0.5831, allocations: 5.36 MB / 0.4886 GB, free: 61.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006125/0.5892, allocations: 7.839 MB / 0.4963 GB, free: 52.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.428e-05/0.5893, allocations: 32 kB / 0.4963 GB, free: 52.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01668/0.606, allocations: 8.757 MB / 0.5048 GB, free: 43.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.723e-05/0.6061, allocations: 59.75 kB / 0.5049 GB, free: 43.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008965/0.6151, allocations: 3.441 MB / 0.5083 GB, free: 40.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009364/0.6245, allocations: 2.237 MB / 0.5104 GB, free: 37.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004008/0.6285, allocations: 1.252 MB / 0.5117 GB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007436/0.636, allocations: 6.811 MB / 0.5183 GB, free: 29.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004669/0.6407, allocations: 383.2 kB / 0.5187 GB, free: 29.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008673/0.6416, allocations: 344 kB / 0.519 GB, free: 28.95 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.002769/0.6444, allocations: 1.85 MB / 0.5208 GB, free: 27.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000566/0.6449, allocations: 304 kB / 0.5211 GB, free: 26.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004632/0.6496, allocations: 2.767 MB / 0.5238 GB, free: 24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003966/0.6536, allocations: 2.359 MB / 0.5261 GB, free: 21.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.6536, allocations: 4 kB / 0.5261 GB, free: 21.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.791e-05/0.6536, allocations: 3.984 kB / 0.5261 GB, free: 21.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01233/0.6659, allocations: 7.853 MB / 0.5338 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/0.666, allocations: 0 / 0.5338 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.667, allocations: 227.8 kB / 0.534 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00277/0.6698, allocations: 1.057 MB / 0.535 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001421/0.6699, allocations: 35.98 kB / 0.5351 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004217/0.6742, allocations: 4.945 MB / 0.5399 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007049/0.6749, allocations: 1.482 MB / 0.5413 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006389/0.6813, allocations: 4.962 MB / 0.5462 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007405/0.6821, allocations: 361.1 kB / 0.5465 GB, free: 132 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000328/0.6824, allocations: 28 kB / 0.5466 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/0.6837, allocations: 123.8 kB / 0.5467 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002657/0.684, allocations: 88.56 kB / 0.5468 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.6841, allocations: 43.92 kB / 0.5468 GB, free: 15.85 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003006/0.6871, allocations: 2.199 MB / 0.549 GB, free: 13.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6871, allocations: 4 kB / 0.549 GB, free: 13.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004464/0.6916, allocations: 0.9738 MB / 0.5499 GB, free: 12.7 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.0004104/0.692, allocations: 161.7 kB / 0.5501 GB, free: 12.53 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008589/0.7006, allocations: 5.214 MB / 0.5552 GB, free: 7.277 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.7006, allocations: 3 kB / 0.5552 GB, free: 7.277 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003611/0.7043, allocations: 2.009 MB / 0.5571 GB, free: 5.195 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002436/0.7067, allocations: 380.8 kB / 0.5575 GB, free: 4.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01402/0.7207, allocations: 10.21 MB / 0.5675 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003122/0.7239, allocations: 2.906 MB / 0.5703 GB, free: 7.633 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0043/0.7282, allocations: 1.707 MB / 0.572 GB, free: 5.922 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006238/0.7289, allocations: 211.4 kB / 0.5722 GB, free: 5.715 MB / 414.1 MB Notification: Performance of SimCode: time 8.41e-07/0.7289, allocations: 0 / 0.5722 GB, free: 5.715 MB / 414.1 MB Notification: Performance of Templates: time 0.06019/0.7891, allocations: 34.91 MB / 0.6062 GB, free: 2.809 MB / 446.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)