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.001384/0.001384, allocations: 79.84 kB / 21.43 MB, free: 296 kB / 14.72 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.001603/0.001603, allocations: 164 kB / 24.7 MB, free: 3.547 MB / 14.72 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 1.368/1.368, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] 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 1.582e-06/1.582e-06, allocations: 0 / 299 MB, free: 8.707 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.652e-05, allocations: 6.281 kB / 299 MB, free: 8.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01341/0.01344, allocations: 10.52 MB / 309.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009248/0.02268, allocations: 4.013 MB / 313.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001552/0.02424, allocations: 87.56 kB / 313.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005885/0.03012, allocations: 2.826 MB / 316.4 MB, free: 7.188 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005632/0.03575, allocations: 2.095 MB / 318.5 MB, free: 5.082 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002094/0.03785, allocations: 0.8849 MB / 319.4 MB, free: 4.195 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1702/0.208, allocations: 5.272 MB / 324.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005856/0.2139, allocations: 3.443 MB / 328.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006335/0.2202, allocations: 2.627 MB / 330.7 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006067/0.2263, allocations: 2.623 MB / 333.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001573/0.2279, allocations: 360.8 kB / 333.7 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003552/0.2314, allocations: 1.239 MB / 334.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002541/0.234, allocations: 2.274 MB / 337.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002506/0.2365, allocations: 1.431 MB / 338.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009289/0.2458, allocations: 7.632 MB / 346.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2458, allocations: 0.5 kB / 346.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2458, allocations: 0.7188 kB / 346.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003812/0.2462, allocations: 0 / 346.3 MB, free: 10.21 MB / 302.1 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.01531/0.2615, allocations: 5.411 MB / 351.7 MB, free: 6.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.2615, allocations: 13.55 kB / 351.7 MB, free: 6.586 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009372/0.2709, allocations: 2.306 MB / 354 MB, free: 5.406 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004783/0.2757, allocations: 2.52 MB / 356.5 MB, free: 3.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.2758, allocations: 272.7 kB / 356.8 MB, free: 3.094 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001045/0.2768, allocations: 427.1 kB / 357.2 MB, free: 2.723 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02581/0.3027, allocations: 12.31 MB / 369.5 MB, free: 5.801 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001446/0.3028, allocations: 51.28 kB / 369.6 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005082/0.3033, allocations: 175.4 kB / 369.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003681/0.307, allocations: 2.168 MB / 371.9 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02574/0.3327, allocations: 10.2 MB / 382.1 MB, free: 9.504 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06276/0.3955, allocations: 41.65 MB / 423.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01305/0.4085, allocations: 3.951 MB / 427.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003349/0.4119, allocations: 1.618 MB / 429.3 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01413/0.426, allocations: 6.622 MB / 436 MB, free: 3.035 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.143e-05/0.4261, allocations: 59.81 kB / 436 MB, free: 2.969 MB / 382.1 MB Notification: Performance of pre-optimization done (n=183): time 4.789e-06/0.4261, allocations: 0 / 436 MB, free: 2.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=205): time 0.04714/0.4732, allocations: 16.49 MB / 452.5 MB, free: 2.453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001552/0.4748, allocations: 1.556 MB / 454.1 MB, free: 0.7578 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007441/0.4822, allocations: 4.224 MB / 458.3 MB, free: 12.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004826/0.4827, allocations: 61.64 kB / 458.4 MB, free: 12.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003638/0.4863, allocations: 3.538 MB / 461.9 MB, free: 8.961 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001513/0.4878, allocations: 0.8329 MB / 462.7 MB, free: 8.141 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002187/0.49, allocations: 1.346 MB / 464.1 MB, free: 6.785 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.4902, allocations: 313 kB / 464.4 MB, free: 6.477 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004271/0.4944, allocations: 2.305 MB / 466.7 MB, free: 4.168 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007576/0.502, allocations: 6.434 MB / 473.1 MB, free: 11.76 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01329/0.5153, allocations: 9.36 MB / 482.5 MB, free: 464 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001682/0.5155, allocations: 43.94 kB / 482.5 MB, free: 420 kB / 430.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.2105/0.726, allocations: 10.12 MB / 492.6 MB, free: 134.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001422/0.7261, allocations: 75.09 kB / 492.7 MB, free: 134.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01204/0.7382, allocations: 3.825 MB / 496.5 MB, free: 133.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01074/0.7489, allocations: 2.164 MB / 498.7 MB, free: 133.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004977/0.7539, allocations: 1.6 MB / 0.4886 GB, free: 133.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007853/0.7617, allocations: 6.298 MB / 0.4947 GB, free: 129.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006276/0.768, allocations: 0.5532 MB / 0.4953 GB, free: 129.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006992/0.7687, allocations: 413.3 kB / 0.4957 GB, free: 129.7 MB / 430.1 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.003042/0.7717, allocations: 2.211 MB / 0.4978 GB, free: 128.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006292/0.7724, allocations: 369 kB / 0.4982 GB, free: 128.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005822/0.7782, allocations: 3.244 MB / 0.5013 GB, free: 127.4 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004713/0.7829, allocations: 2.737 MB / 0.504 GB, free: 124.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.7829, allocations: 8 kB / 0.504 GB, free: 124.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.13e-05/0.7829, allocations: 7.969 kB / 0.504 GB, free: 124.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01611/0.7991, allocations: 9.062 MB / 0.5129 GB, free: 115.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.208e-05/0.7991, allocations: 12 kB / 0.5129 GB, free: 115.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/0.8005, allocations: 375 kB / 0.5133 GB, free: 115.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00275/0.8033, allocations: 0.9869 MB / 0.5142 GB, free: 114.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001723/0.8034, allocations: 59.97 kB / 0.5143 GB, free: 114.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004001/0.8074, allocations: 4.637 MB / 0.5188 GB, free: 109.4 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000703/0.8081, allocations: 1.437 MB / 0.5202 GB, free: 107.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007459/0.8156, allocations: 5.873 MB / 0.5259 GB, free: 102 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0016/0.8172, allocations: 0.6088 MB / 0.5265 GB, free: 101.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004483/0.8176, allocations: 57.19 kB / 0.5266 GB, free: 101.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001987/0.8196, allocations: 219.7 kB / 0.5268 GB, free: 101.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003128/0.8199, allocations: 183.6 kB / 0.527 GB, free: 101 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/0.8201, allocations: 75.98 kB / 0.527 GB, free: 101 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003263/0.8233, allocations: 2.45 MB / 0.5294 GB, free: 98.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8233, allocations: 0 / 0.5294 GB, free: 98.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005654/0.829, allocations: 1.295 MB / 0.5307 GB, free: 97.25 MB / 430.1 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.0005426/0.8295, allocations: 239.7 kB / 0.5309 GB, free: 97.03 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008896/0.8384, allocations: 5.672 MB / 0.5365 GB, free: 91.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.74e-05/0.8385, allocations: 4 kB / 0.5365 GB, free: 91.35 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003337/0.8418, allocations: 1.951 MB / 0.5384 GB, free: 89.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00271/0.8445, allocations: 451.6 kB / 0.5388 GB, free: 88.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/0.858, allocations: 10.58 MB / 0.5491 GB, free: 78.17 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002757/0.8607, allocations: 2.939 MB / 0.552 GB, free: 75.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003798/0.8645, allocations: 2 MB / 0.554 GB, free: 73.19 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007195/0.8652, allocations: 256.4 kB / 0.5542 GB, free: 72.94 MB / 430.1 MB Notification: Performance of SimCode: time 9.32e-07/0.8652, allocations: 0 / 0.5542 GB, free: 72.94 MB / 430.1 MB Notification: Performance of Templates: time 0.06091/0.9261, allocations: 36.53 MB / 0.5899 GB, free: 36.38 MB / 430.1 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: 6.711384892463684]