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.001181/0.001181, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.005465/0.005465, allocations: 160.7 kB / 24.7 MB, free: 8.898 MB / 18.57 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 0.8556/0.8556, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.392e-06/1.392e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464e-05/1.603e-05, allocations: 2.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.006518/0.006534, allocations: 9.166 MB / 335 MB, free: 6.215 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003765/0.0103, allocations: 3.667 MB / 338.7 MB, free: 2.539 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004457/0.01074, allocations: 75.62 kB / 338.7 MB, free: 2.465 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002314/0.01306, allocations: 2.351 MB / 341.1 MB, free: 104 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.01477, allocations: 1.769 MB / 342.9 MB, free: 14.33 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006125/0.01539, allocations: 0.6704 MB / 343.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002507/0.01789, allocations: 3.875 MB / 347.4 MB, free: 9.77 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00174/0.01963, allocations: 2.687 MB / 350.1 MB, free: 7.035 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001342/0.02098, allocations: 2.07 MB / 352.2 MB, free: 4.961 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/0.02228, allocations: 1.921 MB / 354.1 MB, free: 3.035 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002376/0.02252, allocations: 296 kB / 354.4 MB, free: 2.746 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.0237, allocations: 1.092 MB / 355.5 MB, free: 1.652 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008746/0.02458, allocations: 1.796 MB / 357.3 MB, free: 15.85 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00071/0.02529, allocations: 1.129 MB / 358.4 MB, free: 14.72 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003811/0.0291, allocations: 6.242 MB / 364.6 MB, free: 8.457 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.0291, allocations: 4 kB / 364.6 MB, free: 8.453 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.0291, allocations: 0 / 364.6 MB, free: 8.453 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.32e-05/0.02913, allocations: 0 / 364.6 MB, free: 8.453 MB / 330.7 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.003997/0.03313, allocations: 4.264 MB / 368.9 MB, free: 4.137 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.03317, allocations: 12.03 kB / 368.9 MB, free: 4.125 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003611/0.03678, allocations: 1.944 MB / 370.9 MB, free: 2.176 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/0.03886, allocations: 1.969 MB / 372.8 MB, free: 160 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.03897, allocations: 221.6 kB / 373 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005051/0.03947, allocations: 363.6 kB / 373.4 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007978/0.04745, allocations: 8.963 MB / 382.4 MB, free: 5.973 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.7e-05/0.04751, allocations: 31.69 kB / 382.4 MB, free: 5.941 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002265/0.04773, allocations: 143.8 kB / 382.5 MB, free: 5.801 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00154/0.04927, allocations: 1.637 MB / 384.2 MB, free: 4.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00784/0.05711, allocations: 7.548 MB / 391.7 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02188/0.07899, allocations: 32.99 MB / 424.7 MB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004799/0.08379, allocations: 3.025 MB / 427.7 MB, free: 7.566 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/0.08495, allocations: 1.381 MB / 429.1 MB, free: 6.176 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005491/0.09044, allocations: 5.487 MB / 434.6 MB, free: 0.6523 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.09046, allocations: 47.22 kB / 434.6 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of pre-optimization done (n=132): time 3.376e-06/0.09046, allocations: 0 / 434.6 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of matching and sorting (n=139): time 0.01462/0.1051, allocations: 11.3 MB / 445.9 MB, free: 5.219 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008696/0.106, allocations: 1.58 MB / 447.5 MB, free: 3.496 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00307/0.109, allocations: 3.47 MB / 451 MB, free: 12 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.1581/0.2671, allocations: 42.73 kB / 451 MB, free: 114.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001875/0.269, allocations: 2.888 MB / 453.9 MB, free: 113.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005471/0.2695, allocations: 0.598 MB / 454.5 MB, free: 113.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001323/0.2709, allocations: 1.099 MB / 455.6 MB, free: 112.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.121e-05/0.2709, allocations: 304.7 kB / 455.9 MB, free: 112.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001974/0.2729, allocations: 1.954 MB / 457.9 MB, free: 111.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002538/0.2754, allocations: 5.396 MB / 463.3 MB, free: 106.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004381/0.2798, allocations: 7.858 MB / 471.1 MB, free: 99.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-05/0.2798, allocations: 37.53 kB / 471.2 MB, free: 99.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.009209/0.289, allocations: 8.873 MB / 480 MB, free: 92.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.155e-05/0.2891, allocations: 56 kB / 480.1 MB, free: 92.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004883/0.294, allocations: 3.551 MB / 483.6 MB, free: 89.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004584/0.2985, allocations: 2.324 MB / 486 MB, free: 86.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/0.3002, allocations: 1.255 MB / 487.2 MB, free: 85.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004836/0.305, allocations: 7.099 MB / 494.3 MB, free: 78.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/0.307, allocations: 436.8 kB / 494.7 MB, free: 77.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002172/0.3072, allocations: 332 kB / 495.1 MB, free: 77.48 MB / 410.7 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.001769/0.309, allocations: 1.855 MB / 496.9 MB, free: 75.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002326/0.3092, allocations: 290 kB / 497.2 MB, free: 75.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.3095, allocations: 383.4 kB / 497.6 MB, free: 75.03 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002409/0.3119, allocations: 2.363 MB / 499.9 MB, free: 72.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.312, allocations: 7.938 kB / 500 MB, free: 72.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.312, allocations: 7.969 kB / 500 MB, free: 72.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006786/0.3188, allocations: 6.948 MB / 0.495 GB, free: 65.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.3188, allocations: 4.875 kB / 0.495 GB, free: 65.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005094/0.3193, allocations: 236.5 kB / 0.4953 GB, free: 65.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001429/0.3207, allocations: 1.058 MB / 0.4963 GB, free: 64.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-05/0.3208, allocations: 31.98 kB / 0.4963 GB, free: 64.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002606/0.3234, allocations: 5.009 MB / 0.5012 GB, free: 59.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003671/0.3237, allocations: 1.449 MB / 0.5026 GB, free: 57.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003735/0.3275, allocations: 4.966 MB / 0.5075 GB, free: 52.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/0.3277, allocations: 281.9 kB / 0.5077 GB, free: 52.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/0.3278, allocations: 31.98 kB / 0.5078 GB, free: 52.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006434/0.3285, allocations: 155.7 kB / 0.5079 GB, free: 52.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.3286, allocations: 92.41 kB / 0.508 GB, free: 51.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.622e-05/0.3287, allocations: 39.98 kB / 0.5081 GB, free: 51.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00136/0.33, allocations: 1.998 MB / 0.51 GB, free: 49.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.33, allocations: 0 / 0.51 GB, free: 49.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002326/0.3324, allocations: 1.005 MB / 0.511 GB, free: 48.95 MB / 410.7 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.0002803/0.3326, allocations: 174.8 kB / 0.5112 GB, free: 48.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00413/0.3368, allocations: 4.918 MB / 0.516 GB, free: 43.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3368, allocations: 0 / 0.516 GB, free: 43.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001605/0.3384, allocations: 1.806 MB / 0.5177 GB, free: 42.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.3394, allocations: 349.7 kB / 0.5181 GB, free: 41.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006485/0.3459, allocations: 8.775 MB / 0.5266 GB, free: 32.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001433/0.3474, allocations: 2.355 MB / 0.5289 GB, free: 30.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003775/0.3477, allocations: 240.5 kB / 0.5292 GB, free: 30.25 MB / 410.7 MB Notification: Performance of SimCode: time 1.353e-06/0.3477, allocations: 0 / 0.5292 GB, free: 30.25 MB / 410.7 MB Notification: Performance of Templates: time 0.2094/0.5571, allocations: 119.1 MB / 0.6454 GB, free: 144.3 MB / 474.7 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: 7.9129728730767965]