Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009917/0.0009917, allocations: 75.75 kB / 21.97 MB, free: 2.598 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.001044/0.001044, allocations: 174.4 kB / 25.33 MB, free: 9.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8931/0.8931, allocations: 158.6 MB / 187.2 MB, free: 2.938 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.[0-9,]+.|body.body.w_a.[0-9,]+.|body.v_0.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_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.[0-9,]+.|body.body.w_a.[0-9,]+.|body.v_0.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 251 MB, free: 7.508 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.015e-05, allocations: 2.312 kB / 251 MB, free: 7.504 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.007649/0.007669, allocations: 10.2 MB / 261.2 MB, free: 13.26 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005723/0.01339, allocations: 3.751 MB / 265 MB, free: 9.496 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000796/0.01419, allocations: 79.56 kB / 265.1 MB, free: 9.418 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002497/0.01668, allocations: 2.48 MB / 267.6 MB, free: 6.93 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00237/0.01905, allocations: 1.792 MB / 269.3 MB, free: 5.129 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008307/0.01989, allocations: 0.6782 MB / 270 MB, free: 4.449 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003031/0.02292, allocations: 3.831 MB / 273.9 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002247/0.02516, allocations: 2.794 MB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001865/0.02703, allocations: 2.097 MB / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001977/0.02901, allocations: 1.991 MB / 280.7 MB, free: 9.668 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004018/0.02941, allocations: 296 kB / 281 MB, free: 9.379 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001423/0.03083, allocations: 1.104 MB / 282.1 MB, free: 8.273 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001127/0.03196, allocations: 1.835 MB / 284 MB, free: 6.434 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.033, allocations: 1.149 MB / 285.1 MB, free: 5.281 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003888/0.03688, allocations: 4.09 MB / 289.2 MB, free: 1.176 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.03689, allocations: 0 / 289.2 MB, free: 1.176 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.03689, allocations: 0 / 289.2 MB, free: 1.176 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.059e-05/0.03697, allocations: 0 / 289.2 MB, free: 1.176 MB / 266.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.005164/0.04213, allocations: 4.638 MB / 293.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.04218, allocations: 11.98 kB / 293.9 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00381/0.04599, allocations: 2.28 MB / 296.1 MB, free: 10.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002068/0.04806, allocations: 1.859 MB / 298 MB, free: 8.273 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.04817, allocations: 217.6 kB / 298.2 MB, free: 8.059 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004664/0.04864, allocations: 359.7 kB / 298.6 MB, free: 7.707 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005954/0.05459, allocations: 5.543 MB / 304.1 MB, free: 1.301 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.383e-05/0.05465, allocations: 39.64 kB / 304.1 MB, free: 1.262 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002271/0.05488, allocations: 139.8 kB / 304.3 MB, free: 1.125 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00144/0.05632, allocations: 1.641 MB / 305.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005149/0.06147, allocations: 3.078 MB / 309 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02312/0.08459, allocations: 38.74 MB / 347.7 MB, free: 4.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003965/0.08855, allocations: 2.011 MB / 349.7 MB, free: 2.344 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006566/0.08921, allocations: 0.5137 MB / 350.3 MB, free: 1.816 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1359/0.2251, allocations: 4.124 MB / 354.4 MB, free: 95.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.2252, allocations: 55.23 kB / 354.4 MB, free: 95.35 MB / 330.7 MB Notification: Performance of pre-optimization done (n=132): time 3.617e-06/0.2252, allocations: 3.828 kB / 354.4 MB, free: 95.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=139): time 0.01385/0.239, allocations: 8.176 MB / 362.6 MB, free: 93.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007426/0.2398, allocations: 2.03 MB / 364.6 MB, free: 91.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002899/0.2427, allocations: 3.172 MB / 367.8 MB, free: 90.67 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.2428, allocations: 46.55 kB / 367.9 MB, free: 90.64 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001133/0.2439, allocations: 3.051 MB / 370.9 MB, free: 89.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004037/0.2443, allocations: 0.6131 MB / 371.5 MB, free: 88.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008489/0.2452, allocations: 1.187 MB / 372.7 MB, free: 87.53 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.812e-05/0.2452, allocations: 480.8 kB / 373.2 MB, free: 87.06 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00091/0.2461, allocations: 0.6342 MB / 373.8 MB, free: 86.54 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002175/0.2483, allocations: 5.74 MB / 379.6 MB, free: 78.69 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004048/0.2523, allocations: 7.071 MB / 386.6 MB, free: 69.71 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-05/0.2524, allocations: 36 kB / 386.7 MB, free: 69.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.00965/0.262, allocations: 6.182 MB / 392.8 MB, free: 63.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.797e-05/0.2621, allocations: 59.98 kB / 392.9 MB, free: 63.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004409/0.2665, allocations: 2.103 MB / 395 MB, free: 61.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004806/0.2713, allocations: 1.738 MB / 396.7 MB, free: 59.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003136/0.2745, allocations: 1.263 MB / 398 MB, free: 58.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004642/0.2791, allocations: 4.772 MB / 402.8 MB, free: 53.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003578/0.2827, allocations: 426 kB / 403.2 MB, free: 53.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005334/0.2832, allocations: 340 kB / 403.5 MB, free: 52.69 MB / 330.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.001268/0.2845, allocations: 0.6134 MB / 404.1 MB, free: 52.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004756/0.285, allocations: 326 kB / 404.5 MB, free: 51.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002734/0.2877, allocations: 1.51 MB / 406 MB, free: 50.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002273/0.29, allocations: 1.13 MB / 407.1 MB, free: 49.06 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.29, allocations: 4 kB / 407.1 MB, free: 49.06 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.29, allocations: 11.91 kB / 407.1 MB, free: 49.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009096/0.2991, allocations: 5.598 MB / 412.7 MB, free: 43.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.2991, allocations: 4.875 kB / 412.7 MB, free: 43.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003765/0.3029, allocations: 223.6 kB / 412.9 MB, free: 43.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001669/0.3045, allocations: 0.5715 MB / 413.5 MB, free: 42.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.3046, allocations: 34.64 kB / 413.5 MB, free: 42.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005547/0.3102, allocations: 4.228 MB / 417.8 MB, free: 38.05 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005346/0.3107, allocations: 1.903 MB / 419.7 MB, free: 36.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006824/0.3175, allocations: 2.541 MB / 422.2 MB, free: 33.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003637/0.3212, allocations: 297.8 kB / 422.5 MB, free: 33.13 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002568/0.3214, allocations: 27.62 kB / 422.5 MB, free: 33.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009569/0.3224, allocations: 151.7 kB / 422.7 MB, free: 32.96 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/0.3226, allocations: 92.47 kB / 422.8 MB, free: 32.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.653e-05/0.3227, allocations: 42.64 kB / 422.8 MB, free: 32.83 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.004723/0.3274, allocations: 1.352 MB / 424.2 MB, free: 31.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3274, allocations: 4 kB / 424.2 MB, free: 31.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.006891/0.3343, allocations: 1.019 MB / 425.2 MB, free: 30.46 MB / 330.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.00044/0.3347, allocations: 195.8 kB / 425.4 MB, free: 30.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00741/0.3421, allocations: 3.372 MB / 428.7 MB, free: 26.87 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.3421, allocations: 0 / 428.7 MB, free: 26.87 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002009/0.3442, allocations: 1.316 MB / 430.1 MB, free: 25.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/0.3459, allocations: 375.8 kB / 430.4 MB, free: 25.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009856/0.3558, allocations: 6.847 MB / 437.3 MB, free: 18.22 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009945/0.3568, allocations: 1.069 MB / 438.3 MB, free: 17.13 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002631/0.3594, allocations: 1.446 MB / 439.8 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005081/0.3599, allocations: 204.4 kB / 440 MB, free: 15.48 MB / 330.7 MB Notification: Performance of SimCode: time 2.665e-06/0.3599, allocations: 0 / 440 MB, free: 15.48 MB / 330.7 MB Notification: Performance of Templates: time 0.04605/0.406, allocations: 32.26 MB / 472.2 MB, free: 15.27 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.164337203837931]