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.001429/0.001429, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.002078/0.002078, allocations: 161.4 kB / 25.02 MB, free: 8.949 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 1.461/1.461, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 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.843e-06/1.843e-06, allocations: 0 / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.13e-05/3.314e-05, allocations: 2.312 kB / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01506/0.0151, allocations: 10.54 MB / 260.9 MB, free: 13.23 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01132/0.02642, allocations: 4.006 MB / 264.9 MB, free: 9.211 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002689/0.02911, allocations: 87.56 kB / 265 MB, free: 9.125 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006866/0.03597, allocations: 2.861 MB / 267.9 MB, free: 6.254 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007705/0.04368, allocations: 2.111 MB / 270 MB, free: 4.133 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002351/0.04603, allocations: 0.8888 MB / 270.9 MB, free: 3.242 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.008494/0.05453, allocations: 5.273 MB / 276.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00585/0.06038, allocations: 3.551 MB / 279.7 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004925/0.0653, allocations: 2.635 MB / 282.3 MB, free: 7.711 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004893/0.07019, allocations: 2.623 MB / 285 MB, free: 5.082 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008605/0.07105, allocations: 356 kB / 285.3 MB, free: 4.734 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002601/0.07366, allocations: 1.24 MB / 286.5 MB, free: 3.492 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002683/0.07634, allocations: 2.275 MB / 288.8 MB, free: 1.211 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002601/0.07894, allocations: 1.437 MB / 290.3 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01284/0.09178, allocations: 7.635 MB / 297.9 MB, free: 8.109 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.09179, allocations: 0 / 297.9 MB, free: 8.109 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.09179, allocations: 0 / 297.9 MB, free: 8.109 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0003391/0.09213, allocations: 0 / 297.9 MB, free: 8.109 MB / 282.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.01602/0.1082, allocations: 5.408 MB / 303.3 MB, free: 2.641 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.527e-05/0.1082, allocations: 11.98 kB / 303.3 MB, free: 2.629 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01105/0.1193, allocations: 2.845 MB / 306.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006727/0.126, allocations: 2.535 MB / 308.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003307/0.1263, allocations: 270.8 kB / 309 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001765/0.1281, allocations: 439.6 kB / 309.4 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02858/0.1567, allocations: 12.31 MB / 321.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001585/0.1568, allocations: 51.52 kB / 321.7 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005623/0.1574, allocations: 175.8 kB / 321.9 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003792/0.1612, allocations: 2.17 MB / 324.1 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02483/0.186, allocations: 10.2 MB / 334.3 MB, free: 2.738 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2011/0.3871, allocations: 41.75 MB / 376 MB, free: 70.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01041/0.3975, allocations: 3.935 MB / 380 MB, free: 70.01 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002145/0.3997, allocations: 1.623 MB / 381.6 MB, free: 69.39 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0113/0.411, allocations: 6.641 MB / 388.2 MB, free: 65.09 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.411, allocations: 55.88 kB / 388.3 MB, free: 65.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=183): time 4.539e-06/0.411, allocations: 0 / 388.3 MB, free: 65.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=205): time 0.03981/0.4508, allocations: 16.56 MB / 404.9 MB, free: 48.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001264/0.4521, allocations: 1.566 MB / 406.4 MB, free: 47.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005027/0.4571, allocations: 4.224 MB / 410.6 MB, free: 42.97 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004228/0.4575, allocations: 49.7 kB / 410.7 MB, free: 42.92 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001771/0.4593, allocations: 3.548 MB / 414.2 MB, free: 39.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001132/0.4604, allocations: 0.829 MB / 415.1 MB, free: 38.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001796/0.4622, allocations: 1.354 MB / 416.4 MB, free: 37.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.587e-05/0.4623, allocations: 301.1 kB / 416.7 MB, free: 37.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002951/0.4652, allocations: 2.301 MB / 419 MB, free: 34.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004433/0.4697, allocations: 6.443 MB / 425.5 MB, free: 26.29 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00884/0.4785, allocations: 9.357 MB / 434.8 MB, free: 14.9 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001338/0.4786, allocations: 44 kB / 434.9 MB, free: 14.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.0227/0.5013, allocations: 10.5 MB / 445.4 MB, free: 4.348 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.882e-05/0.5014, allocations: 67.98 kB / 445.4 MB, free: 4.281 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01006/0.5115, allocations: 3.835 MB / 449.3 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0106/0.5221, allocations: 2.168 MB / 451.4 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006531/0.5286, allocations: 1.606 MB / 453 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01183/0.5404, allocations: 6.299 MB / 459.3 MB, free: 6.133 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007981/0.5484, allocations: 0.5523 MB / 459.9 MB, free: 5.582 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001894/0.5503, allocations: 412 kB / 460.3 MB, free: 5.18 MB / 346.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.006148/0.5565, allocations: 2.22 MB / 462.5 MB, free: 2.949 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001629/0.5581, allocations: 413.6 kB / 462.9 MB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008483/0.5666, allocations: 3.251 MB / 466.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006345/0.5729, allocations: 2.742 MB / 468.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.566e-05/0.5729, allocations: 4 kB / 468.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.695e-05/0.573, allocations: 11.95 kB / 468.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02602/0.599, allocations: 9.112 MB / 478 MB, free: 3.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.566e-05/0.5991, allocations: 18.62 kB / 478 MB, free: 3.145 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001856/0.6009, allocations: 371.3 kB / 478.4 MB, free: 2.781 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003497/0.6044, allocations: 0.9871 MB / 479.4 MB, free: 1.781 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003584/0.6048, allocations: 63.97 kB / 479.5 MB, free: 1.719 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006885/0.6117, allocations: 4.654 MB / 484.1 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001458/0.6131, allocations: 1.442 MB / 485.6 MB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01275/0.6259, allocations: 5.916 MB / 491.5 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002772/0.6286, allocations: 0.6067 MB / 492.1 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001279/0.6299, allocations: 59.89 kB / 492.1 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002889/0.6328, allocations: 227.6 kB / 492.4 MB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005253/0.6333, allocations: 180.3 kB / 492.5 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002461/0.6336, allocations: 75.98 kB / 492.6 MB, free: 4.047 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.006714/0.6403, allocations: 2.45 MB / 495.1 MB, free: 1.613 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6403, allocations: 0 / 495.1 MB, free: 1.613 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.009421/0.6497, allocations: 1.289 MB / 496.3 MB, free: 332 kB / 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.001215/0.6509, allocations: 238.4 kB / 496.6 MB, free: 88 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1829/0.8339, allocations: 5.676 MB / 0.4905 GB, free: 133.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-05/0.8339, allocations: 0 / 0.4905 GB, free: 133.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003499/0.8374, allocations: 1.953 MB / 0.4924 GB, free: 133.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002961/0.8404, allocations: 468 kB / 0.4928 GB, free: 132.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/0.8549, allocations: 10.76 MB / 0.5033 GB, free: 127.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003246/0.8582, allocations: 2.933 MB / 0.5062 GB, free: 125.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004119/0.8623, allocations: 1.992 MB / 0.5082 GB, free: 123.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007505/0.8631, allocations: 268.4 kB / 0.5084 GB, free: 123.4 MB / 378.7 MB Notification: Performance of SimCode: time 1.242e-06/0.8631, allocations: 0 / 0.5084 GB, free: 123.4 MB / 378.7 MB Notification: Performance of Templates: time 0.06141/0.9245, allocations: 36.77 MB / 0.5443 GB, free: 86.62 MB / 378.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: 6.972969163092785]