Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008484/0.0008484, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003317/0.003317, allocations: 146.9 kB / 24.68 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8414/0.8414, allocations: 173.4 MB / 201.2 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 319.7 MB, free: 5.699 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.166e-05/3.386e-05, allocations: 6.219 kB / 319.7 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.008036/0.00807, allocations: 9.387 MB / 329.1 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005764/0.01383, allocations: 3.756 MB / 332.8 MB, free: 8.484 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007219/0.01456, allocations: 71.62 kB / 332.9 MB, free: 8.414 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002547/0.0171, allocations: 2.659 MB / 335.6 MB, free: 5.746 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002816/0.01992, allocations: 1.87 MB / 337.4 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009549/0.02087, allocations: 0.7366 MB / 338.2 MB, free: 3.133 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002728/0.0236, allocations: 4.038 MB / 342.2 MB, free: 15.08 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002439/0.02604, allocations: 2.975 MB / 345.2 MB, free: 12.04 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001809/0.02785, allocations: 2.249 MB / 347.4 MB, free: 9.785 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001692/0.02954, allocations: 2.057 MB / 349.5 MB, free: 7.723 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002953/0.02984, allocations: 320 kB / 349.8 MB, free: 7.41 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.03144, allocations: 1.127 MB / 350.9 MB, free: 6.281 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001026/0.03247, allocations: 1.956 MB / 352.9 MB, free: 4.32 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008274/0.03329, allocations: 1.242 MB / 354.1 MB, free: 3.074 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004642/0.03793, allocations: 6.724 MB / 360.9 MB, free: 12.33 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.03794, allocations: 0 / 360.9 MB, free: 12.33 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.03794, allocations: 0 / 360.9 MB, free: 12.33 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.632e-05/0.03801, allocations: 0 / 360.9 MB, free: 12.33 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.005079/0.04308, allocations: 4.638 MB / 365.5 MB, free: 7.633 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.04312, allocations: 12.92 kB / 365.5 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003304/0.04643, allocations: 1.928 MB / 367.4 MB, free: 5.688 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/0.0485, allocations: 1.937 MB / 369.4 MB, free: 3.715 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.04862, allocations: 258.4 kB / 369.6 MB, free: 3.461 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004861/0.04911, allocations: 391.7 kB / 370 MB, free: 3.078 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0111/0.06021, allocations: 10.16 MB / 380.2 MB, free: 8.184 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001072/0.06031, allocations: 39.67 kB / 380.2 MB, free: 8.145 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003117/0.06063, allocations: 163.8 kB / 380.4 MB, free: 7.984 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001519/0.06215, allocations: 1.857 MB / 382.2 MB, free: 6.129 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01034/0.07248, allocations: 8.343 MB / 390.6 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02948/0.102, allocations: 37.05 MB / 427.6 MB, free: 7.598 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00541/0.1074, allocations: 3.557 MB / 431.2 MB, free: 4.012 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001153/0.1085, allocations: 1.345 MB / 432.5 MB, free: 2.656 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005958/0.1145, allocations: 5.616 MB / 438.1 MB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.1145, allocations: 51.55 kB / 438.2 MB, free: 12.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=152): time 2.655e-06/0.1145, allocations: 4 kB / 438.2 MB, free: 12.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=159): time 0.01728/0.1318, allocations: 12.5 MB / 450.7 MB, free: 380 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.136/0.2678, allocations: 1.542 MB / 452.2 MB, free: 119.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00347/0.2712, allocations: 3.747 MB / 456 MB, free: 118.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002677/0.2715, allocations: 45.64 kB / 456 MB, free: 118.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007701/0.2723, allocations: 3.239 MB / 459.3 MB, free: 116.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003395/0.2726, allocations: 0.6681 MB / 459.9 MB, free: 116 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008143/0.2734, allocations: 1.256 MB / 461.2 MB, free: 115.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 1.962e-05/0.2734, allocations: 305.1 kB / 461.5 MB, free: 115.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001541/0.275, allocations: 2.055 MB / 463.5 MB, free: 114.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002266/0.2772, allocations: 5.993 MB / 469.5 MB, free: 108.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004335/0.2816, allocations: 8.637 MB / 478.2 MB, free: 98.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.195e-05/0.2816, allocations: 40 kB / 478.2 MB, free: 98.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.009512/0.2911, allocations: 9.739 MB / 487.9 MB, free: 89.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.154e-05/0.2912, allocations: 64 kB / 488 MB, free: 89.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005027/0.2962, allocations: 3.765 MB / 491.8 MB, free: 85.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004983/0.3012, allocations: 2.616 MB / 494.4 MB, free: 83.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/0.3029, allocations: 1.365 MB / 495.8 MB, free: 81.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004713/0.3076, allocations: 7.409 MB / 0.4914 GB, free: 74.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00213/0.3097, allocations: 455.4 kB / 0.4918 GB, free: 73.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002335/0.31, allocations: 392 kB / 0.4922 GB, free: 73.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[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 (742): * Single equations (assignments): 732 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 1 system {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.001686/0.3117, allocations: 2.012 MB / 0.4941 GB, free: 71.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/0.3119, allocations: 313.9 kB / 0.4944 GB, free: 71.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003037/0.315, allocations: 3.074 MB / 0.4974 GB, free: 68.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00265/0.3176, allocations: 2.652 MB / 0.5 GB, free: 65.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3176, allocations: 0 / 0.5 GB, free: 65.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.3176, allocations: 15.91 kB / 0.5 GB, free: 65.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007074/0.3247, allocations: 7.479 MB / 0.5074 GB, free: 57.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.3247, allocations: 4 kB / 0.5074 GB, free: 57.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004136/0.3251, allocations: 195.7 kB / 0.5075 GB, free: 57.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002/0.3271, allocations: 1.424 MB / 0.5089 GB, free: 56.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.119e-05/0.3272, allocations: 41.86 kB / 0.509 GB, free: 56.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002887/0.3301, allocations: 5.759 MB / 0.5146 GB, free: 50.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003448/0.3304, allocations: 1.405 MB / 0.516 GB, free: 48.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004311/0.3347, allocations: 5.261 MB / 0.5211 GB, free: 43.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003241/0.335, allocations: 301.7 kB / 0.5214 GB, free: 43.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/0.3352, allocations: 32 kB / 0.5214 GB, free: 43.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006626/0.3359, allocations: 155.6 kB / 0.5216 GB, free: 42.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.336, allocations: 96.8 kB / 0.5217 GB, free: 42.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.746e-05/0.3361, allocations: 47.34 kB / 0.5217 GB, free: 42.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001527/0.3376, allocations: 2.129 MB / 0.5238 GB, free: 40.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3376, allocations: 3.938 kB / 0.5238 GB, free: 40.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002683/0.3403, allocations: 1.105 MB / 0.5249 GB, free: 39.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($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]) * 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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003004/0.3406, allocations: 193.3 kB / 0.5251 GB, free: 39.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004501/0.3451, allocations: 5.16 MB / 0.5301 GB, free: 34.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3451, allocations: 0 / 0.5301 GB, free: 34.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001656/0.3467, allocations: 1.802 MB / 0.5319 GB, free: 32.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.3478, allocations: 343.7 kB / 0.5322 GB, free: 31.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007604/0.3554, allocations: 9.375 MB / 0.5413 GB, free: 22.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00161/0.357, allocations: 2.571 MB / 0.5439 GB, free: 19.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003523/0.3573, allocations: 260.4 kB / 0.5441 GB, free: 19.7 MB / 410.7 MB Notification: Performance of SimCode: time 9.01e-07/0.3573, allocations: 0 / 0.5441 GB, free: 19.7 MB / 410.7 MB Notification: Performance of Templates: time 0.2374/0.5947, allocations: 145.2 MB / 0.6859 GB, free: 81.7 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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: 8.851927364245057]