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.0007851/0.0007851, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009846/0.00177, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007043/0.0007043, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00103/0.001734, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.8833/0.8833, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1547/1.038, allocations: 49.49 MB / 220.6 MB, free: 1.441 MB / 218.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.413e-06/1.413e-06, allocations: 0 / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.309e-05, allocations: 6.109 kB / 221.8 MB, free: 164 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01134/0.01137, allocations: 9.977 MB / 231.8 MB, free: 6.133 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006387/0.01775, allocations: 3.882 MB / 235.7 MB, free: 2.238 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/0.01882, allocations: 75.56 kB / 235.8 MB, free: 2.164 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002316/0.02114, allocations: 2.355 MB / 238.1 MB, free: 15.8 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002355/0.02349, allocations: 1.757 MB / 239.9 MB, free: 14.04 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007821/0.02427, allocations: 0.6314 MB / 240.5 MB, free: 13.4 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002628/0.0269, allocations: 3.716 MB / 244.2 MB, free: 9.676 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002014/0.02891, allocations: 2.572 MB / 246.8 MB, free: 7.043 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001635/0.03055, allocations: 2.193 MB / 249 MB, free: 4.84 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/0.0323, allocations: 1.898 MB / 250.9 MB, free: 2.938 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002694/0.03257, allocations: 296 kB / 251.2 MB, free: 2.648 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.03394, allocations: 1.131 MB / 252.3 MB, free: 1.516 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.03497, allocations: 1.648 MB / 254 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008007/0.03577, allocations: 0.9465 MB / 254.9 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002966/0.03873, allocations: 3.802 MB / 258.7 MB, free: 11.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.706e-05/0.03875, allocations: 0 / 258.7 MB, free: 11.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.03875, allocations: 0 / 258.7 MB, free: 11.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.726e-05/0.03881, allocations: 3.938 kB / 258.7 MB, free: 11.09 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.004207/0.04302, allocations: 4.791 MB / 263.5 MB, free: 6.234 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.04305, allocations: 8.031 kB / 263.5 MB, free: 6.227 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002231/0.04528, allocations: 0.9918 MB / 264.5 MB, free: 5.234 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001878/0.04716, allocations: 1.574 MB / 266.1 MB, free: 3.613 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.887e-05/0.04726, allocations: 217.6 kB / 266.3 MB, free: 3.398 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004699/0.04773, allocations: 363.6 kB / 266.7 MB, free: 3.043 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004104/0.05183, allocations: 4.466 MB / 271.1 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.4e-05/0.05189, allocations: 39.64 kB / 271.2 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002152/0.05211, allocations: 139.8 kB / 271.3 MB, free: 13.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001448/0.05356, allocations: 1.481 MB / 272.8 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003194/0.05675, allocations: 2.339 MB / 275.1 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1362/0.193, allocations: 27.49 MB / 302.6 MB, free: 25.59 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003466/0.1965, allocations: 1.618 MB / 304.2 MB, free: 25.38 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000481/0.1969, allocations: 359.7 kB / 304.6 MB, free: 25.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004648/0.2016, allocations: 3.574 MB / 308.1 MB, free: 24.58 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.2016, allocations: 44.84 kB / 308.2 MB, free: 24.54 MB / 282.7 MB Notification: Performance of pre-optimization done (n=132): time 4.418e-06/0.2016, allocations: 0 / 308.2 MB, free: 24.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=139): time 0.008696/0.2103, allocations: 4.008 MB / 312.2 MB, free: 23.84 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005898/0.2109, allocations: 1.473 MB / 313.7 MB, free: 22.36 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002302/0.2132, allocations: 2.828 MB / 316.5 MB, free: 21.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.641e-05/0.2133, allocations: 48.8 kB / 316.5 MB, free: 21.74 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007981/0.2141, allocations: 2.741 MB / 319.3 MB, free: 19.92 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000358/0.2145, allocations: 0.5905 MB / 319.9 MB, free: 19.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007257/0.2152, allocations: 1.034 MB / 320.9 MB, free: 19.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.181e-05/0.2152, allocations: 308.9 kB / 321.2 MB, free: 18.88 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009125/0.2161, allocations: 0.7252 MB / 321.9 MB, free: 18.72 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/0.2177, allocations: 4.047 MB / 326 MB, free: 13.99 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003191/0.2209, allocations: 5.357 MB / 331.3 MB, free: 8.578 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.131e-05/0.221, allocations: 37.31 kB / 331.4 MB, free: 8.543 MB / 282.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.006255/0.2272, allocations: 4.207 MB / 335.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.555e-05/0.2273, allocations: 60 kB / 335.6 MB, free: 4.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002849/0.2301, allocations: 0.9713 MB / 336.6 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002967/0.2331, allocations: 0.5639 MB / 337.2 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002112/0.2352, allocations: 1.345 MB / 338.5 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002937/0.2381, allocations: 3.169 MB / 341.7 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00252/0.2406, allocations: 250.5 kB / 341.9 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003024/0.2409, allocations: 300 kB / 342.2 MB, free: 13.45 MB / 298.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.001055/0.242, allocations: 0.5708 MB / 342.8 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003013/0.2423, allocations: 183.8 kB / 343 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/0.244, allocations: 1.074 MB / 344.1 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001172/0.2451, allocations: 0.682 MB / 344.7 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.2451, allocations: 4 kB / 344.7 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.2451, allocations: 3.984 kB / 344.7 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00575/0.2509, allocations: 3.722 MB / 348.5 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.2509, allocations: 96 / 348.5 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005977/0.2515, allocations: 219.7 kB / 348.7 MB, free: 6.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004871/0.252, allocations: 265.9 kB / 348.9 MB, free: 6.559 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001204/0.2532, allocations: 0.4991 MB / 349.4 MB, free: 6.039 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-05/0.2533, allocations: 35.97 kB / 349.5 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001987/0.2553, allocations: 2.855 MB / 352.3 MB, free: 2.965 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005817/0.2559, allocations: 1.357 MB / 353.7 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002466/0.2583, allocations: 1.86 MB / 355.5 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003703/0.2587, allocations: 31.98 kB / 355.6 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005768/0.2593, allocations: 24 kB / 355.6 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.2594, allocations: 88.41 kB / 355.7 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.289e-05/0.2595, allocations: 31.98 kB / 355.7 MB, free: 15.42 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009875/0.2605, allocations: 1.015 MB / 356.7 MB, free: 14.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2605, allocations: 0 / 356.7 MB, free: 14.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003333/0.2638, allocations: 1.023 MB / 357.8 MB, free: 13.38 MB / 314.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.0003578/0.2642, allocations: 172.1 kB / 357.9 MB, free: 13.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004045/0.2682, allocations: 2.685 MB / 360.6 MB, free: 10.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001668/0.2684, allocations: 102.8 kB / 360.7 MB, free: 10.39 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.2696, allocations: 0.8463 MB / 361.6 MB, free: 9.5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/0.2718, allocations: 0.7596 MB / 362.3 MB, free: 8.758 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/0.2835, allocations: 6.798 MB / 369.1 MB, free: 1.867 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001499/0.285, allocations: 1.076 MB / 370.2 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001504/0.2865, allocations: 437.8 kB / 370.6 MB, free: 352 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009979/0.2875, allocations: 0.4933 MB / 371.1 MB, free: 15.85 MB / 330.7 MB Notification: Performance of SimCode: time 2.033e-06/0.2875, allocations: 3.828 kB / 371.1 MB, free: 15.85 MB / 330.7 MB Notification: Performance of Templates: time 0.04774/0.3353, allocations: 35.48 MB / 406.6 MB, free: 12.33 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 -ignoreHideResult -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: 3.639272563159466]