Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001715/0.001715, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002079/0.002079, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.481/1.481, allocations: 230.4 MB / 258.1 MB, free: 8.125 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|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.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|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.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 75.81 kB / 378.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.219, allocations: 53.31 MB / 432.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01293/0.2319, allocations: 10.78 MB / 442.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007572/0.2395, allocations: 3.986 MB / 446.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00081/0.2403, allocations: 59.81 kB / 446.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0047/0.245, allocations: 2.628 MB / 449.5 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003398/0.2484, allocations: 1.765 MB / 451.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.2497, allocations: 0.6824 MB / 452 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004234/0.2539, allocations: 3.715 MB / 455.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00285/0.2567, allocations: 2.525 MB / 458.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.2583, allocations: 1.468 MB / 459.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002531/0.2608, allocations: 2.11 MB / 461.8 MB, free: 9.492 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004574/0.2613, allocations: 316 kB / 462.1 MB, free: 9.184 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.2632, allocations: 1.182 MB / 463.3 MB, free: 8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001665/0.2648, allocations: 1.85 MB / 465.1 MB, free: 6.145 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001914/0.2668, allocations: 2.12 MB / 467.2 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006649/0.2734, allocations: 6.668 MB / 473.9 MB, free: 13.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2734, allocations: 0 / 473.9 MB, free: 13.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2734, allocations: 0 / 473.9 MB, free: 13.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.01e-05/0.2735, allocations: 4 kB / 473.9 MB, free: 13.31 MB / 382.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.007589/0.2811, allocations: 4.659 MB / 478.6 MB, free: 8.578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.2811, allocations: 12.03 kB / 478.6 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007304/0.2884, allocations: 1.956 MB / 480.5 MB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004232/0.2926, allocations: 2.002 MB / 482.5 MB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000209/0.2928, allocations: 242.2 kB / 482.8 MB, free: 4.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000851/0.2937, allocations: 395.7 kB / 483.2 MB, free: 3.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01754/0.3112, allocations: 10.12 MB / 493.3 MB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.644e-05/0.3113, allocations: 43.64 kB / 493.3 MB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004069/0.3117, allocations: 155.9 kB / 493.5 MB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003038/0.3148, allocations: 1.853 MB / 495.3 MB, free: 7.047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01713/0.3319, allocations: 8.374 MB / 0.4919 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04885/0.3807, allocations: 39.31 MB / 0.5303 GB, free: 6.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01133/0.3921, allocations: 3.902 MB / 0.5341 GB, free: 2.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002019/0.3941, allocations: 1.338 MB / 0.5354 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1848/0.5789, allocations: 7.72 MB / 0.5429 GB, free: 97.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.579, allocations: 53.75 kB / 0.543 GB, free: 97.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 3.666e-06/0.579, allocations: 2.344 kB / 0.543 GB, free: 97.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=153): time 0.02663/0.6056, allocations: 12.31 MB / 0.555 GB, free: 92.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.6056, allocations: 144.9 kB / 0.5552 GB, free: 92.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003423/0.6091, allocations: 3.817 MB / 0.5589 GB, free: 90.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.803e-05/0.6092, allocations: 45.7 kB / 0.5589 GB, free: 90.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.6102, allocations: 3.24 MB / 0.5621 GB, free: 87.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002984/0.6105, allocations: 0.6497 MB / 0.5627 GB, free: 86.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001034/0.6115, allocations: 1.258 MB / 0.564 GB, free: 85.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.049e-05/0.6115, allocations: 301.1 kB / 0.5642 GB, free: 85.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002133/0.6137, allocations: 1.96 MB / 0.5662 GB, free: 83.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003055/0.6167, allocations: 5.887 MB / 0.5719 GB, free: 75.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005804/0.6225, allocations: 8.482 MB / 0.5802 GB, free: 65.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.483e-05/0.6226, allocations: 44 kB / 0.5802 GB, free: 65.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=805) (initialization): time 0.01833/0.6409, allocations: 9.626 MB / 0.5896 GB, free: 55.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.143e-05/0.641, allocations: 67.94 kB / 0.5897 GB, free: 55.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01077/0.6517, allocations: 3.628 MB / 0.5932 GB, free: 51.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01147/0.6632, allocations: 2.732 MB / 0.5959 GB, free: 48.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003306/0.6665, allocations: 1.353 MB / 0.5972 GB, free: 47.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01358/0.6801, allocations: 11.56 MB / 0.6085 GB, free: 35.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003674/0.6837, allocations: 351.6 kB / 0.6089 GB, free: 35.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003402/0.6841, allocations: 384 kB / 0.6092 GB, free: 34.92 MB / 446.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 (737): * Single equations (assignments): 729 * 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 {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.001998/0.6861, allocations: 2.001 MB / 0.6112 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003539/0.6864, allocations: 345.6 kB / 0.6115 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005791/0.687, allocations: 432.4 kB / 0.6119 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.687, allocations: 7.969 kB / 0.6119 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.687, allocations: 4 kB / 0.6119 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004207/0.6875, allocations: 378.7 kB / 0.6123 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00033/0.6878, allocations: 35.98 kB / 0.6123 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.6889, allocations: 99.86 kB / 0.6124 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000231/0.6892, allocations: 124.7 kB / 0.6125 GB, free: 31.49 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005641/0.6948, allocations: 3.37 MB / 0.6158 GB, free: 28.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003594/0.6984, allocations: 3.79 MB / 0.6195 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009783/0.6994, allocations: 0.8938 MB / 0.6204 GB, free: 23.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002349/0.7017, allocations: 2.341 MB / 0.6227 GB, free: 21.1 MB / 446.1 MB Notification: Performance of Backend: time 2.31e-07/0.7017, allocations: 0 / 0.6227 GB, free: 21.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007712/0.7094, allocations: 4.718 MB / 0.6273 GB, free: 16.33 MB / 446.1 MB Notification: Performance of SimCode: time 0.009822/0.7193, allocations: 9.441 MB / 0.6365 GB, free: 6.84 MB / 446.1 MB Notification: Performance of Templates: time 0.08427/0.8035, allocations: 47.61 MB / 0.683 GB, free: 7.434 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.209026499651372] Failed to read output from testmodel.py, exit status != 0: ['time', '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]'] 0.811384588945657 0.825495214 0.5490117680000001 Calling exit ...