Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.SpringWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009406/0.0009405, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.000895/0.000895, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.000492/0.0004922, allocations: 16 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2222, allocations: 47.58 MB / 326.5 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.01496/0.2372, allocations: 15.26 MB / 341.7 MB, free: 4.223 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01001/0.2472, allocations: 4.793 MB / 346.5 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002897/0.2502, allocations: 71.81 kB / 346.6 MB, free: 15.35 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001934/0.2521, allocations: 0.7077 MB / 347.3 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007713/0.2598, allocations: 2.416 MB / 349.7 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.2613, allocations: 371.3 kB / 350.1 MB, free: 11.85 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002988/0.2643, allocations: 1.494 MB / 351.6 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002614/0.2669, allocations: 1.858 MB / 353.4 MB, free: 8.449 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008393/0.2678, allocations: 0.6267 MB / 354 MB, free: 7.82 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009999/0.2688, allocations: 0.88 MB / 354.9 MB, free: 6.938 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.269, allocations: 88 kB / 355 MB, free: 6.852 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001483/0.2705, allocations: 0.8347 MB / 355.8 MB, free: 6.016 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008811/0.2714, allocations: 0.9507 MB / 356.8 MB, free: 5.062 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004417/0.2718, allocations: 0.5157 MB / 357.3 MB, free: 4.539 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003111/0.2749, allocations: 3.287 MB / 360.6 MB, free: 1.246 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.275, allocations: 0 / 360.6 MB, free: 1.246 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.275, allocations: 0 / 360.6 MB, free: 1.246 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.4e-05/0.275, allocations: 0 / 360.6 MB, free: 1.246 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.005137/0.2802, allocations: 2.595 MB / 363.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.2802, allocations: 12.03 kB / 363.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007186/0.2874, allocations: 2.087 MB / 365.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003483/0.2909, allocations: 1.604 MB / 366.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.2911, allocations: 135.3 kB / 367 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006741/0.2918, allocations: 263.6 kB / 367.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01066/0.3024, allocations: 6.692 MB / 374 MB, free: 3.293 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.674e-05/0.3025, allocations: 31.78 kB / 374 MB, free: 3.262 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000255/0.3028, allocations: 87.89 kB / 374.1 MB, free: 3.176 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0021/0.3049, allocations: 1.363 MB / 375.5 MB, free: 1.809 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01122/0.3162, allocations: 6.064 MB / 381.5 MB, free: 11.74 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03385/0.3501, allocations: 25.67 MB / 407.2 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00681/0.3569, allocations: 2.686 MB / 409.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00673/0.3637, allocations: 3.92 MB / 413.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.3638, allocations: 43.06 kB / 413.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=112): time 3.767e-06/0.3638, allocations: 7.875 kB / 413.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.0259/0.3897, allocations: 10.64 MB / 424.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0013/0.3911, allocations: 1.588 MB / 426.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004174/0.3952, allocations: 2.847 MB / 428.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000318/0.3956, allocations: 41.7 kB / 429 MB, free: 10.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001366/0.397, allocations: 2.091 MB / 431 MB, free: 8.582 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005529/0.3975, allocations: 0.5054 MB / 431.6 MB, free: 8.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/0.3977, allocations: 87.94 kB / 431.6 MB, free: 7.984 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002764/0.398, allocations: 0.5002 MB / 432.1 MB, free: 7.477 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0024/0.4004, allocations: 1.648 MB / 433.8 MB, free: 5.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004192/0.4046, allocations: 4.436 MB / 438.2 MB, free: 15.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003539/0.4082, allocations: 2.642 MB / 440.9 MB, free: 13.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.112e-05/0.4082, allocations: 32 kB / 440.9 MB, free: 13.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=591) (initialization): time 0.01922/0.4274, allocations: 7.988 MB / 448.9 MB, free: 5.297 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.726e-05/0.4276, allocations: 48 kB / 448.9 MB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01108/0.4387, allocations: 3.508 MB / 452.4 MB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2059/0.6446, allocations: 2.591 MB / 455 MB, free: 106 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003724/0.6484, allocations: 1.006 MB / 456 MB, free: 106 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01324/0.6616, allocations: 9.318 MB / 465.4 MB, free: 102.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004576/0.6663, allocations: 327.5 kB / 465.7 MB, free: 102.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008566/0.6671, allocations: 281.6 kB / 465.9 MB, free: 102.2 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (543): * Single equations (assignments): 535 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002284/0.6694, allocations: 1.425 MB / 467.4 MB, free: 101.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004005/0.6699, allocations: 237.6 kB / 467.6 MB, free: 101.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005825/0.6757, allocations: 2.842 MB / 470.4 MB, free: 100.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00506/0.6808, allocations: 2.508 MB / 473 MB, free: 100.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.6808, allocations: 7.906 kB / 473 MB, free: 100.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.792e-05/0.6808, allocations: 9.188 kB / 473 MB, free: 100.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0113/0.6921, allocations: 6.878 MB / 479.9 MB, free: 94.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.6922, allocations: 0 / 479.9 MB, free: 94.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007605/0.6929, allocations: 179.7 kB / 480 MB, free: 94.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004229/0.6972, allocations: 1.429 MB / 481.5 MB, free: 93.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001502/0.6974, allocations: 32.86 kB / 481.5 MB, free: 93.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007833/0.7052, allocations: 7.542 MB / 489 MB, free: 85.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006662/0.7059, allocations: 1.467 MB / 490.5 MB, free: 83.94 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007123/0.713, allocations: 4.956 MB / 495.5 MB, free: 79.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007159/0.7138, allocations: 301.5 kB / 495.7 MB, free: 78.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002536/0.714, allocations: 25.67 kB / 495.8 MB, free: 78.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.7151, allocations: 120 kB / 495.9 MB, free: 78.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002306/0.7154, allocations: 81.38 kB / 496 MB, free: 78.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.491e-05/0.7155, allocations: 41.16 kB / 496 MB, free: 78.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002149/0.7176, allocations: 1.783 MB / 497.8 MB, free: 76.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7176, allocations: 0 / 497.8 MB, free: 76.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003452/0.7211, allocations: 0.8076 MB / 498.6 MB, free: 75.9 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.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],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 (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004109/0.7215, allocations: 180.4 kB / 498.8 MB, free: 75.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006446/0.728, allocations: 4.392 MB / 0.4914 GB, free: 71.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.728, allocations: 0 / 0.4914 GB, free: 71.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002666/0.7307, allocations: 1.718 MB / 0.4931 GB, free: 69.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/0.7322, allocations: 251.8 kB / 0.4933 GB, free: 69.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008651/0.7409, allocations: 7.674 MB / 0.5008 GB, free: 61.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001624/0.7426, allocations: 2.35 MB / 0.5031 GB, free: 59.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002947/0.7455, allocations: 1.415 MB / 0.5045 GB, free: 57.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006088/0.7462, allocations: 167.4 kB / 0.5046 GB, free: 57.66 MB / 382.1 MB Notification: Performance of SimCode: time 1.202e-06/0.7462, allocations: 4 kB / 0.5046 GB, free: 57.66 MB / 382.1 MB Notification: Performance of Templates: time 0.04296/0.7891, allocations: 29.34 MB / 0.5333 GB, free: 28.32 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) Environment - environmentSimulation: