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.0008214/0.0008214, 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.003658/0.003658, allocations: 143.6 kB / 24.68 MB, free: 8.891 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.8427/0.8427, allocations: 173.4 MB / 201.2 MB, free: 9.426 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.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.614e-06/1.614e-06, allocations: 0 / 319.7 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.313e-05, allocations: 6.219 kB / 319.7 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.005242/0.005265, allocations: 6.589 MB / 326.3 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003849/0.009114, allocations: 3.078 MB / 329.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004943/0.009608, allocations: 39.81 kB / 329.4 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001391/0.011, allocations: 1.066 MB / 330.5 MB, free: 11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001933/0.01293, allocations: 1.447 MB / 331.9 MB, free: 9.547 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005291/0.01346, allocations: 494.8 kB / 332.4 MB, free: 9.062 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001744/0.01521, allocations: 2.959 MB / 335.4 MB, free: 6.098 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.01625, allocations: 1.581 MB / 336.9 MB, free: 4.492 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008829/0.01714, allocations: 1.329 MB / 338.3 MB, free: 3.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.01831, allocations: 1.395 MB / 339.7 MB, free: 1.762 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.01846, allocations: 172 kB / 339.8 MB, free: 1.594 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009411/0.0194, allocations: 0.9865 MB / 340.8 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005892/0.01999, allocations: 1.18 MB / 342 MB, free: 15.42 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004575/0.02045, allocations: 0.7281 MB / 342.7 MB, free: 14.69 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002789/0.02324, allocations: 4.415 MB / 347.1 MB, free: 10.26 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.02324, allocations: 0 / 347.1 MB, free: 10.26 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.02324, allocations: 4 kB / 347.1 MB, free: 10.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.221e-05/0.02326, allocations: 3.984 kB / 347.1 MB, free: 10.25 MB / 314.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.003081/0.02634, allocations: 3.087 MB / 350.2 MB, free: 7.121 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.02638, allocations: 8.922 kB / 350.2 MB, free: 7.113 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003174/0.02955, allocations: 1.789 MB / 352 MB, free: 5.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.03105, allocations: 1.313 MB / 353.3 MB, free: 3.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.805e-05/0.03112, allocations: 139.4 kB / 353.5 MB, free: 3.844 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003839/0.0315, allocations: 259.7 kB / 353.7 MB, free: 3.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005764/0.03727, allocations: 6.693 MB / 360.4 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.633e-05/0.03732, allocations: 31.75 kB / 360.5 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/0.03748, allocations: 87.89 kB / 360.5 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001112/0.03859, allocations: 1.359 MB / 361.9 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006192/0.04479, allocations: 6.044 MB / 367.9 MB, free: 4.902 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01631/0.0611, allocations: 24.18 MB / 392.1 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003419/0.06452, allocations: 2.191 MB / 394.3 MB, free: 9.742 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008572/0.06538, allocations: 0.9848 MB / 395.3 MB, free: 8.746 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00328/0.06866, allocations: 2.825 MB / 398.1 MB, free: 5.887 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.06869, allocations: 43.06 kB / 398.2 MB, free: 5.836 MB / 362.7 MB Notification: Performance of pre-optimization done (n=112): time 3.096e-06/0.06869, allocations: 0 / 398.2 MB, free: 5.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=125): time 0.01451/0.0832, allocations: 10.28 MB / 408.4 MB, free: 11.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008817/0.08408, allocations: 1.549 MB / 410 MB, free: 9.781 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002512/0.08659, allocations: 2.684 MB / 412.7 MB, free: 7.062 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.407e-05/0.08667, allocations: 41.7 kB / 412.7 MB, free: 7.016 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009308/0.0876, allocations: 2.163 MB / 414.9 MB, free: 4.828 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003281/0.08792, allocations: 0.5234 MB / 415.4 MB, free: 4.301 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007851/0.08871, allocations: 0.9172 MB / 416.3 MB, free: 3.371 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.668e-05/0.08881, allocations: 349.9 kB / 416.7 MB, free: 3.023 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001744/0.09055, allocations: 1.676 MB / 418.3 MB, free: 1.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002775/0.09332, allocations: 4.476 MB / 422.8 MB, free: 11.46 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005141/0.09846, allocations: 6.568 MB / 429.4 MB, free: 3.508 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-05/0.0985, allocations: 35.94 kB / 429.4 MB, free: 3.473 MB / 394.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01053/0.109, allocations: 8.023 MB / 437.4 MB, free: 11.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.733e-05/0.1091, allocations: 48 kB / 437.5 MB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005818/0.1149, allocations: 3.515 MB / 441 MB, free: 7.855 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005817/0.1207, allocations: 2.577 MB / 443.6 MB, free: 5.266 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002123/0.1228, allocations: 1.025 MB / 444.6 MB, free: 4.238 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1849/0.3078, allocations: 9.337 MB / 453.9 MB, free: 112.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002618/0.3104, allocations: 383 kB / 454.3 MB, free: 112.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000254/0.3106, allocations: 285.6 kB / 454.6 MB, free: 112.6 MB / 410.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.001618/0.3123, allocations: 1.42 MB / 456 MB, free: 112 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/0.3125, allocations: 223.3 kB / 456.2 MB, free: 112 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003177/0.3156, allocations: 2.798 MB / 459 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002868/0.3185, allocations: 2.502 MB / 461.5 MB, free: 110.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.3185, allocations: 3.812 kB / 461.5 MB, free: 110.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.3185, allocations: 8.641 kB / 461.5 MB, free: 110.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006383/0.3249, allocations: 6.223 MB / 467.8 MB, free: 107.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.3249, allocations: 4 kB / 467.8 MB, free: 107.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003952/0.3253, allocations: 175.9 kB / 467.9 MB, free: 107.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002175/0.3275, allocations: 1.443 MB / 469.4 MB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.869e-05/0.3275, allocations: 27.8 kB / 469.4 MB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004942/0.3325, allocations: 7.628 MB / 477 MB, free: 98.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004012/0.3329, allocations: 1.422 MB / 478.5 MB, free: 97.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004288/0.3372, allocations: 4.836 MB / 483.3 MB, free: 92.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003434/0.3375, allocations: 220.3 kB / 483.5 MB, free: 92.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.3376, allocations: 24 kB / 483.5 MB, free: 92.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000607/0.3383, allocations: 139.8 kB / 483.7 MB, free: 92.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.3384, allocations: 88.36 kB / 483.8 MB, free: 92.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.342e-05/0.3385, allocations: 36.86 kB / 483.8 MB, free: 92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001189/0.3397, allocations: 1.55 MB / 485.3 MB, free: 90.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3397, allocations: 0 / 485.3 MB, free: 90.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002263/0.3419, allocations: 0.8788 MB / 486.2 MB, free: 89.57 MB / 410.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.0002981/0.3422, allocations: 189.6 kB / 486.4 MB, free: 89.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003554/0.3458, allocations: 4.2 MB / 490.6 MB, free: 85.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3458, allocations: 0 / 490.6 MB, free: 85.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001401/0.3472, allocations: 1.581 MB / 492.2 MB, free: 83.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008674/0.348, allocations: 242.9 kB / 492.4 MB, free: 83.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005269/0.3533, allocations: 6.73 MB / 499.2 MB, free: 76.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.3543, allocations: 1.728 MB / 0.4891 GB, free: 74.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000286/0.3546, allocations: 200.4 kB / 0.4893 GB, free: 74.71 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.3546, allocations: 0 / 0.4893 GB, free: 74.71 MB / 410.7 MB Notification: Performance of Templates: time 0.03724/0.3919, allocations: 77.33 MB / 0.5649 GB, free: 13.4 MB / 426.7 MB " [Timeout remaining time 660] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 480] 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: 7.491843016818166]