Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.001517/0.001517, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.001664/0.001664, allocations: 206.8 kB / 24.49 MB, free: 3.965 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.477/1.477, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.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_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_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 47.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2179, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.00853/0.2264, allocations: 6.578 MB / 438.9 MB, free: 116 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006053/0.2325, allocations: 3.079 MB / 442 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007571/0.2332, allocations: 39.81 kB / 442 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002081/0.2353, allocations: 1.012 MB / 443.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002964/0.2383, allocations: 1.374 MB / 444.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009331/0.2392, allocations: 467.1 kB / 444.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003172/0.2424, allocations: 2.664 MB / 447.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001517/0.2439, allocations: 1.327 MB / 448.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.2449, allocations: 0.8486 MB / 449.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001682/0.2466, allocations: 1.335 MB / 451.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003194/0.2469, allocations: 168 kB / 451.2 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001649/0.2486, allocations: 0.9282 MB / 452.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001042/0.2496, allocations: 1.122 MB / 453.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009696/0.2506, allocations: 0.9314 MB / 454.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004738/0.2553, allocations: 4.353 MB / 458.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2553, allocations: 0 / 458.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2553, allocations: 0 / 458.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.064e-05/0.2554, allocations: 0 / 458.6 MB, free: 12.4 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.005773/0.2612, allocations: 3.029 MB / 461.6 MB, free: 9.328 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.2612, allocations: 8.031 kB / 461.6 MB, free: 9.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007046/0.2683, allocations: 1.805 MB / 463.4 MB, free: 7.512 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003095/0.2714, allocations: 1.329 MB / 464.7 MB, free: 6.152 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.2715, allocations: 131.3 kB / 464.9 MB, free: 6.023 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007244/0.2722, allocations: 263.7 kB / 465.1 MB, free: 5.766 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01085/0.283, allocations: 6.697 MB / 471.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.931e-05/0.2831, allocations: 27.77 kB / 471.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002711/0.2834, allocations: 83.89 kB / 471.9 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002232/0.2856, allocations: 1.37 MB / 473.3 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0113/0.2969, allocations: 6.029 MB / 479.3 MB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03092/0.3278, allocations: 24.05 MB / 0.4916 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007268/0.3351, allocations: 2.149 MB / 0.4937 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001523/0.3366, allocations: 0.9848 MB / 0.4946 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006112/0.3427, allocations: 2.734 MB / 0.4973 GB, free: 8.336 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.254e-05/0.3428, allocations: 47 kB / 0.4973 GB, free: 8.281 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 4.268e-06/0.3428, allocations: 4 kB / 0.4973 GB, free: 8.277 MB / 414.1 MB Notification: Performance of matching and sorting (n=119): time 0.027/0.3698, allocations: 9.632 MB / 0.5068 GB, free: 14.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.063e-05/0.3699, allocations: 137.2 kB / 0.5069 GB, free: 14.4 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003469/0.3734, allocations: 2.613 MB / 0.5094 GB, free: 11.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001754/0.3735, allocations: 41.7 kB / 0.5095 GB, free: 11.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0016/0.3751, allocations: 2.186 MB / 0.5116 GB, free: 9.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005575/0.3757, allocations: 0.5002 MB / 0.5121 GB, free: 8.996 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00123/0.3769, allocations: 0.9054 MB / 0.513 GB, free: 8.078 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.3771, allocations: 345.9 kB / 0.5133 GB, free: 7.734 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002507/0.3796, allocations: 1.562 MB / 0.5148 GB, free: 6.164 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004787/0.3844, allocations: 4.358 MB / 0.5191 GB, free: 408 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007961/0.3923, allocations: 6.391 MB / 0.5253 GB, free: 8.625 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.817e-05/0.3924, allocations: 28 kB / 0.5254 GB, free: 8.598 MB / 446.1 MB Notification: Performance of matching and sorting (n=586) (initialization): time 0.0205/0.4129, allocations: 7.843 MB / 0.533 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.463e-05/0.413, allocations: 48.97 kB / 0.5331 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01227/0.4253, allocations: 3.339 MB / 0.5363 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01306/0.4383, allocations: 2.68 MB / 0.5389 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003476/0.4418, allocations: 0.9942 MB / 0.5399 GB, free: 9.645 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01606/0.4579, allocations: 9.374 MB / 0.5491 GB, free: 60 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1923/0.6502, allocations: 271.1 kB / 0.5493 GB, free: 111.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007237/0.6509, allocations: 275 kB / 0.5496 GB, free: 111.6 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.002037/0.6529, allocations: 1.412 MB / 0.551 GB, free: 111.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003891/0.6533, allocations: 216.9 kB / 0.5512 GB, free: 111.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005169/0.6538, allocations: 305 kB / 0.5515 GB, free: 111.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.6539, allocations: 11.8 kB / 0.5515 GB, free: 111.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/0.6539, allocations: 1.25 kB / 0.5515 GB, free: 111.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000319/0.6542, allocations: 191.6 kB / 0.5517 GB, free: 111.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/0.6544, allocations: 39.44 kB / 0.5517 GB, free: 111.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.6554, allocations: 81.47 kB / 0.5518 GB, free: 111.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002367/0.6557, allocations: 85.38 kB / 0.5519 GB, free: 111.4 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005557/0.6612, allocations: 2.874 MB / 0.5547 GB, free: 110.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003375/0.6646, allocations: 3.281 MB / 0.5579 GB, free: 109.3 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008247/0.6654, allocations: 0.7961 MB / 0.5586 GB, free: 109.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001664/0.6671, allocations: 1.481 MB / 0.5601 GB, free: 108.5 MB / 462.1 MB Notification: Performance of Backend: time 3.01e-07/0.6671, allocations: 4.906 kB / 0.5601 GB, free: 108.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006416/0.6735, allocations: 3.46 MB / 0.5635 GB, free: 107.4 MB / 462.1 MB Notification: Performance of SimCode: time 0.007286/0.6808, allocations: 6.647 MB / 0.57 GB, free: 103.2 MB / 462.1 MB Notification: Performance of Templates: time 0.05024/0.731, allocations: 37.9 MB / 0.607 GB, free: 67.35 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.734995348997472] 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.7388496380008291 0.7487551849999999 0.49109803599999996 Calling exit ...