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.001396/0.001396, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001529/0.001529, allocations: 213.3 kB / 24.48 MB, free: 3.941 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.525/1.525, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.001596/0.001596, allocations: 39.94 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3612, allocations: 53.37 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01168/0.3729, allocations: 9.137 MB / 441.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007608/0.3805, allocations: 3.66 MB / 445.1 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.3815, allocations: 71.62 kB / 445.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00441/0.3859, allocations: 2.25 MB / 447.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003895/0.3898, allocations: 1.712 MB / 449.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.3911, allocations: 0.6122 MB / 449.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004443/0.3955, allocations: 3.49 MB / 453.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002948/0.3985, allocations: 2.43 MB / 455.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002001/0.4005, allocations: 1.382 MB / 457.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002589/0.4031, allocations: 1.943 MB / 459 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005629/0.4036, allocations: 292 kB / 459.3 MB, free: 11.6 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001917/0.4055, allocations: 1.045 MB / 460.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001684/0.4072, allocations: 1.726 MB / 462.1 MB, free: 8.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001624/0.4089, allocations: 1.437 MB / 463.5 MB, free: 7.375 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007019/0.4159, allocations: 6.241 MB / 469.8 MB, free: 1.109 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.4159, allocations: 0 / 469.8 MB, free: 1.109 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4159, allocations: 0 / 469.8 MB, free: 1.109 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001155/0.416, allocations: 0 / 469.8 MB, free: 1.109 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.008994/0.425, allocations: 4.242 MB / 474 MB, free: 12.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.425, allocations: 8.031 kB / 474 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006961/0.432, allocations: 1.913 MB / 475.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005223/0.4372, allocations: 1.985 MB / 477.9 MB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/0.4374, allocations: 217.4 kB / 478.1 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001148/0.4386, allocations: 371.7 kB / 478.5 MB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01597/0.4545, allocations: 8.947 MB / 487.4 MB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001021/0.4546, allocations: 39.64 kB / 487.5 MB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000385/0.455, allocations: 139.9 kB / 487.6 MB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002571/0.4576, allocations: 1.637 MB / 489.2 MB, free: 12.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01491/0.4725, allocations: 7.513 MB / 496.8 MB, free: 5.352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04446/0.517, allocations: 32.79 MB / 0.5171 GB, free: 3.566 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009131/0.5261, allocations: 2.935 MB / 0.52 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002371/0.5285, allocations: 1.37 MB / 0.5213 GB, free: 15.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01116/0.5396, allocations: 5.322 MB / 0.5265 GB, free: 9.863 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.284e-05/0.5397, allocations: 55.09 kB / 0.5266 GB, free: 9.801 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 5.06e-06/0.5397, allocations: 0 / 0.5266 GB, free: 9.801 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.3706/0.9103, allocations: 11.05 MB / 0.5374 GB, free: 101.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001156/0.9114, allocations: 1.579 MB / 0.5389 GB, free: 100.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005455/0.9169, allocations: 3.385 MB / 0.5422 GB, free: 99.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005144/0.9174, allocations: 46.36 kB / 0.5423 GB, free: 99.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002187/0.9196, allocations: 2.933 MB / 0.5451 GB, free: 97.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009613/0.9206, allocations: 0.587 MB / 0.5457 GB, free: 97.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001524/0.9221, allocations: 1.118 MB / 0.5468 GB, free: 96.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.821e-05/0.9221, allocations: 301.1 kB / 0.5471 GB, free: 96.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002325/0.9245, allocations: 1.931 MB / 0.549 GB, free: 95.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004994/0.9295, allocations: 5.375 MB / 0.5542 GB, free: 90.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008761/0.9382, allocations: 7.848 MB / 0.5619 GB, free: 83.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001724/0.9384, allocations: 36 kB / 0.5619 GB, free: 83.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01989/0.9583, allocations: 8.835 MB / 0.5705 GB, free: 75.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.736e-05/0.9584, allocations: 58.81 kB / 0.5706 GB, free: 75.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009647/0.968, allocations: 3.514 MB / 0.574 GB, free: 71.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009797/0.9778, allocations: 2.33 MB / 0.5763 GB, free: 69.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003654/0.9815, allocations: 1.253 MB / 0.5775 GB, free: 68.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008084/0.9896, allocations: 7.091 MB / 0.5845 GB, free: 60.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004918/0.9945, allocations: 391 kB / 0.5848 GB, free: 60.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006784/0.9952, allocations: 340 kB / 0.5852 GB, free: 60.09 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.002633/0.9978, allocations: 1.848 MB / 0.587 GB, free: 58.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006547/0.9984, allocations: 290.1 kB / 0.5872 GB, free: 57.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006745/0.9991, allocations: 383.4 kB / 0.5876 GB, free: 57.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004287/1.003, allocations: 2.37 MB / 0.5899 GB, free: 55.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/1.003, allocations: 4 kB / 0.5899 GB, free: 55.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/1.003, allocations: 3.984 kB / 0.5899 GB, free: 55.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0153/1.019, allocations: 6.88 MB / 0.5966 GB, free: 48.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/1.019, allocations: 8 kB / 0.5966 GB, free: 48.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/1.02, allocations: 229.7 kB / 0.5969 GB, free: 48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002816/1.023, allocations: 1.061 MB / 0.5979 GB, free: 46.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001919/1.023, allocations: 31.98 kB / 0.5979 GB, free: 46.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004481/1.027, allocations: 4.995 MB / 0.6028 GB, free: 41.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007395/1.028, allocations: 1.454 MB / 0.6042 GB, free: 40.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006902/1.035, allocations: 4.966 MB / 0.6091 GB, free: 35.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009584/1.036, allocations: 265.9 kB / 0.6093 GB, free: 34.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003434/1.036, allocations: 28 kB / 0.6094 GB, free: 34.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/1.038, allocations: 123.9 kB / 0.6095 GB, free: 34.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002281/1.038, allocations: 96.34 kB / 0.6096 GB, free: 34.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/1.038, allocations: 51.28 kB / 0.6096 GB, free: 34.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002174/1.04, allocations: 1.932 MB / 0.6115 GB, free: 32.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/1.04, allocations: 0 / 0.6115 GB, free: 32.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004015/1.044, allocations: 0.9453 MB / 0.6124 GB, free: 31.69 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.000393/1.044, allocations: 171.4 kB / 0.6126 GB, free: 31.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007163/1.052, allocations: 4.896 MB / 0.6174 GB, free: 26.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/1.052, allocations: 4 kB / 0.6174 GB, free: 26.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003089/1.055, allocations: 1.789 MB / 0.6191 GB, free: 24.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/1.057, allocations: 346.1 kB / 0.6195 GB, free: 24.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/1.068, allocations: 8.583 MB / 0.6278 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002234/1.07, allocations: 2.352 MB / 0.6301 GB, free: 13.44 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003123/1.073, allocations: 1.67 MB / 0.6318 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005101/1.073, allocations: 203.4 kB / 0.632 GB, free: 11.57 MB / 446.1 MB Notification: Performance of SimCode: time 1.402e-06/1.073, allocations: 0 / 0.632 GB, free: 11.57 MB / 446.1 MB Notification: Performance of Templates: time 0.06659/1.14, allocations: 36.29 MB / 0.6674 GB, free: 7.734 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins1/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: 7.040223855001386]