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.001412/0.001412, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001015/0.001015, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.8747/0.8747, allocations: 177 MB / 205.2 MB, free: 5.035 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.643e-06/1.643e-06, allocations: 0 / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165e-05/1.33e-05, allocations: 2.312 kB / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.007864/0.007877, allocations: 11.3 MB / 284.7 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005387/0.01326, allocations: 4.26 MB / 289 MB, free: 1.414 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006102/0.01387, allocations: 83.56 kB / 289 MB, free: 1.332 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.101/0.1149, allocations: 2.934 MB / 292 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003641/0.1185, allocations: 2.069 MB / 294 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.1197, allocations: 0.8981 MB / 294.9 MB, free: 14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003876/0.1236, allocations: 5.394 MB / 300.3 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00237/0.126, allocations: 3.618 MB / 304 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002039/0.128, allocations: 2.653 MB / 306.6 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00168/0.1297, allocations: 2.5 MB / 309.1 MB, free: 9.703 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003519/0.13, allocations: 354.1 kB / 309.4 MB, free: 9.703 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.1311, allocations: 1.218 MB / 310.7 MB, free: 9.266 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008326/0.132, allocations: 2.253 MB / 312.9 MB, free: 7.094 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008339/0.1328, allocations: 1.406 MB / 314.3 MB, free: 5.754 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002504/0.1353, allocations: 5.004 MB / 319.3 MB, free: 1.086 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1353, allocations: 0 / 319.3 MB, free: 1.086 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.1353, allocations: 0 / 319.3 MB, free: 1.086 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.597e-05/0.1354, allocations: 3.094 kB / 319.3 MB, free: 1.086 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.004041/0.1394, allocations: 4.867 MB / 324.2 MB, free: 12.59 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.1394, allocations: 12.03 kB / 324.2 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003043/0.1425, allocations: 1.307 MB / 325.5 MB, free: 11.33 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.1442, allocations: 1.883 MB / 327.4 MB, free: 9.57 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.1444, allocations: 271.1 kB / 327.7 MB, free: 9.348 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005332/0.1449, allocations: 429.1 kB / 328.1 MB, free: 8.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005774/0.1507, allocations: 5.869 MB / 334 MB, free: 2.797 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.948e-05/0.1507, allocations: 51.28 kB / 334 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002691/0.151, allocations: 177.4 kB / 334.2 MB, free: 2.641 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001531/0.1525, allocations: 1.929 MB / 336.1 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004709/0.1573, allocations: 3.165 MB / 339.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02052/0.1778, allocations: 34.85 MB / 374.1 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004387/0.1822, allocations: 2.432 MB / 376.6 MB, free: 7.965 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005105/0.1827, allocations: 478.1 kB / 377 MB, free: 7.488 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004708/0.1874, allocations: 4.302 MB / 381.3 MB, free: 3.148 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.1874, allocations: 51.88 kB / 381.4 MB, free: 3.09 MB / 330.7 MB Notification: Performance of pre-optimization done (n=183): time 3.006e-06/0.1874, allocations: 0 / 381.4 MB, free: 3.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=205): time 0.01438/0.2018, allocations: 7.244 MB / 388.6 MB, free: 11.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006156/0.2024, allocations: 1.496 MB / 390.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002232/0.2046, allocations: 3.301 MB / 393.4 MB, free: 6.867 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.376e-05/0.2047, allocations: 53.7 kB / 393.5 MB, free: 6.809 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001164/0.2059, allocations: 3.348 MB / 396.8 MB, free: 3.426 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004004/0.2063, allocations: 0.8333 MB / 397.7 MB, free: 2.586 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009958/0.2073, allocations: 1.283 MB / 398.9 MB, free: 1.293 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.146e-05/0.2073, allocations: 305.1 kB / 399.2 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.2086, allocations: 0.886 MB / 400.1 MB, free: 104 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002695/0.2113, allocations: 4.88 MB / 405 MB, free: 9.172 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004058/0.2153, allocations: 6.48 MB / 411.5 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.806e-05/0.2154, allocations: 51.94 kB / 411.5 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of matching and sorting (n=895) (initialization): time 0.006792/0.2222, allocations: 5.076 MB / 416.6 MB, free: 11.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.144e-05/0.2222, allocations: 72.03 kB / 416.7 MB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003311/0.2255, allocations: 1.184 MB / 417.9 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003273/0.2288, allocations: 0.5801 MB / 418.4 MB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002346/0.2311, allocations: 1.544 MB / 420 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002736/0.2339, allocations: 3.113 MB / 423.1 MB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/0.2359, allocations: 311.6 kB / 423.4 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003575/0.2363, allocations: 360 kB / 423.8 MB, free: 4.082 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.000993/0.2373, allocations: 0.6846 MB / 424.4 MB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002977/0.2376, allocations: 239.8 kB / 424.7 MB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001896/0.2395, allocations: 1.357 MB / 426 MB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001363/0.2408, allocations: 0.8437 MB / 426.9 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2408, allocations: 4 kB / 426.9 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.2408, allocations: 7.969 kB / 426.9 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006714/0.2475, allocations: 5.967 MB / 432.8 MB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.2476, allocations: 16 kB / 432.9 MB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000707/0.2483, allocations: 328.4 kB / 433.2 MB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001162/0.2494, allocations: 0.5279 MB / 433.7 MB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.569e-05/0.2495, allocations: 59.98 kB / 433.8 MB, free: 9.676 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001679/0.2512, allocations: 2.845 MB / 436.6 MB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005301/0.2517, allocations: 1.362 MB / 438 MB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002516/0.2542, allocations: 2.632 MB / 440.6 MB, free: 2.324 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003011/0.2545, allocations: 357.3 kB / 441 MB, free: 1.973 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002376/0.2548, allocations: 55.98 kB / 441 MB, free: 1.918 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007227/0.2555, allocations: 51.98 kB / 441.1 MB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.2557, allocations: 176.4 kB / 441.2 MB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.102e-05/0.2557, allocations: 63.97 kB / 441.3 MB, free: 1.633 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008836/0.2566, allocations: 1.198 MB / 442.5 MB, free: 460 kB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2566, allocations: 0 / 442.5 MB, free: 460 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.1086/0.3652, allocations: 1.255 MB / 443.8 MB, free: 122.9 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.0003749/0.3656, allocations: 213.1 kB / 444 MB, free: 122.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003908/0.3695, allocations: 3.253 MB / 447.2 MB, free: 122.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001594/0.3696, allocations: 101.5 kB / 447.3 MB, free: 122.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.3709, allocations: 1.008 MB / 448.3 MB, free: 122.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/0.3729, allocations: 0.6745 MB / 449 MB, free: 122.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007857/0.3807, allocations: 8.558 MB / 457.6 MB, free: 118.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009017/0.3816, allocations: 1.334 MB / 458.9 MB, free: 118.1 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001123/0.3828, allocations: 0.5308 MB / 459.4 MB, free: 118 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007862/0.3835, allocations: 0.612 MB / 460 MB, free: 117.9 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3835, allocations: 0 / 460 MB, free: 117.9 MB / 394.7 MB Notification: Performance of Templates: time 0.04324/0.4268, allocations: 39.49 MB / 499.5 MB, free: 88.41 MB / 394.7 MB " [Timeout remaining time 660] 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: 3.595633143093437]