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.002018/0.002018, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002439/0.002439, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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.47/1.47, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 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.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_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.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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.386e-06/3.386e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.785e-05/4.124e-05, allocations: 10.31 kB / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.02777/0.02781, allocations: 10.47 MB / 282.7 MB, free: 7.258 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01649/0.0443, allocations: 4.016 MB / 286.7 MB, free: 3.227 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002496/0.0468, allocations: 83.56 kB / 286.8 MB, free: 3.145 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008554/0.05535, allocations: 2.865 MB / 289.6 MB, free: 276 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1231/0.1785, allocations: 2.059 MB / 291.7 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002053/0.1805, allocations: 0.8891 MB / 292.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007113/0.1876, allocations: 5.382 MB / 298 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003935/0.1916, allocations: 3.532 MB / 301.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003464/0.195, allocations: 2.606 MB / 304.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002897/0.1979, allocations: 2.61 MB / 306.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000495/0.1984, allocations: 358.3 kB / 307.1 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001737/0.2002, allocations: 1.222 MB / 308.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001292/0.2014, allocations: 2.242 MB / 310.5 MB, free: 9.098 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001254/0.2027, allocations: 1.408 MB / 311.9 MB, free: 7.754 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005373/0.2081, allocations: 7.563 MB / 319.5 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2081, allocations: 4 kB / 319.5 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2081, allocations: 0 / 319.5 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001113/0.2082, allocations: 0 / 319.5 MB, free: 0.5195 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.0106/0.2188, allocations: 5.361 MB / 324.9 MB, free: 11.21 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.2188, allocations: 15.98 kB / 324.9 MB, free: 11.2 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009948/0.2288, allocations: 2.9 MB / 327.8 MB, free: 8.332 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005967/0.2348, allocations: 2.434 MB / 330.2 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002782/0.235, allocations: 274.5 kB / 330.5 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001294/0.2363, allocations: 437.9 kB / 330.9 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02755/0.2639, allocations: 12.35 MB / 343.3 MB, free: 8.469 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002245/0.2641, allocations: 46.5 kB / 343.3 MB, free: 8.445 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001/0.2651, allocations: 175.4 kB / 343.5 MB, free: 8.316 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003955/0.2691, allocations: 2.173 MB / 345.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02507/0.2941, allocations: 10.25 MB / 355.9 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07004/0.3642, allocations: 41.71 MB / 397.6 MB, free: 1.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01244/0.3766, allocations: 3.989 MB / 401.6 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003097/0.3797, allocations: 1.623 MB / 403.2 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01378/0.3935, allocations: 6.641 MB / 409.9 MB, free: 5.406 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.306e-05/0.3935, allocations: 51.88 kB / 409.9 MB, free: 5.348 MB / 362.7 MB Notification: Performance of pre-optimization done (n=183): time 5.139e-06/0.3936, allocations: 4 kB / 409.9 MB, free: 5.344 MB / 362.7 MB Notification: Performance of matching and sorting (n=205): time 0.04762/0.4412, allocations: 16.64 MB / 426.6 MB, free: 4.641 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001695/0.4429, allocations: 1.563 MB / 428.1 MB, free: 2.938 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1301/0.5729, allocations: 4.125 MB / 432.3 MB, free: 120.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004395/0.5734, allocations: 53.08 kB / 432.3 MB, free: 120.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002094/0.5755, allocations: 3.537 MB / 435.8 MB, free: 119.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008775/0.5764, allocations: 0.8344 MB / 436.7 MB, free: 118.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002064/0.5784, allocations: 1.353 MB / 438 MB, free: 118 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.698e-05/0.5785, allocations: 306.5 kB / 438.3 MB, free: 117.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003946/0.5824, allocations: 2.324 MB / 440.6 MB, free: 117 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006384/0.5888, allocations: 6.46 MB / 447.1 MB, free: 110.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008499/0.5973, allocations: 9.395 MB / 456.5 MB, free: 103 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000148/0.5974, allocations: 42.62 kB / 456.5 MB, free: 103 MB / 378.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02076/0.6182, allocations: 10.59 MB / 467.1 MB, free: 99.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.628e-05/0.6183, allocations: 74.92 kB / 467.2 MB, free: 99.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00964/0.6279, allocations: 3.935 MB / 471.1 MB, free: 95.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009185/0.6371, allocations: 2.254 MB / 473.4 MB, free: 93.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004818/0.6419, allocations: 1.614 MB / 475 MB, free: 91.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007168/0.6491, allocations: 6.329 MB / 481.3 MB, free: 85.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006099/0.6552, allocations: 0.5539 MB / 481.9 MB, free: 84.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00106/0.6563, allocations: 420 kB / 482.3 MB, free: 84.44 MB / 378.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.003192/0.6595, allocations: 2.204 MB / 484.5 MB, free: 82.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000915/0.6604, allocations: 413.6 kB / 484.9 MB, free: 81.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005528/0.6659, allocations: 3.281 MB / 488.2 MB, free: 78.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0044/0.6703, allocations: 2.769 MB / 491 MB, free: 75.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.722e-05/0.6703, allocations: 4 kB / 491 MB, free: 75.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.817e-05/0.6703, allocations: 7.969 kB / 491 MB, free: 75.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01516/0.6855, allocations: 9.142 MB / 0.4884 GB, free: 66.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.372e-05/0.6855, allocations: 14.94 kB / 0.4884 GB, free: 66.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/0.6869, allocations: 371.4 kB / 0.4888 GB, free: 66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002575/0.6895, allocations: 0.9871 MB / 0.4897 GB, free: 65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001849/0.6897, allocations: 63.97 kB / 0.4898 GB, free: 64.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003874/0.6936, allocations: 4.658 MB / 0.4943 GB, free: 60.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006612/0.6942, allocations: 1.433 MB / 0.4957 GB, free: 58.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00791/0.7021, allocations: 5.982 MB / 0.5016 GB, free: 52.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/0.7033, allocations: 369.5 kB / 0.5019 GB, free: 52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00049/0.7038, allocations: 55.98 kB / 0.502 GB, free: 51.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001914/0.7057, allocations: 219.6 kB / 0.5022 GB, free: 51.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003072/0.706, allocations: 180.3 kB / 0.5024 GB, free: 51.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/0.7061, allocations: 83.73 kB / 0.5024 GB, free: 51.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003062/0.7092, allocations: 2.375 MB / 0.5048 GB, free: 49.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.7092, allocations: 0 / 0.5048 GB, free: 49.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006205/0.7154, allocations: 1.265 MB / 0.506 GB, free: 47.85 MB / 378.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.000637/0.716, allocations: 230.1 kB / 0.5062 GB, free: 47.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009245/0.7253, allocations: 5.713 MB / 0.5118 GB, free: 41.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-05/0.7253, allocations: 4 kB / 0.5118 GB, free: 41.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003454/0.7288, allocations: 1.972 MB / 0.5137 GB, free: 39.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003653/0.7324, allocations: 488.2 kB / 0.5142 GB, free: 39.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01513/0.7476, allocations: 10.72 MB / 0.5247 GB, free: 28.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00329/0.7508, allocations: 2.93 MB / 0.5275 GB, free: 25.53 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003884/0.7547, allocations: 1.985 MB / 0.5295 GB, free: 23.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008034/0.7555, allocations: 268.4 kB / 0.5297 GB, free: 23.28 MB / 378.7 MB Notification: Performance of SimCode: time 1.813e-06/0.7555, allocations: 0 / 0.5297 GB, free: 23.28 MB / 378.7 MB Notification: Performance of Templates: time 0.1952/0.9507, allocations: 36.11 MB / 0.565 GB, free: 118.3 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 6.84266648394987]