Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.001966/0.001966, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.002422/0.002422, allocations: 203.6 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.511/1.511, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 51.92 kB / 378.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2546, allocations: 53.35 MB / 431.6 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01219/0.2668, allocations: 8.997 MB / 440.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0103/0.2771, allocations: 3.603 MB / 444.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.2785, allocations: 71.62 kB / 444.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004279/0.2828, allocations: 1.896 MB / 446.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004296/0.2871, allocations: 1.681 MB / 447.8 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.2887, allocations: 0.6199 MB / 448.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004898/0.2936, allocations: 3.36 MB / 451.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003067/0.2966, allocations: 2.114 MB / 453.9 MB, free: 296 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001934/0.2986, allocations: 1.258 MB / 455.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002665/0.3012, allocations: 1.81 MB / 457 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005307/0.3018, allocations: 252 kB / 457.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/0.3036, allocations: 0.9361 MB / 458.2 MB, free: 12.03 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001617/0.3052, allocations: 1.593 MB / 459.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001724/0.3069, allocations: 1.339 MB / 461.1 MB, free: 9.082 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007684/0.3146, allocations: 5.816 MB / 466.9 MB, free: 3.242 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.3146, allocations: 0 / 466.9 MB, free: 3.242 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.3146, allocations: 4 kB / 466.9 MB, free: 3.238 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002069/0.3148, allocations: 4 kB / 466.9 MB, free: 3.234 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.009088/0.3239, allocations: 4.023 MB / 470.9 MB, free: 15.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3239, allocations: 8.031 kB / 470.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00643/0.3304, allocations: 1.796 MB / 472.7 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004721/0.3351, allocations: 1.872 MB / 474.6 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/0.3353, allocations: 192.8 kB / 474.8 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005745/0.3358, allocations: 255.8 kB / 475.1 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01484/0.3507, allocations: 8.472 MB / 483.5 MB, free: 1.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001115/0.3508, allocations: 35.7 kB / 483.6 MB, free: 1.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003477/0.3511, allocations: 127.9 kB / 483.7 MB, free: 1.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002948/0.3541, allocations: 1.695 MB / 485.4 MB, free: 0 / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01414/0.3682, allocations: 7.102 MB / 492.5 MB, free: 8.891 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04104/0.4093, allocations: 32.06 MB / 0.5122 GB, free: 7.852 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00732/0.4166, allocations: 2.732 MB / 0.5149 GB, free: 5.078 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001857/0.4184, allocations: 1.363 MB / 0.5162 GB, free: 3.703 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006578/0.425, allocations: 3.293 MB / 0.5195 GB, free: 384 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.997e-05/0.4251, allocations: 59.09 kB / 0.5195 GB, free: 316 kB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 3.246e-06/0.4251, allocations: 0 / 0.5195 GB, free: 316 kB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.03008/0.4552, allocations: 11.52 MB / 0.5308 GB, free: 4.719 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.4553, allocations: 145.1 kB / 0.5309 GB, free: 4.547 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005173/0.4605, allocations: 3.423 MB / 0.5342 GB, free: 1.109 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003153/0.4608, allocations: 45.7 kB / 0.5343 GB, free: 1.059 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2209/0.6817, allocations: 2.876 MB / 0.5371 GB, free: 101.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007444/0.6824, allocations: 0.5417 MB / 0.5376 GB, free: 101.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001663/0.6841, allocations: 1.087 MB / 0.5387 GB, free: 101.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.212e-05/0.6841, allocations: 306.3 kB / 0.539 GB, free: 100.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002486/0.6866, allocations: 1.711 MB / 0.5407 GB, free: 100.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003501/0.6901, allocations: 5.132 MB / 0.5457 GB, free: 95.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005606/0.6957, allocations: 7.423 MB / 0.5529 GB, free: 88.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.621e-05/0.6958, allocations: 35.34 kB / 0.5529 GB, free: 88.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.008403/0.7042, allocations: 6.713 MB / 0.5595 GB, free: 84.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.409e-05/0.7043, allocations: 56 kB / 0.5596 GB, free: 84.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.22e-05/0.7043, allocations: 124 kB / 0.5597 GB, free: 84.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005134/0.7049, allocations: 317.6 kB / 0.56 GB, free: 84.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003076/0.7079, allocations: 1.248 MB / 0.5612 GB, free: 83.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/0.7098, allocations: 2.374 MB / 0.5635 GB, free: 80.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003027/0.7128, allocations: 284.4 kB / 0.5638 GB, free: 80.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003532/0.7132, allocations: 334 kB / 0.5641 GB, free: 80.21 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (668): * Single equations (assignments): 664 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002/0.7152, allocations: 1.785 MB / 0.5658 GB, free: 78.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003527/0.7156, allocations: 290 kB / 0.5661 GB, free: 78.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003676/0.7192, allocations: 2.326 MB / 0.5684 GB, free: 76.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.917e-05/0.7192, allocations: 13.08 kB / 0.5684 GB, free: 76.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.7193, allocations: 4 kB / 0.5684 GB, free: 76.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.7193, allocations: 7.984 kB / 0.5684 GB, free: 76.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008871/0.7281, allocations: 5.094 MB / 0.5734 GB, free: 71.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.7281, allocations: 4 kB / 0.5734 GB, free: 71.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008046/0.729, allocations: 178.2 kB / 0.5736 GB, free: 71.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001944/0.7309, allocations: 0.7179 MB / 0.5743 GB, free: 70.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.731, allocations: 20 kB / 0.5743 GB, free: 70.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004557/0.7356, allocations: 4.639 MB / 0.5788 GB, free: 65.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7356, allocations: 4.094 kB / 0.5788 GB, free: 65.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005479/0.741, allocations: 4.308 MB / 0.583 GB, free: 61.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007681/0.7418, allocations: 251.5 kB / 0.5833 GB, free: 61.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003031/0.7421, allocations: 27.91 kB / 0.5833 GB, free: 61.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009656/0.7431, allocations: 67.84 kB / 0.5834 GB, free: 61.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/0.7433, allocations: 72.58 kB / 0.5834 GB, free: 61.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.588e-05/0.7433, allocations: 37 kB / 0.5835 GB, free: 61.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002294/0.7456, allocations: 1.963 MB / 0.5854 GB, free: 59.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7456, allocations: 3.938 kB / 0.5854 GB, free: 59.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004352/0.75, allocations: 0.7894 MB / 0.5862 GB, free: 58.29 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003588/0.7504, allocations: 148.7 kB / 0.5863 GB, free: 58.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005676/0.756, allocations: 3.915 MB / 0.5901 GB, free: 54.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.756, allocations: 0 / 0.5901 GB, free: 54.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.7573, allocations: 1.035 MB / 0.5911 GB, free: 53.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/0.7592, allocations: 338 kB / 0.5915 GB, free: 52.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.7694, allocations: 7.392 MB / 0.5987 GB, free: 45.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002213/0.7716, allocations: 2.224 MB / 0.6008 GB, free: 43.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003123/0.7747, allocations: 1.611 MB / 0.6024 GB, free: 41.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005361/0.7753, allocations: 191.4 kB / 0.6026 GB, free: 41.41 MB / 446.1 MB Notification: Performance of SimCode: time 1.643e-06/0.7753, allocations: 0 / 0.6026 GB, free: 41.41 MB / 446.1 MB Notification: Performance of Templates: time 0.04742/0.8227, allocations: 30.28 MB / 0.6322 GB, free: 11.6 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.271234101150185]