Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.ThreeSprings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.00122, allocations: 105.1 kB / 17.06 MB, free: 6.098 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.001128/0.001128, allocations: 200.1 kB / 18 MB, free: 5.168 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.445/1.445, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.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.001662/0.001662, allocations: 52.31 kB / 327.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1052, allocations: 46.62 MB / 374.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.2101/0.3153, allocations: 10.75 MB / 385.2 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008741/0.3241, allocations: 3.915 MB / 389.2 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002473/0.3267, allocations: 62.59 kB / 389.2 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00548/0.3322, allocations: 2.589 MB / 391.8 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006024/0.3382, allocations: 1.753 MB / 393.6 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002082/0.3403, allocations: 0.69 MB / 394.2 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007685/0.348, allocations: 3.687 MB / 397.9 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005144/0.3532, allocations: 3.566 MB / 401.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003449/0.3567, allocations: 1.487 MB / 403 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003938/0.3607, allocations: 1.963 MB / 404.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001409/0.3621, allocations: 314.4 kB / 405.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003961/0.3661, allocations: 1.151 MB / 406.4 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00322/0.3694, allocations: 1.817 MB / 408.2 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005201/0.3746, allocations: 2.141 MB / 410.4 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01163/0.3862, allocations: 6.728 MB / 417.1 MB, free: 4.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3863, allocations: 0 / 417.1 MB, free: 4.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3863, allocations: 0 / 417.1 MB, free: 4.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002829/0.3866, allocations: 0 / 417.1 MB, free: 4.82 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.01099/0.3976, allocations: 4.698 MB / 421.8 MB, free: 48 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.3976, allocations: 8.031 kB / 421.8 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007337/0.405, allocations: 1.904 MB / 423.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004434/0.4095, allocations: 2.074 MB / 425.8 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002272/0.4097, allocations: 254.2 kB / 426 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00124/0.411, allocations: 391.7 kB / 426.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01982/0.4308, allocations: 10.06 MB / 436.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001093/0.431, allocations: 47.62 kB / 436.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004423/0.4314, allocations: 155.9 kB / 436.7 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002868/0.4343, allocations: 1.861 MB / 438.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01696/0.4513, allocations: 8.332 MB / 446.9 MB, free: 6.195 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04713/0.4984, allocations: 39.31 MB / 486.2 MB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01063/0.5091, allocations: 3.997 MB / 490.2 MB, free: 9.605 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002193/0.5114, allocations: 1.431 MB / 491.6 MB, free: 8.164 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01149/0.5229, allocations: 7.64 MB / 499.2 MB, free: 44 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.747e-05/0.523, allocations: 55.62 kB / 499.3 MB, free: 15.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=152): time 4.428e-06/0.523, allocations: 0 / 499.3 MB, free: 15.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.03257/0.5556, allocations: 12.61 MB / 0.4999 GB, free: 3.191 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001348/0.5569, allocations: 1.679 MB / 0.5015 GB, free: 1.332 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005284/0.5622, allocations: 3.837 MB / 0.5053 GB, free: 13.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003569/0.5626, allocations: 49.7 kB / 0.5053 GB, free: 13.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002293/0.5649, allocations: 3.242 MB / 0.5085 GB, free: 10.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009532/0.5659, allocations: 0.6747 MB / 0.5092 GB, free: 9.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00167/0.5676, allocations: 1.27 MB / 0.5104 GB, free: 8.219 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.5677, allocations: 301.1 kB / 0.5107 GB, free: 7.922 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003048/0.5708, allocations: 2.03 MB / 0.5127 GB, free: 5.887 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005659/0.5764, allocations: 5.969 MB / 0.5185 GB, free: 13.95 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01087/0.5873, allocations: 8.631 MB / 0.5269 GB, free: 3.355 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000139/0.5875, allocations: 40 kB / 0.527 GB, free: 3.316 MB / 462.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02509/0.6126, allocations: 9.744 MB / 0.5365 GB, free: 9.543 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.6128, allocations: 64 kB / 0.5366 GB, free: 9.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01177/0.6245, allocations: 3.749 MB / 0.5402 GB, free: 5.715 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01245/0.637, allocations: 2.617 MB / 0.5428 GB, free: 3.082 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004728/0.6418, allocations: 1.372 MB / 0.5441 GB, free: 1.707 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2146/0.8564, allocations: 7.701 MB / 0.5516 GB, free: 140.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005409/0.8619, allocations: 398.5 kB / 0.552 GB, free: 140.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001442/0.8634, allocations: 394.1 kB / 0.5524 GB, free: 140.3 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (742): * Single equations (assignments): 732 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 1 system {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.008643/0.872, allocations: 2.02 MB / 0.5544 GB, free: 139.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/0.8731, allocations: 344.1 kB / 0.5547 GB, free: 139.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008873/0.882, allocations: 3.124 MB / 0.5577 GB, free: 138.8 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006814/0.8888, allocations: 2.682 MB / 0.5604 GB, free: 138 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.138e-05/0.8889, allocations: 3.031 kB / 0.5604 GB, free: 138 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.442e-05/0.8889, allocations: 8.75 kB / 0.5604 GB, free: 138 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02181/0.9108, allocations: 8.549 MB / 0.5687 GB, free: 135 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-05/0.9108, allocations: 3.938 kB / 0.5687 GB, free: 135 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/0.9123, allocations: 189.4 kB / 0.5689 GB, free: 135 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007025/0.9193, allocations: 1.433 MB / 0.5703 GB, free: 134.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003425/0.9197, allocations: 42.56 kB / 0.5703 GB, free: 134.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008457/0.9282, allocations: 6.015 MB / 0.5762 GB, free: 130.8 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001172/0.9294, allocations: 1.542 MB / 0.5777 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01269/0.9421, allocations: 5.333 MB / 0.5829 GB, free: 127.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00184/0.9441, allocations: 395.2 kB / 0.5833 GB, free: 127.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001291/0.9454, allocations: 27.31 kB / 0.5833 GB, free: 127.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002989/0.9484, allocations: 130.1 kB / 0.5835 GB, free: 127.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003867/0.9488, allocations: 91.67 kB / 0.5835 GB, free: 127.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001787/0.949, allocations: 51.06 kB / 0.5836 GB, free: 127.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005492/0.9545, allocations: 2.346 MB / 0.5859 GB, free: 126.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.9545, allocations: 0 / 0.5859 GB, free: 126.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.009161/0.9637, allocations: 1.026 MB / 0.5869 GB, free: 126.4 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004589/0.9642, allocations: 178.8 kB / 0.5871 GB, free: 126.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01184/0.9761, allocations: 5.502 MB / 0.5924 GB, free: 122.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.9761, allocations: 0 / 0.5924 GB, free: 122.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005318/0.9814, allocations: 2.046 MB / 0.5944 GB, free: 120.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003126/0.9846, allocations: 387.4 kB / 0.5948 GB, free: 120.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01579/1, allocations: 9.104 MB / 0.6037 GB, free: 111.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00409/1.005, allocations: 3.111 MB / 0.6067 GB, free: 108.1 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004012/1.009, allocations: 1.8 MB / 0.6085 GB, free: 106.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005735/1.009, allocations: 223.4 kB / 0.6087 GB, free: 106.1 MB / 478.1 MB Notification: Performance of SimCode: time 9.72e-07/1.009, allocations: 0 / 0.6087 GB, free: 106.1 MB / 478.1 MB Notification: Performance of Templates: time 0.05671/1.066, allocations: 35.48 MB / 0.6433 GB, free: 70.68 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1)