Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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.002073/0.002073, allocations: 111.1 kB / 20.44 MB, free: 1.059 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.002568/0.002568, allocations: 212 kB / 23.73 MB, free: 4.16 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.511/1.511, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.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_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_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 47.92 kB / 378.2 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2637, allocations: 53.37 MB / 431.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01202/0.2758, allocations: 9.142 MB / 440.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008538/0.2843, allocations: 3.653 MB / 444.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001782/0.2861, allocations: 71.62 kB / 444.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004769/0.2909, allocations: 2.25 MB / 446.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004515/0.2954, allocations: 1.708 MB / 448.4 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.2969, allocations: 0.6161 MB / 449 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004908/0.3018, allocations: 3.49 MB / 452.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002974/0.3048, allocations: 2.425 MB / 454.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/0.3066, allocations: 1.378 MB / 456.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002469/0.3091, allocations: 1.83 MB / 458.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005379/0.3096, allocations: 292 kB / 458.4 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001919/0.3116, allocations: 1.038 MB / 459.5 MB, free: 10.72 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001695/0.3133, allocations: 1.718 MB / 461.2 MB, free: 8.996 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001619/0.3149, allocations: 1.441 MB / 462.6 MB, free: 7.547 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007342/0.3222, allocations: 6.237 MB / 468.9 MB, free: 1.285 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.3222, allocations: 0 / 468.9 MB, free: 1.285 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3222, allocations: 0 / 468.9 MB, free: 1.285 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001391/0.3224, allocations: 0 / 468.9 MB, free: 1.285 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: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.008401/0.3308, allocations: 4.244 MB / 473.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/0.3308, allocations: 8.031 kB / 473.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006915/0.3377, allocations: 1.917 MB / 475 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004838/0.3426, allocations: 1.985 MB / 477 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000188/0.3428, allocations: 209.4 kB / 477.2 MB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009567/0.3437, allocations: 371.7 kB / 477.6 MB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01663/0.3604, allocations: 8.947 MB / 486.5 MB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001062/0.3605, allocations: 43.69 kB / 486.6 MB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003757/0.3608, allocations: 139.9 kB / 486.7 MB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002587/0.3634, allocations: 1.641 MB / 488.4 MB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01565/0.3791, allocations: 7.509 MB / 495.9 MB, free: 5.527 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04419/0.4233, allocations: 32.8 MB / 0.5163 GB, free: 3.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008833/0.4321, allocations: 2.927 MB / 0.5191 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002132/0.4342, allocations: 1.369 MB / 0.5205 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009711/0.4439, allocations: 5.322 MB / 0.5257 GB, free: 10.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.966e-05/0.444, allocations: 55.09 kB / 0.5257 GB, free: 9.969 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 4.629e-06/0.444, allocations: 0 / 0.5257 GB, free: 9.969 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.2284/0.6724, allocations: 11.05 MB / 0.5365 GB, free: 102.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009892/0.6733, allocations: 1.578 MB / 0.538 GB, free: 101.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004208/0.6776, allocations: 3.384 MB / 0.5413 GB, free: 100.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002483/0.6778, allocations: 42.77 kB / 0.5414 GB, free: 100.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001368/0.6792, allocations: 2.932 MB / 0.5443 GB, free: 98.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005113/0.6797, allocations: 0.594 MB / 0.5448 GB, free: 97.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001166/0.6808, allocations: 1.115 MB / 0.5459 GB, free: 97.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.939e-05/0.6809, allocations: 302.2 kB / 0.5462 GB, free: 96.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002194/0.6831, allocations: 1.931 MB / 0.5481 GB, free: 96.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003403/0.6865, allocations: 5.375 MB / 0.5533 GB, free: 90.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006159/0.6926, allocations: 7.843 MB / 0.561 GB, free: 84.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-05/0.6927, allocations: 39.94 kB / 0.561 GB, free: 84.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01733/0.71, allocations: 8.844 MB / 0.5697 GB, free: 75.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.608e-05/0.7101, allocations: 56 kB / 0.5697 GB, free: 75.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009666/0.7198, allocations: 3.514 MB / 0.5732 GB, free: 72.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01003/0.7298, allocations: 2.319 MB / 0.5754 GB, free: 70.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003452/0.7333, allocations: 1.255 MB / 0.5767 GB, free: 68.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007915/0.7412, allocations: 7.1 MB / 0.5836 GB, free: 61.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004089/0.7453, allocations: 383.5 kB / 0.584 GB, free: 61.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004392/0.7457, allocations: 344 kB / 0.5843 GB, free: 60.8 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 (676): * Single equations (assignments): 667 * Array equations: 5 * 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.002095/0.7478, allocations: 1.85 MB / 0.5861 GB, free: 58.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004058/0.7482, allocations: 294.1 kB / 0.5864 GB, free: 58.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005921/0.7488, allocations: 379.4 kB / 0.5867 GB, free: 58.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003909/0.7527, allocations: 2.368 MB / 0.589 GB, free: 55.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.7527, allocations: 4 kB / 0.589 GB, free: 55.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.7527, allocations: 7.969 kB / 0.5891 GB, free: 55.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/0.764, allocations: 6.873 MB / 0.5958 GB, free: 48.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.916e-06/0.764, allocations: 4 kB / 0.5958 GB, free: 48.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.765, allocations: 231.6 kB / 0.596 GB, free: 48.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002693/0.7677, allocations: 1.057 MB / 0.597 GB, free: 47.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/0.7678, allocations: 35.97 kB / 0.5971 GB, free: 47.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004169/0.772, allocations: 4.994 MB / 0.6019 GB, free: 42.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006625/0.7727, allocations: 1.446 MB / 0.6033 GB, free: 40.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006258/0.7789, allocations: 4.974 MB / 0.6082 GB, free: 35.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007812/0.7797, allocations: 265.9 kB / 0.6085 GB, free: 35.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002945/0.78, allocations: 32 kB / 0.6085 GB, free: 35.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/0.7812, allocations: 135.1 kB / 0.6086 GB, free: 35.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002006/0.7814, allocations: 80.48 kB / 0.6087 GB, free: 35.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.39e-05/0.7815, allocations: 52.38 kB / 0.6087 GB, free: 35.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0021/0.7836, allocations: 1.932 MB / 0.6106 GB, free: 33.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7836, allocations: 0 / 0.6106 GB, free: 33.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00364/0.7873, allocations: 0.9452 MB / 0.6116 GB, free: 32.41 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 98 * 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 Backend phase and start with SimCode phase: time 0.000306/0.7876, allocations: 171.2 kB / 0.6117 GB, free: 32.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006907/0.7945, allocations: 4.9 MB / 0.6165 GB, free: 27.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.7945, allocations: 0 / 0.6165 GB, free: 27.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00312/0.7976, allocations: 1.803 MB / 0.6183 GB, free: 25.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/0.7995, allocations: 339 kB / 0.6186 GB, free: 25.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.8097, allocations: 8.577 MB / 0.627 GB, free: 16.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002205/0.8119, allocations: 2.363 MB / 0.6293 GB, free: 14.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002966/0.8149, allocations: 1.662 MB / 0.6309 GB, free: 12.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000455/0.8154, allocations: 199.4 kB / 0.6311 GB, free: 12.29 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.8154, allocations: 4 kB / 0.6311 GB, free: 12.29 MB / 446.1 MB Notification: Performance of Templates: time 0.06083/0.8762, allocations: 33.97 MB / 0.6643 GB, free: 10.77 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 6.5381108447909355]