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.001386/0.001386, allocations: 107.5 kB / 20.43 MB, free: 1.066 MB / 14.72 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.001437/0.001437, allocations: 187.5 kB / 23.7 MB, free: 4.188 MB / 14.72 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.446/1.446, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 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 0.001778/0.001778, allocations: 51.91 kB / 370.9 MB, free: 9.273 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2438, allocations: 52.18 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.008715/0.2525, allocations: 6.604 MB / 429.7 MB, free: 7.848 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005978/0.2585, allocations: 3.071 MB / 432.7 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006393/0.2591, allocations: 39.81 kB / 432.8 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002121/0.2612, allocations: 1.012 MB / 433.8 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002925/0.2641, allocations: 1.417 MB / 435.2 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009248/0.2651, allocations: 455.1 kB / 435.7 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003093/0.2682, allocations: 2.632 MB / 438.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001562/0.2697, allocations: 1.324 MB / 439.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.2708, allocations: 0.8525 MB / 440.5 MB, free: 13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001736/0.2725, allocations: 1.289 MB / 441.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003405/0.2729, allocations: 172 kB / 441.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00172/0.2746, allocations: 0.9438 MB / 442.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001087/0.2757, allocations: 1.129 MB / 444 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.2768, allocations: 0.951 MB / 444.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005155/0.282, allocations: 4.386 MB / 449.3 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.282, allocations: 0 / 449.3 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.282, allocations: 0 / 449.3 MB, free: 4.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.933e-05/0.2821, allocations: 0 / 449.3 MB, free: 4.105 MB / 350.1 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.008207/0.2903, allocations: 3.06 MB / 452.4 MB, free: 1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.2903, allocations: 8.031 kB / 452.4 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006707/0.297, allocations: 1.746 MB / 454.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003201/0.3002, allocations: 1.364 MB / 455.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.3004, allocations: 135.3 kB / 455.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006752/0.301, allocations: 251.8 kB / 455.9 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01189/0.3129, allocations: 6.689 MB / 462.6 MB, free: 6.316 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.938e-05/0.313, allocations: 27.75 kB / 462.6 MB, free: 6.289 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002677/0.3133, allocations: 87.89 kB / 462.7 MB, free: 6.203 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002318/0.3156, allocations: 1.363 MB / 464.1 MB, free: 4.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01211/0.3277, allocations: 6.013 MB / 470.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03321/0.3609, allocations: 24.06 MB / 494.1 MB, free: 6.012 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007231/0.3681, allocations: 2.145 MB / 496.3 MB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/0.3698, allocations: 0.9921 MB / 497.3 MB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006669/0.3765, allocations: 2.706 MB / 500 MB, free: 92 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/0.3765, allocations: 43.06 kB / 0.4883 GB, free: 40 kB / 398.1 MB Notification: Performance of pre-optimization done (n=112): time 3.927e-06/0.3765, allocations: 3.938 kB / 0.4883 GB, free: 36 kB / 398.1 MB Notification: Performance of matching and sorting (n=125): time 0.02815/0.4047, allocations: 10.09 MB / 0.4982 GB, free: 5.871 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001475/0.4062, allocations: 1.553 MB / 0.4997 GB, free: 4.168 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003948/0.4101, allocations: 2.613 MB / 0.5022 GB, free: 1.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002987/0.4104, allocations: 41.7 kB / 0.5023 GB, free: 1.473 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001803/0.4122, allocations: 2.182 MB / 0.5044 GB, free: 15.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007158/0.4129, allocations: 0.535 MB / 0.5049 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001253/0.4142, allocations: 0.9212 MB / 0.5058 GB, free: 13.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.4144, allocations: 357.9 kB / 0.5062 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002689/0.417, allocations: 1.652 MB / 0.5078 GB, free: 11.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005029/0.4221, allocations: 4.452 MB / 0.5121 GB, free: 5.918 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008439/0.4305, allocations: 6.547 MB / 0.5185 GB, free: 13.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.24e-05/0.4306, allocations: 28 kB / 0.5185 GB, free: 13.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02179/0.4524, allocations: 7.964 MB / 0.5263 GB, free: 5.969 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.158e-05/0.4525, allocations: 48 kB / 0.5264 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01204/0.4645, allocations: 3.473 MB / 0.5298 GB, free: 2.438 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01244/0.477, allocations: 2.588 MB / 0.5323 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003524/0.4805, allocations: 1.01 MB / 0.5333 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01573/0.4962, allocations: 9.337 MB / 0.5424 GB, free: 5.281 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003593/0.4998, allocations: 327.7 kB / 0.5427 GB, free: 4.961 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006013/0.5004, allocations: 284.1 kB / 0.543 GB, free: 4.684 MB / 462.1 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.002274/0.5027, allocations: 1.419 MB / 0.5444 GB, free: 3.254 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004517/0.5031, allocations: 226.5 kB / 0.5446 GB, free: 3.031 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007002/0.5101, allocations: 2.817 MB / 0.5473 GB, free: 192 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2402/0.7503, allocations: 2.486 MB / 0.5497 GB, free: 120.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.002e-05/0.7504, allocations: 6.406 kB / 0.5498 GB, free: 120.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.427e-05/0.7504, allocations: 6.438 kB / 0.5498 GB, free: 120.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01208/0.7625, allocations: 6.181 MB / 0.5558 GB, free: 118.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.7625, allocations: 0 / 0.5558 GB, free: 118.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007702/0.7633, allocations: 183 kB / 0.556 GB, free: 118.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004453/0.7677, allocations: 1.433 MB / 0.5574 GB, free: 118.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001458/0.7679, allocations: 34.56 kB / 0.5574 GB, free: 118.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00844/0.7763, allocations: 7.616 MB / 0.5648 GB, free: 114.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006828/0.777, allocations: 1.406 MB / 0.5662 GB, free: 113 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007351/0.7843, allocations: 4.827 MB / 0.5709 GB, free: 108.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005241/0.7848, allocations: 202.4 kB / 0.5711 GB, free: 108.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/0.7851, allocations: 24 kB / 0.5711 GB, free: 108.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.7861, allocations: 122.8 kB / 0.5713 GB, free: 108.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002173/0.7864, allocations: 88.36 kB / 0.5713 GB, free: 108.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.36e-05/0.7864, allocations: 39.98 kB / 0.5714 GB, free: 108.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001674/0.7881, allocations: 1.487 MB / 0.5728 GB, free: 106.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7881, allocations: 0 / 0.5728 GB, free: 106.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003035/0.7911, allocations: 0.7819 MB / 0.5736 GB, free: 106 MB / 462.1 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.000304/0.7915, allocations: 165 kB / 0.5738 GB, free: 105.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00571/0.7972, allocations: 4.203 MB / 0.5779 GB, free: 101.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.7972, allocations: 3.625 kB / 0.5779 GB, free: 101.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002649/0.7998, allocations: 1.568 MB / 0.5794 GB, free: 100.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.8012, allocations: 232.6 kB / 0.5796 GB, free: 99.92 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007733/0.8089, allocations: 6.66 MB / 0.5861 GB, free: 93.29 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00157/0.8105, allocations: 1.724 MB / 0.5878 GB, free: 91.54 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002351/0.8129, allocations: 1.375 MB / 0.5891 GB, free: 90.15 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003192/0.8132, allocations: 163.4 kB / 0.5893 GB, free: 89.99 MB / 462.1 MB Notification: Performance of SimCode: time 8.52e-07/0.8132, allocations: 0 / 0.5893 GB, free: 89.99 MB / 462.1 MB Notification: Performance of Templates: time 0.04276/0.8559, allocations: 29.38 MB / 0.618 GB, free: 60.93 MB / 462.1 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=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: 6.26289265230298]