Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.0008525/0.0008525, allocations: 84.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.0009874/0.0009874, allocations: 160.2 kB / 24.91 MB, free: 8.758 MB / 18.57 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 0.9506/0.9506, allocations: 177 MB / 205.2 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] 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.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.|p2.s|p2.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.|p2.s|p2.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 3.938 kB / 273.4 MB, free: 1.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/1.996e-05, allocations: 2.312 kB / 273.4 MB, free: 1.156 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.008665/0.008685, allocations: 11.34 MB / 284.8 MB, free: 5.766 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007236/0.01592, allocations: 4.259 MB / 289 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.01741, allocations: 83.56 kB / 289.1 MB, free: 1.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1161/0.1335, allocations: 2.891 MB / 292 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004682/0.1382, allocations: 2.044 MB / 294.1 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.1397, allocations: 0.8965 MB / 295 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006183/0.1459, allocations: 5.39 MB / 300.3 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004048/0.1499, allocations: 3.403 MB / 303.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003333/0.1532, allocations: 2.598 MB / 306.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002523/0.1558, allocations: 2.501 MB / 308.8 MB, free: 10 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006558/0.1564, allocations: 355 kB / 309.2 MB, free: 10 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/0.1579, allocations: 1.243 MB / 310.4 MB, free: 9.629 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001026/0.159, allocations: 2.255 MB / 312.7 MB, free: 7.488 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001256/0.1602, allocations: 1.41 MB / 314.1 MB, free: 6.145 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003341/0.1636, allocations: 5.002 MB / 319.1 MB, free: 1.484 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1636, allocations: 4 kB / 319.1 MB, free: 1.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1636, allocations: 0 / 319.1 MB, free: 1.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001489/0.1637, allocations: 0 / 319.1 MB, free: 1.48 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: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.004917/0.1686, allocations: 4.875 MB / 324 MB, free: 12.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.1687, allocations: 12.03 kB / 324 MB, free: 12.97 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003196/0.1719, allocations: 1.306 MB / 325.3 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002014/0.1739, allocations: 1.887 MB / 327.2 MB, free: 9.965 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.174, allocations: 268.7 kB / 327.4 MB, free: 9.742 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005114/0.1745, allocations: 427.8 kB / 327.9 MB, free: 9.371 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006619/0.1811, allocations: 5.868 MB / 333.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.308e-05/0.1812, allocations: 51.69 kB / 333.8 MB, free: 3.164 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002792/0.1815, allocations: 178.1 kB / 334 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001732/0.1832, allocations: 1.928 MB / 335.9 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005498/0.1887, allocations: 3.169 MB / 339.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02549/0.2142, allocations: 34.85 MB / 373.9 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004814/0.219, allocations: 2.431 MB / 376.3 MB, free: 8.434 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005839/0.2196, allocations: 485.2 kB / 376.8 MB, free: 7.953 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005711/0.2253, allocations: 4.306 MB / 381.1 MB, free: 3.609 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.2254, allocations: 51.88 kB / 381.2 MB, free: 3.551 MB / 330.7 MB Notification: Performance of pre-optimization done (n=183): time 3.717e-06/0.2254, allocations: 0 / 381.2 MB, free: 3.551 MB / 330.7 MB Notification: Performance of matching and sorting (n=205): time 0.01676/0.2421, allocations: 7.358 MB / 388.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007658/0.2429, allocations: 1.492 MB / 390 MB, free: 10.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002959/0.2459, allocations: 3.309 MB / 393.3 MB, free: 7.211 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001281/0.246, allocations: 53.7 kB / 393.4 MB, free: 7.152 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001516/0.2475, allocations: 3.352 MB / 396.7 MB, free: 3.766 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005825/0.2481, allocations: 0.8333 MB / 397.6 MB, free: 2.926 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0011/0.2492, allocations: 1.279 MB / 398.8 MB, free: 1.637 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.423e-05/0.2493, allocations: 301.1 kB / 399.1 MB, free: 1.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/0.2507, allocations: 0.886 MB / 400 MB, free: 460 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003481/0.2542, allocations: 4.876 MB / 404.9 MB, free: 9.523 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005786/0.2599, allocations: 6.486 MB / 411.4 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-05/0.26, allocations: 47.94 kB / 411.4 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of matching and sorting (n=895) (initialization): time 0.009334/0.2694, allocations: 5.066 MB / 416.5 MB, free: 11.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.158e-05/0.2694, allocations: 71.44 kB / 416.6 MB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003589/0.273, allocations: 1.181 MB / 417.7 MB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003253/0.2763, allocations: 0.5918 MB / 418.3 MB, free: 9.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003835/0.2801, allocations: 1.614 MB / 420 MB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003412/0.2835, allocations: 3.117 MB / 423.1 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003474/0.287, allocations: 311.6 kB / 423.4 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005402/0.2876, allocations: 364 kB / 423.7 MB, free: 4.359 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 666 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (857): * Single equations (assignments): 848 * 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.00177/0.2893, allocations: 0.6728 MB / 424.4 MB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005023/0.2898, allocations: 247.7 kB / 424.6 MB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002115/0.2919, allocations: 1.353 MB / 426 MB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001649/0.2936, allocations: 0.8476 MB / 426.8 MB, free: 1.184 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.2936, allocations: 4 kB / 426.9 MB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.2936, allocations: 11.95 kB / 426.9 MB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00845/0.3021, allocations: 5.963 MB / 432.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/0.3021, allocations: 12 kB / 432.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009374/0.303, allocations: 353.3 kB / 433.2 MB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001288/0.3043, allocations: 0.5357 MB / 433.7 MB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001454/0.3044, allocations: 63.98 kB / 433.8 MB, free: 9.926 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002061/0.3065, allocations: 2.845 MB / 436.6 MB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006439/0.3072, allocations: 1.366 MB / 438 MB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003271/0.3104, allocations: 2.628 MB / 440.6 MB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006588/0.3111, allocations: 353.4 kB / 441 MB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000317/0.3114, allocations: 55.98 kB / 441 MB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008152/0.3122, allocations: 51.98 kB / 441.1 MB, free: 2.121 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002525/0.3125, allocations: 176.3 kB / 441.2 MB, free: 1.949 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.364e-05/0.3126, allocations: 67.97 kB / 441.3 MB, free: 1.883 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00124/0.3138, allocations: 1.198 MB / 442.5 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3138, allocations: 0 / 442.5 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.1334/0.4472, allocations: 1.256 MB / 443.8 MB, free: 123.8 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],p2.s,p2.v) * 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 (180): * Single equations (assignments): 173 * 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.0005871/0.4478, allocations: 210.1 kB / 444 MB, free: 123.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006374/0.4542, allocations: 3.252 MB / 447.2 MB, free: 123.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0003342/0.4545, allocations: 103.8 kB / 447.3 MB, free: 123.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002016/0.4565, allocations: 1.007 MB / 448.3 MB, free: 123.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003348/0.4599, allocations: 0.675 MB / 449 MB, free: 123 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/0.4731, allocations: 8.557 MB / 457.6 MB, free: 119.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001501/0.4746, allocations: 1.329 MB / 458.9 MB, free: 119 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001822/0.4764, allocations: 0.5411 MB / 459.4 MB, free: 118.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/0.4775, allocations: 0.6087 MB / 460 MB, free: 118.9 MB / 394.7 MB Notification: Performance of SimCode: time 1.463e-06/0.4775, allocations: 0 / 460 MB, free: 118.9 MB / 394.7 MB Notification: Performance of Templates: time 0.05578/0.5332, allocations: 39.52 MB / 499.6 MB, free: 89.86 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.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.968899622093886]