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.001328/0.001328, allocations: 107 kB / 21.18 MB, free: 0.6484 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.00157/0.00157, allocations: 211.4 kB / 24.48 MB, free: 3.941 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.638/1.638, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.001862/0.001862, allocations: 47.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4263, allocations: 53.36 MB / 432.3 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01299/0.4393, allocations: 8.987 MB / 441.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008392/0.4477, allocations: 3.607 MB / 444.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/0.4492, allocations: 67.69 kB / 445 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004208/0.4534, allocations: 1.904 MB / 446.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004575/0.4579, allocations: 1.681 MB / 448.6 MB, free: 6.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.4595, allocations: 0.6199 MB / 449.2 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005206/0.4647, allocations: 3.349 MB / 452.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003047/0.4678, allocations: 2.126 MB / 454.7 MB, free: 400 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002419/0.4702, allocations: 1.254 MB / 455.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003159/0.4733, allocations: 1.806 MB / 457.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008225/0.4742, allocations: 252 kB / 458 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002187/0.4764, allocations: 0.94 MB / 458.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00196/0.4783, allocations: 1.597 MB / 460.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002355/0.4807, allocations: 1.328 MB / 461.8 MB, free: 9.195 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008541/0.4892, allocations: 5.828 MB / 467.7 MB, free: 3.344 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.4892, allocations: 0 / 467.7 MB, free: 3.344 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4892, allocations: 0 / 467.7 MB, free: 3.344 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001739/0.4894, allocations: 0 / 467.7 MB, free: 3.344 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.009662/0.4991, allocations: 4.022 MB / 471.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.377e-05/0.4991, allocations: 8.031 kB / 471.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006746/0.5059, allocations: 1.8 MB / 473.5 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005296/0.5112, allocations: 1.872 MB / 475.4 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002078/0.5114, allocations: 196.8 kB / 475.6 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008477/0.5122, allocations: 255.8 kB / 475.8 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01745/0.5297, allocations: 8.464 MB / 484.3 MB, free: 1.969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001566/0.5298, allocations: 43.62 kB / 484.3 MB, free: 1.926 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005655/0.5304, allocations: 127.9 kB / 484.4 MB, free: 1.801 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003192/0.5336, allocations: 1.691 MB / 486.1 MB, free: 112 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01636/0.5499, allocations: 7.094 MB / 493.2 MB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05033/0.6003, allocations: 32.06 MB / 0.513 GB, free: 7.961 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007588/0.6079, allocations: 2.727 MB / 0.5156 GB, free: 5.195 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002054/0.6099, allocations: 1.361 MB / 0.517 GB, free: 3.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007685/0.6176, allocations: 3.305 MB / 0.5202 GB, free: 492 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.969e-05/0.6177, allocations: 51.14 kB / 0.5203 GB, free: 432 kB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 4.278e-06/0.6177, allocations: 0 / 0.5203 GB, free: 432 kB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02969/0.6474, allocations: 11.52 MB / 0.5315 GB, free: 4.836 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001541/0.6475, allocations: 145.2 kB / 0.5316 GB, free: 4.664 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006029/0.6535, allocations: 3.427 MB / 0.535 GB, free: 1.223 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002788/0.6538, allocations: 45.7 kB / 0.535 GB, free: 1.172 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.3546/1.008, allocations: 2.872 MB / 0.5378 GB, free: 101.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001033/1.009, allocations: 0.5482 MB / 0.5384 GB, free: 101.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002227/1.012, allocations: 1.082 MB / 0.5394 GB, free: 101.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.079e-05/1.012, allocations: 309.5 kB / 0.5397 GB, free: 100.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002925/1.015, allocations: 1.707 MB / 0.5414 GB, free: 100.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0045/1.019, allocations: 5.132 MB / 0.5464 GB, free: 95.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007761/1.027, allocations: 7.43 MB / 0.5537 GB, free: 88.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001482/1.027, allocations: 34.97 kB / 0.5537 GB, free: 88.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01145/1.038, allocations: 6.711 MB / 0.5602 GB, free: 84.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.394e-05/1.039, allocations: 56 kB / 0.5603 GB, free: 84.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001199/1.039, allocations: 121.8 kB / 0.5604 GB, free: 84.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005713/1.039, allocations: 321.9 kB / 0.5607 GB, free: 84.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003746/1.043, allocations: 1.252 MB / 0.5619 GB, free: 83.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/1.045, allocations: 2.358 MB / 0.5642 GB, free: 80.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004133/1.049, allocations: 295.2 kB / 0.5645 GB, free: 80.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009125/1.05, allocations: 331.6 kB / 0.5648 GB, free: 80.39 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.003192/1.053, allocations: 1.793 MB / 0.5666 GB, free: 78.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007381/1.054, allocations: 286.1 kB / 0.5669 GB, free: 78.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0044/1.058, allocations: 2.319 MB / 0.5691 GB, free: 76.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.234e-05/1.059, allocations: 16 kB / 0.5691 GB, free: 76.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.656e-05/1.059, allocations: 8 kB / 0.5692 GB, free: 76.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/1.059, allocations: 7.922 kB / 0.5692 GB, free: 76.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01102/1.07, allocations: 5.092 MB / 0.5741 GB, free: 71.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/1.07, allocations: 0 / 0.5741 GB, free: 71.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008699/1.07, allocations: 176 kB / 0.5743 GB, free: 71.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002028/1.072, allocations: 0.7088 MB / 0.575 GB, free: 70.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001498/1.073, allocations: 35.92 kB / 0.575 GB, free: 70.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004952/1.078, allocations: 4.647 MB / 0.5796 GB, free: 65.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.078, allocations: 4 kB / 0.5796 GB, free: 65.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006385/1.084, allocations: 4.299 MB / 0.5838 GB, free: 61.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009628/1.085, allocations: 264.3 kB / 0.584 GB, free: 61.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007465/1.086, allocations: 16 kB / 0.584 GB, free: 61.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/1.087, allocations: 71.84 kB / 0.5841 GB, free: 61.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002195/1.087, allocations: 68.52 kB / 0.5842 GB, free: 61.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.846e-05/1.087, allocations: 36 kB / 0.5842 GB, free: 61.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003218/1.091, allocations: 1.959 MB / 0.5861 GB, free: 59.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/1.091, allocations: 0 / 0.5861 GB, free: 59.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005225/1.096, allocations: 0.8011 MB / 0.5869 GB, free: 58.46 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.0005194/1.096, allocations: 149.7 kB / 0.587 GB, free: 58.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006244/1.103, allocations: 3.908 MB / 0.5909 GB, free: 54.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/1.103, allocations: 0 / 0.5909 GB, free: 54.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00156/1.104, allocations: 1.041 MB / 0.5919 GB, free: 53.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002959/1.107, allocations: 335.1 kB / 0.5922 GB, free: 53.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01402/1.121, allocations: 7.388 MB / 0.5994 GB, free: 45.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003654/1.125, allocations: 2.228 MB / 0.6016 GB, free: 43.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003702/1.129, allocations: 1.607 MB / 0.6032 GB, free: 41.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007954/1.129, allocations: 199.4 kB / 0.6033 GB, free: 41.58 MB / 446.1 MB Notification: Performance of SimCode: time 1.323e-06/1.129, allocations: 0 / 0.6033 GB, free: 41.58 MB / 446.1 MB Notification: Performance of Templates: time 0.05136/1.181, allocations: 30.27 MB / 0.6329 GB, free: 11.77 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/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: 7.1918707020086]