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.FreeBody.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.00134/0.00134, allocations: 113.9 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.001366/0.001366, allocations: 209.8 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.417/1.417, allocations: 230.4 MB / 258.1 MB, free: 8.164 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.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [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.001964/0.001964, allocations: 67.84 kB / 378.8 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2132, allocations: 53.31 MB / 432.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01243/0.2256, allocations: 10.5 MB / 442.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007554/0.2332, allocations: 3.878 MB / 446.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001515/0.2347, allocations: 63.81 kB / 446.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004747/0.2394, allocations: 2.344 MB / 448.8 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004238/0.2437, allocations: 1.7 MB / 450.5 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.2451, allocations: 0.6122 MB / 451.2 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004853/0.2499, allocations: 3.478 MB / 454.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00283/0.2528, allocations: 2.246 MB / 456.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/0.2546, allocations: 1.359 MB / 458.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002686/0.2573, allocations: 1.943 MB / 460.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006046/0.2579, allocations: 292 kB / 460.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002022/0.2599, allocations: 1.162 MB / 461.6 MB, free: 9.672 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001704/0.2616, allocations: 1.718 MB / 463.3 MB, free: 7.949 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001979/0.2636, allocations: 1.946 MB / 465.3 MB, free: 5.992 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007058/0.2707, allocations: 6.217 MB / 471.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2707, allocations: 4 kB / 471.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2707, allocations: 0 / 471.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001171/0.2708, allocations: 0 / 471.5 MB, free: 15.75 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: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.007895/0.2787, allocations: 4.305 MB / 475.8 MB, free: 11.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.2788, allocations: 12.02 kB / 475.8 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00711/0.2859, allocations: 1.913 MB / 477.7 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004465/0.2903, allocations: 2.045 MB / 479.8 MB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/0.2905, allocations: 213.4 kB / 480 MB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008377/0.2913, allocations: 367.7 kB / 480.4 MB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01501/0.3063, allocations: 8.893 MB / 489.3 MB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001/0.3064, allocations: 43.67 kB / 489.3 MB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003876/0.3068, allocations: 139.8 kB / 489.4 MB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002672/0.3095, allocations: 1.637 MB / 491.1 MB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01469/0.3242, allocations: 7.525 MB / 498.6 MB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04327/0.3675, allocations: 35.08 MB / 0.5212 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009089/0.3766, allocations: 3.378 MB / 0.5245 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001883/0.3784, allocations: 1.377 MB / 0.5258 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01049/0.3889, allocations: 6.904 MB / 0.5325 GB, free: 3.617 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.389, allocations: 47.2 kB / 0.5326 GB, free: 3.562 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 3.346e-06/0.389, allocations: 0 / 0.5326 GB, free: 3.562 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.1974/0.5863, allocations: 10.94 MB / 0.5433 GB, free: 99.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.5864, allocations: 142.8 kB / 0.5434 GB, free: 99.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003505/0.5899, allocations: 3.537 MB / 0.5469 GB, free: 98.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000158/0.59, allocations: 45.48 kB / 0.5469 GB, free: 98.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.5911, allocations: 2.906 MB / 0.5498 GB, free: 96.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003348/0.5914, allocations: 0.5708 MB / 0.5503 GB, free: 95.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009929/0.5924, allocations: 1.107 MB / 0.5514 GB, free: 95.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.3e-05/0.5924, allocations: 306.6 kB / 0.5517 GB, free: 94.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001985/0.5944, allocations: 1.825 MB / 0.5535 GB, free: 94.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00285/0.5973, allocations: 5.268 MB / 0.5586 GB, free: 88.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005534/0.6028, allocations: 7.689 MB / 0.5661 GB, free: 80.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.153e-05/0.6029, allocations: 36 kB / 0.5662 GB, free: 80.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01668/0.6195, allocations: 8.629 MB / 0.5746 GB, free: 72.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.486e-05/0.6196, allocations: 60.06 kB / 0.5746 GB, free: 72.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009131/0.6287, allocations: 3.299 MB / 0.5779 GB, free: 68.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009984/0.6387, allocations: 2.316 MB / 0.5801 GB, free: 66.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003394/0.6421, allocations: 1.244 MB / 0.5813 GB, free: 65.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008019/0.6501, allocations: 7.451 MB / 0.5886 GB, free: 57.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003737/0.6539, allocations: 323.5 kB / 0.5889 GB, free: 57.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006258/0.6545, allocations: 336 kB / 0.5892 GB, free: 56.95 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 36 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (671): * Single equations (assignments): 664 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002344/0.6568, allocations: 1.842 MB / 0.591 GB, free: 55.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005046/0.6573, allocations: 317.8 kB / 0.5913 GB, free: 54.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006927/0.658, allocations: 401.7 kB / 0.5917 GB, free: 54.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.658, allocations: 7.969 kB / 0.5917 GB, free: 54.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.6581, allocations: 6.016 kB / 0.5917 GB, free: 54.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005311/0.6586, allocations: 366.8 kB / 0.5921 GB, free: 53.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003428/0.6589, allocations: 35.98 kB / 0.5921 GB, free: 53.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.6601, allocations: 95.84 kB / 0.5922 GB, free: 53.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.6603, allocations: 76.55 kB / 0.5923 GB, free: 53.79 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004769/0.665, allocations: 3.148 MB / 0.5954 GB, free: 50.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003467/0.6685, allocations: 3.882 MB / 0.5992 GB, free: 46.74 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009112/0.6694, allocations: 0.9453 MB / 0.6001 GB, free: 45.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002442/0.6719, allocations: 2.175 MB / 0.6022 GB, free: 43.63 MB / 446.1 MB Notification: Performance of Backend: time 3.2e-07/0.6719, allocations: 4 kB / 0.6022 GB, free: 43.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007778/0.6796, allocations: 4.198 MB / 0.6063 GB, free: 39.41 MB / 446.1 MB Notification: Performance of SimCode: time 0.01067/0.6903, allocations: 8.459 MB / 0.6146 GB, free: 30.91 MB / 446.1 MB Notification: Performance of Templates: time 0.06725/0.7576, allocations: 43.5 MB / 0.657 GB, free: 3.609 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.984007656108588]