Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.001855/0.001855, allocations: 99.86 kB / 20.96 MB, free: 3.457 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.001867/0.001867, allocations: 145.1 kB / 24.26 MB, free: 168 kB / 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 1.635/1.635, allocations: 173.3 MB / 200.8 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 178] 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.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.721e-05, allocations: 2.312 kB / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.01076/0.01079, allocations: 7.211 MB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007222/0.01801, allocations: 3.163 MB / 277.7 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007959/0.01881, allocations: 39.81 kB / 277.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002489/0.0213, allocations: 1.101 MB / 278.8 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003511/0.02481, allocations: 1.459 MB / 280.3 MB, free: 9.699 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.02596, allocations: 498.8 kB / 280.8 MB, free: 9.211 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004325/0.03028, allocations: 2.956 MB / 283.7 MB, free: 6.246 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002327/0.03261, allocations: 1.648 MB / 285.4 MB, free: 4.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002035/0.03465, allocations: 1.329 MB / 286.7 MB, free: 3.238 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002304/0.03695, allocations: 1.422 MB / 288.1 MB, free: 1.812 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003646/0.03731, allocations: 172 kB / 288.3 MB, free: 1.645 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001965/0.03928, allocations: 0.9788 MB / 289.3 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1258/0.165, allocations: 1.189 MB / 290.5 MB, free: 18.69 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001361/0.1664, allocations: 0.7318 MB / 291.2 MB, free: 18.69 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008068/0.1745, allocations: 4.42 MB / 295.6 MB, free: 18.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1745, allocations: 3.719 kB / 295.6 MB, free: 18.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1745, allocations: 1.125 kB / 295.6 MB, free: 18.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001907/0.1747, allocations: 0 / 295.6 MB, free: 18.48 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: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.009915/0.1846, allocations: 3.652 MB / 299.3 MB, free: 17.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.1846, allocations: 9.797 kB / 299.3 MB, free: 17.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007622/0.1922, allocations: 2.13 MB / 301.4 MB, free: 16.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003732/0.196, allocations: 1.228 MB / 302.7 MB, free: 16.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.1961, allocations: 131.4 kB / 302.8 MB, free: 16.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008986/0.197, allocations: 258.3 kB / 303 MB, free: 16.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008782/0.2058, allocations: 4.344 MB / 307.4 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.652e-05/0.2058, allocations: 30.98 kB / 307.4 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002787/0.2061, allocations: 87.8 kB / 307.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001908/0.208, allocations: 1.366 MB / 308.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007934/0.216, allocations: 2.754 MB / 311.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03498/0.251, allocations: 30.96 MB / 342.6 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00756/0.2585, allocations: 1.486 MB / 344.1 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/0.2596, allocations: 402.6 kB / 344.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007178/0.2668, allocations: 2.613 MB / 347.1 MB, free: 8.992 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.622e-05/0.2668, allocations: 53.83 kB / 347.1 MB, free: 8.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=112): time 3.366e-06/0.2668, allocations: 4 kB / 347.1 MB, free: 8.926 MB / 298.7 MB Notification: Performance of matching and sorting (n=125): time 0.02867/0.2955, allocations: 7.495 MB / 354.6 MB, free: 1.395 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001964/0.2975, allocations: 2.055 MB / 356.7 MB, free: 15.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005506/0.303, allocations: 3.053 MB / 359.7 MB, free: 12.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004544/0.3034, allocations: 37.7 kB / 359.8 MB, free: 12.06 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002481/0.3059, allocations: 2.437 MB / 362.2 MB, free: 9.645 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001017/0.3069, allocations: 0.5778 MB / 362.8 MB, free: 9.074 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001969/0.3089, allocations: 1.145 MB / 363.9 MB, free: 7.918 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003704/0.3093, allocations: 0.5551 MB / 364.5 MB, free: 7.355 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/0.3109, allocations: 0.6022 MB / 365.1 MB, free: 6.746 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005856/0.3167, allocations: 4.903 MB / 370 MB, free: 15.97 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009444/0.3262, allocations: 6.075 MB / 376.1 MB, free: 8.078 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00015/0.3263, allocations: 32 kB / 376.1 MB, free: 8.047 MB / 330.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02155/0.3479, allocations: 5.833 MB / 381.9 MB, free: 2.199 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.101e-05/0.348, allocations: 48 kB / 382 MB, free: 2.152 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01148/0.3595, allocations: 2.384 MB / 384.4 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0131/0.3726, allocations: 2.152 MB / 386.5 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003898/0.3765, allocations: 1.018 MB / 387.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01257/0.389, allocations: 6.061 MB / 393.6 MB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004241/0.3933, allocations: 387.5 kB / 394 MB, free: 5.898 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008145/0.3941, allocations: 280 kB / 394.2 MB, free: 5.625 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (547): * Single equations (assignments): 539 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 1 system {(4,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 {(5,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001709/0.3958, allocations: 0.5962 MB / 394.8 MB, free: 5.016 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000643/0.3964, allocations: 254.5 kB / 395.1 MB, free: 4.766 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006353/0.4028, allocations: 1.755 MB / 396.8 MB, free: 2.988 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005396/0.4082, allocations: 1.461 MB / 398.3 MB, free: 1.508 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.4082, allocations: 8.984 kB / 398.3 MB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.042e-05/0.4082, allocations: 7.984 kB / 398.3 MB, free: 1.492 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01623/0.4244, allocations: 5.373 MB / 403.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.995e-05/0.4245, allocations: 7.984 kB / 403.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009479/0.4254, allocations: 171.8 kB / 403.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005074/0.4305, allocations: 1.009 MB / 404.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002517/0.4307, allocations: 27.27 kB / 404.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009656/0.4404, allocations: 5.519 MB / 410.4 MB, free: 5.078 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001604/0.442, allocations: 1.901 MB / 412.3 MB, free: 3.047 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007882/0.4499, allocations: 2.826 MB / 415.1 MB, free: 176 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009779/0.4509, allocations: 230.3 kB / 415.4 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003739/0.4512, allocations: 22.03 kB / 415.4 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/0.4528, allocations: 147.8 kB / 415.5 MB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003472/0.4531, allocations: 80.44 kB / 415.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/0.4532, allocations: 35.97 kB / 415.6 MB, free: 15.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002723/0.4559, allocations: 1.237 MB / 416.9 MB, free: 14.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4559, allocations: 0 / 416.9 MB, free: 14.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005216/0.4612, allocations: 0.8697 MB / 417.8 MB, free: 13.55 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.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 (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 1 system {(4,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 {(5,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006342/0.4618, allocations: 193.1 kB / 417.9 MB, free: 13.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008315/0.4701, allocations: 3.128 MB / 421.1 MB, free: 10.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.4701, allocations: 0 / 421.1 MB, free: 10.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003377/0.4735, allocations: 1.233 MB / 422.3 MB, free: 8.922 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/0.4755, allocations: 255 kB / 422.6 MB, free: 8.672 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/0.4873, allocations: 5.27 MB / 427.8 MB, free: 3.312 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002405/0.4897, allocations: 1.557 MB / 429.4 MB, free: 1.727 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00316/0.4928, allocations: 1.199 MB / 430.6 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005139/0.4934, allocations: 168.4 kB / 430.7 MB, free: 364 kB / 378.7 MB Notification: Performance of SimCode: time 1.603e-06/0.4934, allocations: 0 / 430.7 MB, free: 364 kB / 378.7 MB Notification: Performance of Templates: time 0.1656/0.6589, allocations: 28.86 MB / 459.6 MB, free: 106.6 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.19341876800172]