Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001675/0.001675, allocations: 81.86 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001983/0.001983, allocations: 162.6 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 177.1 MB / 204.7 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003214/0.003214, allocations: 61.75 kB / 325.5 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09693/0.1001, allocations: 53.38 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01172/0.1119, allocations: 9.151 MB / 388.1 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007841/0.1197, allocations: 3.661 MB / 391.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.1212, allocations: 71.62 kB / 391.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004793/0.126, allocations: 2.246 MB / 394 MB, free: 280 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004282/0.1303, allocations: 1.708 MB / 395.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.1318, allocations: 0.6122 MB / 396.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005155/0.137, allocations: 3.49 MB / 399.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003379/0.1404, allocations: 2.419 MB / 402.3 MB, free: 7.977 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002163/0.1425, allocations: 1.382 MB / 403.7 MB, free: 6.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002947/0.1455, allocations: 1.83 MB / 405.5 MB, free: 4.754 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006483/0.1461, allocations: 292 kB / 405.8 MB, free: 4.469 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00203/0.1482, allocations: 1.038 MB / 406.8 MB, free: 3.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001804/0.15, allocations: 1.722 MB / 408.5 MB, free: 1.703 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001848/0.1518, allocations: 1.437 MB / 410 MB, free: 264 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007076/0.1589, allocations: 6.245 MB / 416.2 MB, free: 9.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1589, allocations: 0 / 416.2 MB, free: 9.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1589, allocations: 0 / 416.2 MB, free: 9.988 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001226/0.159, allocations: 4 kB / 416.2 MB, free: 9.984 MB / 382.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.00798/0.167, allocations: 4.25 MB / 420.5 MB, free: 5.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.167, allocations: 15.97 kB / 420.5 MB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007109/0.1742, allocations: 1.956 MB / 422.4 MB, free: 3.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004967/0.1791, allocations: 1.985 MB / 424.4 MB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001966/0.1793, allocations: 217.4 kB / 424.6 MB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000952/0.1803, allocations: 371.7 kB / 425 MB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01605/0.1963, allocations: 8.947 MB / 433.9 MB, free: 7.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001036/0.1964, allocations: 39.69 kB / 434 MB, free: 7.461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003768/0.1968, allocations: 135.9 kB / 434.1 MB, free: 7.328 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002702/0.1995, allocations: 1.637 MB / 435.8 MB, free: 5.691 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01811/0.2176, allocations: 7.521 MB / 443.3 MB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2737/0.4913, allocations: 32.88 MB / 476.2 MB, free: 60.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008494/0.4998, allocations: 3.039 MB / 479.2 MB, free: 60.37 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001763/0.5015, allocations: 1.382 MB / 480.6 MB, free: 60.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008081/0.5096, allocations: 5.356 MB / 485.9 MB, free: 59.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.5096, allocations: 52.22 kB / 486 MB, free: 58.97 MB / 430.1 MB Notification: Performance of pre-optimization done (n=132): time 3.917e-06/0.5096, allocations: 0 / 486 MB, free: 58.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=139): time 0.02316/0.5328, allocations: 11.24 MB / 497.2 MB, free: 54.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008742/0.5337, allocations: 1.584 MB / 498.8 MB, free: 53.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003058/0.5367, allocations: 3.383 MB / 0.4904 GB, free: 52.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001931/0.5369, allocations: 42.03 kB / 0.4905 GB, free: 51.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009959/0.5379, allocations: 2.931 MB / 0.4933 GB, free: 49.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003773/0.5383, allocations: 0.5934 MB / 0.4939 GB, free: 49.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009987/0.5393, allocations: 1.118 MB / 0.495 GB, free: 48.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.469e-05/0.5393, allocations: 308.6 kB / 0.4953 GB, free: 48.08 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002016/0.5414, allocations: 1.934 MB / 0.4972 GB, free: 46.24 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002836/0.5442, allocations: 5.368 MB / 0.5024 GB, free: 39.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005658/0.5498, allocations: 7.846 MB / 0.5101 GB, free: 29.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-05/0.5499, allocations: 32 kB / 0.5101 GB, free: 29.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.0166/0.5665, allocations: 8.833 MB / 0.5187 GB, free: 20.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.523e-05/0.5666, allocations: 71.09 kB / 0.5188 GB, free: 20.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009673/0.5762, allocations: 3.51 MB / 0.5222 GB, free: 17.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01004/0.5863, allocations: 2.322 MB / 0.5245 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003449/0.5897, allocations: 1.255 MB / 0.5257 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00788/0.5976, allocations: 7.093 MB / 0.5327 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00385/0.6015, allocations: 383.4 kB / 0.533 GB, free: 6.074 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004932/0.602, allocations: 348 kB / 0.5333 GB, free: 5.734 MB / 430.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.002058/0.604, allocations: 1.854 MB / 0.5352 GB, free: 3.871 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004356/0.6045, allocations: 290.1 kB / 0.5354 GB, free: 3.586 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000642/0.6051, allocations: 375.4 kB / 0.5358 GB, free: 3.211 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003954/0.6091, allocations: 2.371 MB / 0.5381 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.6091, allocations: 4 kB / 0.5381 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.6091, allocations: 11.91 kB / 0.5381 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01343/0.6225, allocations: 6.892 MB / 0.5449 GB, free: 9.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/0.6225, allocations: 0 / 0.5449 GB, free: 9.832 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.6237, allocations: 233.9 kB / 0.5451 GB, free: 9.605 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003255/0.6269, allocations: 1.054 MB / 0.5461 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001875/0.6271, allocations: 39.97 kB / 0.5461 GB, free: 8.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006212/0.6333, allocations: 5.001 MB / 0.551 GB, free: 3.301 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001177/0.6345, allocations: 1.445 MB / 0.5524 GB, free: 1.746 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008476/0.643, allocations: 4.959 MB / 0.5573 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008241/0.6438, allocations: 266.7 kB / 0.5575 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000292/0.6441, allocations: 28 kB / 0.5576 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/0.6454, allocations: 132.5 kB / 0.5577 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002438/0.6457, allocations: 88.23 kB / 0.5578 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.6458, allocations: 43.97 kB / 0.5578 GB, free: 12.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002894/0.6487, allocations: 1.928 MB / 0.5597 GB, free: 10.27 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6487, allocations: 0 / 0.5597 GB, free: 10.27 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00453/0.6532, allocations: 0.957 MB / 0.5606 GB, free: 9.316 MB / 462.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.0004139/0.6536, allocations: 165.2 kB / 0.5608 GB, free: 9.152 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009488/0.6631, allocations: 4.909 MB / 0.5656 GB, free: 4.234 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.6631, allocations: 0 / 0.5656 GB, free: 4.234 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004046/0.6672, allocations: 1.802 MB / 0.5673 GB, free: 2.398 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/0.6694, allocations: 344.9 kB / 0.5677 GB, free: 2.074 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01392/0.6833, allocations: 8.568 MB / 0.576 GB, free: 9.457 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003249/0.6865, allocations: 2.356 MB / 0.5783 GB, free: 7.066 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003781/0.6903, allocations: 1.662 MB / 0.58 GB, free: 5.398 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005496/0.6909, allocations: 204.5 kB / 0.5802 GB, free: 5.199 MB / 478.1 MB Notification: Performance of SimCode: time 9.72e-07/0.6909, allocations: 3.938 kB / 0.5802 GB, free: 5.195 MB / 478.1 MB Notification: Performance of Templates: time 0.06075/0.7516, allocations: 30.17 MB / 0.6096 GB, free: 7.449 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.124602956930175]