Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.0008572/0.0008572, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0009315/0.0009315, allocations: 158.3 kB / 25.45 MB, free: 8.859 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.9433/0.9433, allocations: 158.6 MB / 187.2 MB, free: 3.031 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.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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.857e-06/3.857e-06, allocations: 0 / 299.7 MB, free: 6.898 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.435e-05/3.821e-05, allocations: 2.281 kB / 299.7 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.008291/0.00833, allocations: 9.395 MB / 309.1 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007415/0.01574, allocations: 3.753 MB / 312.9 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006501/0.01639, allocations: 71.62 kB / 312.9 MB, free: 9.621 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00249/0.01888, allocations: 2.659 MB / 315.6 MB, free: 6.953 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0026/0.02149, allocations: 1.862 MB / 317.5 MB, free: 5.082 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008877/0.02237, allocations: 0.725 MB / 318.2 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002719/0.02509, allocations: 4.066 MB / 322.2 MB, free: 284 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002082/0.02717, allocations: 2.982 MB / 325.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003652/0.03083, allocations: 2.245 MB / 327.5 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003236/0.03406, allocations: 2.073 MB / 329.5 MB, free: 8.906 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009217/0.03498, allocations: 323.9 kB / 329.9 MB, free: 8.59 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001959/0.03694, allocations: 1.112 MB / 331 MB, free: 7.477 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001689/0.03863, allocations: 1.956 MB / 332.9 MB, free: 5.516 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002216/0.04085, allocations: 1.246 MB / 334.2 MB, free: 4.266 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008789/0.04964, allocations: 6.724 MB / 340.9 MB, free: 13.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.04964, allocations: 11.98 kB / 340.9 MB, free: 13.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.04965, allocations: 0 / 340.9 MB, free: 13.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002456/0.04989, allocations: 0 / 340.9 MB, free: 13.5 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.008629/0.05852, allocations: 4.623 MB / 345.5 MB, free: 8.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.05857, allocations: 11.98 kB / 345.5 MB, free: 8.809 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004137/0.0627, allocations: 1.944 MB / 347.5 MB, free: 6.859 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003861/0.06657, allocations: 1.984 MB / 349.5 MB, free: 4.836 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001878/0.06675, allocations: 254.4 kB / 349.7 MB, free: 4.586 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009199/0.06767, allocations: 391.7 kB / 350.1 MB, free: 4.203 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1922/0.2599, allocations: 10.15 MB / 360.3 MB, free: 53.6 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000209/0.2601, allocations: 37.06 kB / 360.3 MB, free: 53.58 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007137/0.2608, allocations: 165.1 kB / 360.5 MB, free: 53.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002524/0.2633, allocations: 1.852 MB / 362.3 MB, free: 53.17 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01487/0.2782, allocations: 8.35 MB / 370.7 MB, free: 50.19 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03835/0.3166, allocations: 37.07 MB / 407.7 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006371/0.3229, allocations: 3.568 MB / 411.3 MB, free: 9.398 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001556/0.3245, allocations: 1.337 MB / 412.6 MB, free: 8.051 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00763/0.3321, allocations: 5.622 MB / 418.3 MB, free: 2.559 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.3322, allocations: 51.5 kB / 418.3 MB, free: 2.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=152): time 6.302e-06/0.3322, allocations: 0 / 418.3 MB, free: 2.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.02079/0.353, allocations: 12.53 MB / 430.8 MB, free: 6.109 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001183/0.3541, allocations: 1.549 MB / 432.4 MB, free: 4.418 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004797/0.3589, allocations: 3.782 MB / 436.2 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004277/0.3594, allocations: 49.7 kB / 436.2 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001916/0.3613, allocations: 3.24 MB / 439.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009707/0.3623, allocations: 0.6637 MB / 440.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001411/0.3637, allocations: 1.246 MB / 441.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.876e-05/0.3638, allocations: 309.1 kB / 441.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002434/0.3662, allocations: 2.054 MB / 443.7 MB, free: 9.109 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004548/0.3707, allocations: 5.997 MB / 449.7 MB, free: 1.145 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008058/0.3788, allocations: 8.648 MB / 458.4 MB, free: 6.535 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001407/0.3789, allocations: 40 kB / 458.4 MB, free: 6.496 MB / 378.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01704/0.396, allocations: 9.735 MB / 468.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.279e-05/0.3961, allocations: 64 kB / 468.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006506/0.4026, allocations: 3.77 MB / 472 MB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005988/0.4086, allocations: 2.614 MB / 474.6 MB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003196/0.4118, allocations: 1.368 MB / 475.9 MB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006892/0.4187, allocations: 7.412 MB / 483.4 MB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004305/0.423, allocations: 459.3 kB / 483.8 MB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009232/0.4239, allocations: 388 kB / 484.2 MB, free: 12.41 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.003479/0.4274, allocations: 2.017 MB / 486.2 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006303/0.428, allocations: 309.9 kB / 486.5 MB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004003/0.432, allocations: 3.075 MB / 489.6 MB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003268/0.4353, allocations: 2.656 MB / 492.2 MB, free: 4.297 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.4353, allocations: 4 kB / 492.2 MB, free: 4.293 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.4353, allocations: 3.984 kB / 492.2 MB, free: 4.289 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01308/0.4484, allocations: 7.492 MB / 499.7 MB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.4484, allocations: 3.938 kB / 499.7 MB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005998/0.449, allocations: 195.7 kB / 499.9 MB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002394/0.4514, allocations: 1.432 MB / 0.4896 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000134/0.4515, allocations: 43.92 kB / 0.4897 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004237/0.4557, allocations: 5.746 MB / 0.4953 GB, free: 5.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000644/0.4564, allocations: 1.425 MB / 0.4967 GB, free: 3.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005717/0.4621, allocations: 5.261 MB / 0.5018 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009563/0.4631, allocations: 301.7 kB / 0.5021 GB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002844/0.4633, allocations: 35.98 kB / 0.5021 GB, free: 13.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008141/0.4642, allocations: 159.7 kB / 0.5023 GB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/0.4644, allocations: 92.8 kB / 0.5024 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.501e-05/0.4644, allocations: 47.98 kB / 0.5024 GB, free: 13.55 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002814/0.4672, allocations: 2.16 MB / 0.5045 GB, free: 11.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4672, allocations: 0 / 0.5045 GB, free: 11.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006263/0.4735, allocations: 1.105 MB / 0.5056 GB, free: 10.3 MB / 442.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.0006966/0.4742, allocations: 190.8 kB / 0.5058 GB, free: 10.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009155/0.4834, allocations: 5.159 MB / 0.5108 GB, free: 4.941 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.4834, allocations: 0 / 0.5108 GB, free: 4.941 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002801/0.4862, allocations: 1.802 MB / 0.5126 GB, free: 3.105 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002455/0.4886, allocations: 337.3 kB / 0.5129 GB, free: 2.773 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1806/0.6692, allocations: 9.374 MB / 0.5221 GB, free: 152.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006548/0.6758, allocations: 2.563 MB / 0.5246 GB, free: 151.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001244/0.677, allocations: 258.6 kB / 0.5248 GB, free: 151.8 MB / 442.7 MB Notification: Performance of SimCode: time 3.807e-06/0.677, allocations: 0 / 0.5248 GB, free: 151.8 MB / 442.7 MB Notification: Performance of Templates: time 0.1186/0.7956, allocations: 145.4 MB / 0.6668 GB, free: 16.27 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.85273228213191]