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.0009263/0.0009263, allocations: 81.91 kB / 21.43 MB, free: 3.07 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.0009609/0.0009609, allocations: 161 kB / 24.82 MB, free: 9.258 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 1.045/1.045, allocations: 177 MB / 205.1 MB, free: 5.441 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.513e-06/1.513e-06, allocations: 0 / 273.3 MB, free: 1.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.715e-05, allocations: 2.312 kB / 273.3 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.0131/0.01313, allocations: 11.3 MB / 284.6 MB, free: 5.824 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009751/0.02288, allocations: 4.094 MB / 288.7 MB, free: 1.715 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002301/0.02518, allocations: 87.56 kB / 288.8 MB, free: 1.629 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1243/0.1495, allocations: 2.894 MB / 291.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004597/0.1541, allocations: 2.073 MB / 293.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.1556, allocations: 0.8913 MB / 294.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005878/0.1615, allocations: 5.398 MB / 300.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004119/0.1656, allocations: 3.527 MB / 303.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003638/0.1693, allocations: 2.65 MB / 306.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002502/0.1718, allocations: 2.623 MB / 308.9 MB, free: 9.984 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007094/0.1725, allocations: 355.8 kB / 309.2 MB, free: 9.984 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.1741, allocations: 1.22 MB / 310.4 MB, free: 9.613 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001094/0.1752, allocations: 2.248 MB / 312.7 MB, free: 7.473 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001275/0.1764, allocations: 1.412 MB / 314.1 MB, free: 6.129 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003701/0.1801, allocations: 4.999 MB / 319.1 MB, free: 1.469 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1801, allocations: 0 / 319.1 MB, free: 1.469 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1801, allocations: 0 / 319.1 MB, free: 1.469 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001787/0.1803, allocations: 4 kB / 319.1 MB, free: 1.465 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.006308/0.1866, allocations: 5.461 MB / 324.6 MB, free: 12.36 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1867, allocations: 16.02 kB / 324.6 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003839/0.1905, allocations: 1.768 MB / 326.3 MB, free: 10.62 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00227/0.1928, allocations: 2.035 MB / 328.4 MB, free: 8.719 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.1929, allocations: 267.6 kB / 328.6 MB, free: 8.496 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005554/0.1935, allocations: 430.7 kB / 329.1 MB, free: 8.125 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007968/0.2014, allocations: 6.604 MB / 335.7 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000102/0.2015, allocations: 45.05 kB / 335.7 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003314/0.2019, allocations: 168 kB / 335.9 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001796/0.2037, allocations: 1.932 MB / 337.8 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006577/0.2102, allocations: 3.224 MB / 341 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03374/0.244, allocations: 48.83 MB / 389.9 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005275/0.2493, allocations: 2.6 MB / 392.5 MB, free: 7.688 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007317/0.25, allocations: 0.5775 MB / 393 MB, free: 7.098 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01056/0.2605, allocations: 4.733 MB / 397.8 MB, free: 2.324 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.316e-05/0.2606, allocations: 58.64 kB / 397.8 MB, free: 2.258 MB / 346.7 MB Notification: Performance of pre-optimization done (n=183): time 5.831e-06/0.2606, allocations: 4 kB / 397.8 MB, free: 2.254 MB / 346.7 MB Notification: Performance of matching and sorting (n=205): time 0.01972/0.2803, allocations: 8.071 MB / 405.9 MB, free: 10.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001051/0.2814, allocations: 2.021 MB / 407.9 MB, free: 7.949 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003546/0.2849, allocations: 3.665 MB / 411.6 MB, free: 4.285 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001966/0.2851, allocations: 61.8 kB / 411.6 MB, free: 4.219 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00176/0.2869, allocations: 3.732 MB / 415.4 MB, free: 464 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007135/0.2876, allocations: 0.8764 MB / 416.3 MB, free: 15.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001252/0.2888, allocations: 1.479 MB / 417.7 MB, free: 14.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.736e-05/0.2889, allocations: 484.5 kB / 418.2 MB, free: 13.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/0.2901, allocations: 0.7082 MB / 418.9 MB, free: 12.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003813/0.2939, allocations: 6.856 MB / 425.8 MB, free: 3.223 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005871/0.2998, allocations: 8.362 MB / 434.1 MB, free: 8.047 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-05/0.2999, allocations: 44 kB / 434.2 MB, free: 8.004 MB / 394.7 MB Notification: Performance of matching and sorting (n=895) (initialization): time 0.009133/0.309, allocations: 5.898 MB / 440.1 MB, free: 2.082 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.43e-05/0.3091, allocations: 68 kB / 440.1 MB, free: 2.016 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003706/0.3128, allocations: 1.357 MB / 441.5 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003367/0.3162, allocations: 0.5996 MB / 442.1 MB, free: 24 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1273/0.4435, allocations: 1.533 MB / 443.6 MB, free: 121.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003447/0.4469, allocations: 4.23 MB / 447.9 MB, free: 117.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00347/0.4504, allocations: 302.3 kB / 448.2 MB, free: 117.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005963/0.451, allocations: 364.9 kB / 448.5 MB, free: 117.7 MB / 394.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.001542/0.4525, allocations: 0.7213 MB / 449.2 MB, free: 117.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005677/0.4531, allocations: 412.6 kB / 449.6 MB, free: 117.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002657/0.4558, allocations: 1.551 MB / 451.2 MB, free: 117.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001925/0.4577, allocations: 1.044 MB / 452.2 MB, free: 117.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.4577, allocations: 3.547 kB / 452.2 MB, free: 117.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-05/0.4577, allocations: 13.25 kB / 452.3 MB, free: 117.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009229/0.4669, allocations: 7.346 MB / 459.6 MB, free: 116 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.467, allocations: 11.88 kB / 459.6 MB, free: 116 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007372/0.4677, allocations: 326.1 kB / 459.9 MB, free: 116 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/0.4687, allocations: 387.2 kB / 460.3 MB, free: 115.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/0.4688, allocations: 62.98 kB / 460.4 MB, free: 115.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/0.4706, allocations: 3.955 MB / 464.3 MB, free: 112.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004682/0.471, allocations: 1.892 MB / 466.2 MB, free: 110.6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003058/0.4741, allocations: 3.142 MB / 469.4 MB, free: 109.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004827/0.4746, allocations: 359.2 kB / 469.7 MB, free: 109 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002257/0.4748, allocations: 57.53 kB / 469.8 MB, free: 109 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007941/0.4756, allocations: 63.77 kB / 469.8 MB, free: 109 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/0.4758, allocations: 180.1 kB / 470 MB, free: 108.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.071e-05/0.4759, allocations: 61.47 kB / 470.1 MB, free: 108.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001235/0.4771, allocations: 1.453 MB / 471.5 MB, free: 108.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4771, allocations: 0 / 471.5 MB, free: 108.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003495/0.4806, allocations: 1.266 MB / 472.8 MB, free: 108.6 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.0003576/0.481, allocations: 234 kB / 473 MB, free: 108.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004095/0.4851, allocations: 3.567 MB / 476.6 MB, free: 107.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.4851, allocations: 7.812 kB / 476.6 MB, free: 107.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00125/0.4863, allocations: 1.192 MB / 477.8 MB, free: 106.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/0.4879, allocations: 478 kB / 478.2 MB, free: 106.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008068/0.4959, allocations: 8.97 MB / 487.2 MB, free: 97.88 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008882/0.4968, allocations: 1.34 MB / 488.6 MB, free: 96.91 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001239/0.4981, allocations: 0.5423 MB / 489.1 MB, free: 96.43 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007836/0.4988, allocations: 0.6504 MB / 489.7 MB, free: 95.78 MB / 394.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4989, allocations: 3.938 kB / 489.7 MB, free: 95.78 MB / 394.7 MB Notification: Performance of Templates: time 0.0482/0.5471, allocations: 39.62 MB / 0.517 GB, free: 56.62 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 -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: 4.021916661877185]