Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.0009033/0.0009033, allocations: 91.61 kB / 22.18 MB, free: 2.383 MB / 18.57 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.000883/0.000883, allocations: 156.9 kB / 25.45 MB, free: 9.352 MB / 18.57 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.8817/0.8817, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.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.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|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",fileNamePrefix="Modelica_3.2.3_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.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",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 299.7 MB, free: 6.902 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.95e-05, allocations: 2.281 kB / 299.7 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01051/0.01054, allocations: 10.52 MB / 310.2 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007528/0.01807, allocations: 4.017 MB / 314.3 MB, free: 8.305 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002132/0.0202, allocations: 83.56 kB / 314.3 MB, free: 8.223 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004773/0.02497, allocations: 2.826 MB / 317.2 MB, free: 5.387 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006564/0.03154, allocations: 2.091 MB / 319.3 MB, free: 3.285 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002064/0.0336, allocations: 0.881 MB / 320.1 MB, free: 2.402 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007091/0.04069, allocations: 5.286 MB / 325.4 MB, free: 13.1 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005166/0.04586, allocations: 3.444 MB / 328.9 MB, free: 9.605 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004222/0.05008, allocations: 2.631 MB / 331.5 MB, free: 6.969 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003247/0.05333, allocations: 2.619 MB / 334.1 MB, free: 4.344 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008056/0.05413, allocations: 364 kB / 334.5 MB, free: 3.988 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.05587, allocations: 1.236 MB / 335.7 MB, free: 2.75 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001404/0.05727, allocations: 2.271 MB / 338 MB, free: 484 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001862/0.05913, allocations: 1.433 MB / 339.4 MB, free: 15.04 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006243/0.06538, allocations: 7.631 MB / 347 MB, free: 7.375 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.06538, allocations: 0 / 347 MB, free: 7.375 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.574e-06/0.06538, allocations: 0 / 347 MB, free: 7.375 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001497/0.06553, allocations: 0 / 347 MB, free: 7.375 MB / 330.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.007006/0.07254, allocations: 5.412 MB / 352.5 MB, free: 1.902 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.07259, allocations: 15.98 kB / 352.5 MB, free: 1.887 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1677/0.2403, allocations: 2.185 MB / 354.7 MB, free: 57.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005098/0.2454, allocations: 2.508 MB / 357.2 MB, free: 56.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/0.2456, allocations: 275.1 kB / 357.4 MB, free: 56.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007075/0.2463, allocations: 441 kB / 357.9 MB, free: 56.42 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01364/0.2599, allocations: 12.31 MB / 370.2 MB, free: 50.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.253e-05/0.26, allocations: 51.58 kB / 370.2 MB, free: 50.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002834/0.2603, allocations: 173.7 kB / 370.4 MB, free: 50.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001507/0.2618, allocations: 2.165 MB / 372.6 MB, free: 48.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01057/0.2724, allocations: 10.22 MB / 382.8 MB, free: 38.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02601/0.2984, allocations: 41.68 MB / 424.5 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006241/0.3046, allocations: 3.961 MB / 428.4 MB, free: 7.887 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/0.3061, allocations: 1.634 MB / 430 MB, free: 6.242 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0074/0.3135, allocations: 6.642 MB / 436.7 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.3135, allocations: 51.88 kB / 436.7 MB, free: 15.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=183): time 3.526e-06/0.3135, allocations: 0 / 436.7 MB, free: 15.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=205): time 0.02375/0.3373, allocations: 16.47 MB / 453.2 MB, free: 15.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001019/0.3383, allocations: 1.567 MB / 454.8 MB, free: 13.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003783/0.3421, allocations: 4.23 MB / 459 MB, free: 9.133 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.3422, allocations: 61.78 kB / 459.1 MB, free: 9.066 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001528/0.3437, allocations: 3.542 MB / 462.6 MB, free: 5.492 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005434/0.3442, allocations: 0.8296 MB / 463.4 MB, free: 4.656 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00128/0.3455, allocations: 1.346 MB / 464.8 MB, free: 3.301 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.584e-05/0.3456, allocations: 309.1 kB / 465.1 MB, free: 2.996 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002262/0.3479, allocations: 2.285 MB / 467.4 MB, free: 0.707 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00419/0.352, allocations: 6.422 MB / 473.8 MB, free: 8.238 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007045/0.3591, allocations: 9.337 MB / 483.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.273e-05/0.3591, allocations: 44 kB / 483.2 MB, free: 12.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.01224/0.3714, allocations: 10.09 MB / 493.3 MB, free: 2.699 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.599e-05/0.3714, allocations: 71.94 kB / 493.3 MB, free: 2.629 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00578/0.3772, allocations: 3.815 MB / 497.2 MB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005013/0.3822, allocations: 2.172 MB / 499.3 MB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003367/0.3856, allocations: 1.591 MB / 0.4892 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006095/0.3917, allocations: 6.293 MB / 0.4953 GB, free: 4.512 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004304/0.396, allocations: 0.5033 MB / 0.4958 GB, free: 4.008 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004788/0.3965, allocations: 412 kB / 0.4962 GB, free: 3.605 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * 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 (856): * Single equations (assignments): 847 * 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.00273/0.3992, allocations: 2.224 MB / 0.4984 GB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003466/0.3995, allocations: 357.6 kB / 0.4987 GB, free: 1.016 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003921/0.4035, allocations: 3.251 MB / 0.5019 GB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003011/0.4065, allocations: 2.73 MB / 0.5046 GB, free: 11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.4065, allocations: 4 kB / 0.5046 GB, free: 10.99 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/0.4065, allocations: 11.97 kB / 0.5046 GB, free: 10.98 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/0.4173, allocations: 9.072 MB / 0.5134 GB, free: 1.629 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.4173, allocations: 12 kB / 0.5134 GB, free: 1.617 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/0.4183, allocations: 367.4 kB / 0.5138 GB, free: 1.258 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001523/0.4199, allocations: 0.9832 MB / 0.5148 GB, free: 268 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.401e-05/0.42, allocations: 67.91 kB / 0.5148 GB, free: 200 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1748/0.5948, allocations: 4.635 MB / 0.5193 GB, free: 145.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006098/0.5954, allocations: 1.428 MB / 0.5207 GB, free: 143.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007357/0.6027, allocations: 5.854 MB / 0.5265 GB, free: 141.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00144/0.6042, allocations: 0.6047 MB / 0.527 GB, free: 141.6 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002378/0.6044, allocations: 63.8 kB / 0.5271 GB, free: 141.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.6055, allocations: 205.1 kB / 0.5273 GB, free: 141.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002447/0.6057, allocations: 187.6 kB / 0.5275 GB, free: 141.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.632e-05/0.6058, allocations: 76.58 kB / 0.5276 GB, free: 141.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002759/0.6086, allocations: 2.446 MB / 0.5299 GB, free: 140.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6086, allocations: 0 / 0.5299 GB, free: 140.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00425/0.6129, allocations: 1.293 MB / 0.5312 GB, free: 140.6 MB / 442.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.000456/0.6133, allocations: 244.1 kB / 0.5314 GB, free: 140.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005882/0.6192, allocations: 5.657 MB / 0.537 GB, free: 138.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/0.6192, allocations: 7.844 kB / 0.537 GB, free: 138.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001904/0.6211, allocations: 1.954 MB / 0.5389 GB, free: 137.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/0.6227, allocations: 440.6 kB / 0.5393 GB, free: 137.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.6334, allocations: 11.08 MB / 0.5501 GB, free: 130.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002077/0.6355, allocations: 2.927 MB / 0.553 GB, free: 128.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006275/0.6361, allocations: 318.7 kB / 0.5533 GB, free: 128.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6361, allocations: 0 / 0.5533 GB, free: 128.1 MB / 442.7 MB Notification: Performance of Templates: time 0.2673/0.9034, allocations: 143.8 MB / 0.6937 GB, free: 142.5 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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: 9.02757330890745]