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.SpringWithMass.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.001749/0.001749, allocations: 112.2 kB / 21.18 MB, free: 0.6289 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.002194/0.002194, allocations: 207 kB / 24.48 MB, free: 4.035 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.448/1.448, allocations: 230.4 MB / 258.1 MB, free: 8.168 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.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|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.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|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.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [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.001949/0.001949, allocations: 71.81 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2282, allocations: 53.31 MB / 432.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.009066/0.2372, allocations: 7.471 MB / 439.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005913/0.2431, allocations: 3.293 MB / 442.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005307/0.2437, allocations: 39.88 kB / 442.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002094/0.2458, allocations: 1.043 MB / 443.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002595/0.2484, allocations: 1.358 MB / 445.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008591/0.2492, allocations: 463.1 kB / 445.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003091/0.2523, allocations: 2.668 MB / 448.4 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.2537, allocations: 1.178 MB / 449.6 MB, free: 5.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009139/0.2546, allocations: 0.8407 MB / 450.4 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00164/0.2562, allocations: 1.332 MB / 451.7 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002876/0.2565, allocations: 168 kB / 451.9 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001688/0.2582, allocations: 1.053 MB / 453 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.2593, allocations: 1.122 MB / 454.1 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001184/0.2604, allocations: 1.285 MB / 455.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004673/0.2651, allocations: 4.342 MB / 459.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2651, allocations: 0 / 459.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2651, allocations: 0 / 459.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.253e-05/0.2652, allocations: 0 / 459.7 MB, free: 11.62 MB / 366.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.005838/0.271, allocations: 3.105 MB / 462.8 MB, free: 8.453 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.2711, allocations: 12.03 kB / 462.8 MB, free: 8.441 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007137/0.2782, allocations: 1.797 MB / 464.6 MB, free: 6.641 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003058/0.2813, allocations: 1.379 MB / 466 MB, free: 5.219 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.2814, allocations: 139.3 kB / 466.1 MB, free: 5.082 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006719/0.2821, allocations: 259.7 kB / 466.4 MB, free: 4.828 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01153/0.2936, allocations: 6.668 MB / 473 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.886e-05/0.2937, allocations: 31.75 kB / 473.1 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002715/0.2939, allocations: 87.89 kB / 473.2 MB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002332/0.2963, allocations: 1.363 MB / 474.5 MB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01187/0.3081, allocations: 6.045 MB / 480.6 MB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03268/0.3408, allocations: 25.58 MB / 0.4943 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007543/0.3484, allocations: 2.607 MB / 0.4968 GB, free: 9.078 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/0.3498, allocations: 0.9928 MB / 0.4978 GB, free: 8.074 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006625/0.3564, allocations: 3.976 MB / 0.5017 GB, free: 3.824 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/0.3565, allocations: 55.12 kB / 0.5017 GB, free: 3.762 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 3.306e-06/0.3565, allocations: 0 / 0.5017 GB, free: 3.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=119): time 0.02743/0.3839, allocations: 9.944 MB / 0.5115 GB, free: 9.668 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.853e-05/0.384, allocations: 149.1 kB / 0.5116 GB, free: 9.492 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003724/0.3877, allocations: 2.722 MB / 0.5143 GB, free: 6.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001453/0.3879, allocations: 41.7 kB / 0.5143 GB, free: 6.703 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001641/0.3895, allocations: 2.167 MB / 0.5164 GB, free: 4.516 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004998/0.39, allocations: 0.5001 MB / 0.5169 GB, free: 4.012 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001188/0.3912, allocations: 0.917 MB / 0.5178 GB, free: 3.082 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3913, allocations: 301.1 kB / 0.5181 GB, free: 2.785 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002522/0.3938, allocations: 1.562 MB / 0.5196 GB, free: 1.215 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0048/0.3986, allocations: 4.354 MB / 0.5239 GB, free: 11.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007949/0.4066, allocations: 6.393 MB / 0.5301 GB, free: 3.672 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.527e-05/0.4066, allocations: 28 kB / 0.5301 GB, free: 3.645 MB / 446.1 MB Notification: Performance of matching and sorting (n=586) (initialization): time 0.02071/0.4274, allocations: 7.86 MB / 0.5378 GB, free: 11.77 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.187e-05/0.4274, allocations: 48 kB / 0.5379 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01223/0.4397, allocations: 3.337 MB / 0.5411 GB, free: 8.367 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.013/0.4527, allocations: 2.674 MB / 0.5437 GB, free: 5.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003244/0.4559, allocations: 0.9942 MB / 0.5447 GB, free: 4.684 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2092/0.6651, allocations: 9.723 MB / 0.5542 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004738/0.6698, allocations: 277.2 kB / 0.5545 GB, free: 108.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007752/0.6706, allocations: 271.2 kB / 0.5547 GB, free: 108.8 MB / 462.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 (542): * Single equations (assignments): 536 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 1 system {(4,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 {(5,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002821/0.6734, allocations: 1.419 MB / 0.5561 GB, free: 108.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005949/0.674, allocations: 244 kB / 0.5563 GB, free: 108.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007913/0.6748, allocations: 329.4 kB / 0.5566 GB, free: 108 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/0.6748, allocations: 4.891 kB / 0.5566 GB, free: 108 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.6748, allocations: 1.375 kB / 0.5566 GB, free: 108 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004386/0.6753, allocations: 289.6 kB / 0.5569 GB, free: 107.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003494/0.6756, allocations: 32.12 kB / 0.557 GB, free: 107.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.6767, allocations: 91.27 kB / 0.557 GB, free: 107.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001845/0.6769, allocations: 82.75 kB / 0.5571 GB, free: 107.9 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005186/0.6821, allocations: 2.881 MB / 0.5599 GB, free: 107 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003122/0.6852, allocations: 3.3 MB / 0.5632 GB, free: 105.7 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008345/0.686, allocations: 0.8062 MB / 0.5639 GB, free: 105.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001877/0.6879, allocations: 1.689 MB / 0.5656 GB, free: 104.9 MB / 462.1 MB Notification: Performance of Backend: time 3.1e-07/0.6879, allocations: 0 / 0.5656 GB, free: 104.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006314/0.6942, allocations: 3.531 MB / 0.569 GB, free: 103.6 MB / 462.1 MB Notification: Performance of SimCode: time 0.006698/0.7009, allocations: 6.733 MB / 0.5756 GB, free: 98.54 MB / 462.1 MB Notification: Performance of Templates: time 0.04664/0.7475, allocations: 36.48 MB / 0.6112 GB, free: 63.4 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.801915871910751] Failed to read output from testmodel.py, exit status != 0: ['time', '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]'] 0.7551390929147601 0.763437444 0.49614357800000003 Calling exit ...