Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 102.8 kB / 21.19 MB, free: 0.6367 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002226/0.002226, allocations: 221.1 kB / 24.5 MB, free: 3.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 230.6 MB / 258.3 MB, free: 7.793 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 43.92 kB / 379 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2209, allocations: 53.37 MB / 432.4 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01203/0.2329, allocations: 9.37 MB / 441.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00778/0.2407, allocations: 3.767 MB / 445.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.2418, allocations: 75.62 kB / 445.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004835/0.2466, allocations: 2.511 MB / 448.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004344/0.251, allocations: 1.782 MB / 449.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.2525, allocations: 0.6824 MB / 450.5 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005077/0.2575, allocations: 3.72 MB / 454.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003819/0.2614, allocations: 2.729 MB / 457 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00211/0.2635, allocations: 1.487 MB / 458.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002937/0.2664, allocations: 2.118 MB / 460.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006559/0.2671, allocations: 312 kB / 460.9 MB, free: 10 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002038/0.2691, allocations: 1.061 MB / 462 MB, free: 8.938 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001769/0.2709, allocations: 1.858 MB / 463.8 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001745/0.2726, allocations: 1.573 MB / 465.4 MB, free: 5.492 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007559/0.2802, allocations: 6.696 MB / 472.1 MB, free: 14.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2802, allocations: 0 / 472.1 MB, free: 14.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2802, allocations: 0 / 472.1 MB, free: 14.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001919/0.2804, allocations: 0 / 472.1 MB, free: 14.77 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.009409/0.2898, allocations: 4.58 MB / 476.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.2898, allocations: 8.031 kB / 476.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007191/0.297, allocations: 1.96 MB / 478.6 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005061/0.3021, allocations: 1.969 MB / 480.6 MB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002129/0.3023, allocations: 242.2 kB / 480.8 MB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001068/0.3034, allocations: 391.8 kB / 481.2 MB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01958/0.3229, allocations: 10.19 MB / 491.4 MB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001063/0.323, allocations: 39.67 kB / 491.4 MB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004419/0.3235, allocations: 155.9 kB / 491.6 MB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002926/0.3264, allocations: 1.86 MB / 493.5 MB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0183/0.3447, allocations: 8.343 MB / 0.49 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04845/0.3932, allocations: 36.91 MB / 0.5261 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01073/0.4039, allocations: 3.447 MB / 0.5295 GB, free: 6.684 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002146/0.406, allocations: 1.326 MB / 0.5307 GB, free: 5.348 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1894/0.5955, allocations: 5.524 MB / 0.5361 GB, free: 101.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.653e-05/0.5955, allocations: 50.75 kB / 0.5362 GB, free: 101.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 4.028e-06/0.5955, allocations: 0.5312 kB / 0.5362 GB, free: 101.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=153): time 0.02803/0.6235, allocations: 11.91 MB / 0.5478 GB, free: 97.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.6236, allocations: 146.4 kB / 0.548 GB, free: 97.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003455/0.627, allocations: 3.665 MB / 0.5515 GB, free: 96.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001815/0.6272, allocations: 49.17 kB / 0.5516 GB, free: 96.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001142/0.6283, allocations: 3.266 MB / 0.5548 GB, free: 93.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004063/0.6288, allocations: 0.6603 MB / 0.5554 GB, free: 93.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001128/0.6299, allocations: 1.243 MB / 0.5566 GB, free: 91.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.482e-05/0.6299, allocations: 301.1 kB / 0.5569 GB, free: 91.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002248/0.6322, allocations: 1.951 MB / 0.5588 GB, free: 89.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00313/0.6353, allocations: 5.882 MB / 0.5646 GB, free: 82.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006047/0.6413, allocations: 8.48 MB / 0.5729 GB, free: 71.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.314e-05/0.6414, allocations: 40 kB / 0.5729 GB, free: 71.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=805) (initialization): time 0.01835/0.6598, allocations: 9.598 MB / 0.5823 GB, free: 62.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.061e-05/0.6598, allocations: 68.06 kB / 0.5823 GB, free: 62.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01037/0.6702, allocations: 3.626 MB / 0.5859 GB, free: 58.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01134/0.6815, allocations: 2.722 MB / 0.5885 GB, free: 55.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003655/0.6852, allocations: 1.353 MB / 0.5898 GB, free: 54.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01363/0.6988, allocations: 11.05 MB / 0.6006 GB, free: 43.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003988/0.7028, allocations: 349.5 kB / 0.601 GB, free: 42.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005849/0.7034, allocations: 383.7 kB / 0.6013 GB, free: 42.32 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.002241/0.7056, allocations: 2.014 MB / 0.6033 GB, free: 40.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00048/0.7061, allocations: 309.9 kB / 0.6036 GB, free: 39.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006293/0.7067, allocations: 401.5 kB / 0.604 GB, free: 39.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.7068, allocations: 7.969 kB / 0.604 GB, free: 39.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.7068, allocations: 0 / 0.604 GB, free: 39.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004214/0.7072, allocations: 269.8 kB / 0.6042 GB, free: 39.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003116/0.7075, allocations: 39.92 kB / 0.6043 GB, free: 39.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.7086, allocations: 103.7 kB / 0.6044 GB, free: 39.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002588/0.7089, allocations: 120.7 kB / 0.6045 GB, free: 39.05 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005548/0.7144, allocations: 3.354 MB / 0.6078 GB, free: 35.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003823/0.7182, allocations: 3.754 MB / 0.6114 GB, free: 31.94 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009844/0.7192, allocations: 0.8938 MB / 0.6123 GB, free: 31.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00231/0.7215, allocations: 2.058 MB / 0.6143 GB, free: 28.99 MB / 446.1 MB Notification: Performance of Backend: time 4.61e-07/0.7215, allocations: 0 / 0.6143 GB, free: 28.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008085/0.7296, allocations: 4.576 MB / 0.6188 GB, free: 24.42 MB / 446.1 MB Notification: Performance of SimCode: time 0.0112/0.7408, allocations: 9.352 MB / 0.6279 GB, free: 15.02 MB / 446.1 MB Notification: Performance of Templates: time 0.08215/0.823, allocations: 48.74 MB / 0.6755 GB, free: 14.77 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.208150108002883] 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.8314500780033995 0.845924882 0.5625419700000001 Calling exit ...