Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.002023/0.002023, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.002231/0.002231, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.417/1.417, allocations: 225.6 MB / 250.8 MB, free: 13.39 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.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 47.92 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3002, allocations: 52.15 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01248/0.3126, allocations: 10.29 MB / 431.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009423/0.3221, allocations: 3.826 MB / 435 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002387/0.3245, allocations: 59.81 kB / 435.1 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004681/0.3291, allocations: 1.993 MB / 437 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005095/0.3342, allocations: 1.689 MB / 438.7 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.3358, allocations: 0.6122 MB / 439.3 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005155/0.341, allocations: 3.335 MB / 442.7 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00285/0.3439, allocations: 1.917 MB / 444.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002142/0.346, allocations: 1.25 MB / 445.8 MB, free: 6.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003018/0.349, allocations: 1.814 MB / 447.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006256/0.3496, allocations: 255.9 kB / 447.9 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002141/0.3518, allocations: 1.065 MB / 449 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001993/0.3538, allocations: 1.613 MB / 450.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002035/0.3558, allocations: 1.829 MB / 452.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007574/0.3634, allocations: 5.851 MB / 458.3 MB, free: 9.547 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3634, allocations: 4 kB / 458.3 MB, free: 9.543 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3634, allocations: 0 / 458.3 MB, free: 9.543 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001628/0.3636, allocations: 0 / 458.3 MB, free: 9.543 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.008255/0.3718, allocations: 4.125 MB / 462.4 MB, free: 5.344 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3719, allocations: 15.89 kB / 462.4 MB, free: 5.328 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006349/0.3782, allocations: 1.792 MB / 464.2 MB, free: 3.531 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004487/0.3827, allocations: 1.963 MB / 466.2 MB, free: 1.508 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001706/0.3829, allocations: 192.8 kB / 466.4 MB, free: 1.316 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006809/0.3835, allocations: 255.8 kB / 466.6 MB, free: 1.066 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0144/0.3979, allocations: 8.427 MB / 475 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001071/0.398, allocations: 43.67 kB / 475.1 MB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000351/0.3984, allocations: 123.9 kB / 475.2 MB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002956/0.4014, allocations: 1.692 MB / 476.9 MB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0147/0.416, allocations: 7.098 MB / 484 MB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04727/0.4633, allocations: 34.08 MB / 0.5059 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00756/0.4709, allocations: 3.178 MB / 0.509 GB, free: 8.613 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002076/0.473, allocations: 1.365 MB / 0.5104 GB, free: 7.234 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007337/0.4803, allocations: 4.374 MB / 0.5146 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/0.4803, allocations: 43.12 kB / 0.5147 GB, free: 2.602 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 4.649e-06/0.4803, allocations: 0 / 0.5147 GB, free: 2.602 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02953/0.5099, allocations: 11.69 MB / 0.5261 GB, free: 6.785 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.51, allocations: 149.2 kB / 0.5262 GB, free: 6.609 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005669/0.5156, allocations: 3.726 MB / 0.5299 GB, free: 2.891 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003047/0.5159, allocations: 45.69 kB / 0.5299 GB, free: 2.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2213/0.7372, allocations: 2.859 MB / 0.5327 GB, free: 108.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008233/0.738, allocations: 0.5426 MB / 0.5332 GB, free: 108.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001961/0.74, allocations: 1.087 MB / 0.5343 GB, free: 108.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.364e-05/0.74, allocations: 302.8 kB / 0.5346 GB, free: 108.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002416/0.7424, allocations: 1.703 MB / 0.5362 GB, free: 107.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003838/0.7463, allocations: 5.134 MB / 0.5413 GB, free: 102.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006507/0.7528, allocations: 7.417 MB / 0.5485 GB, free: 96.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.095e-05/0.7528, allocations: 33.94 kB / 0.5485 GB, free: 96.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.009113/0.762, allocations: 6.74 MB / 0.5551 GB, free: 93.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.902e-05/0.762, allocations: 56 kB / 0.5552 GB, free: 93.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001425/0.7622, allocations: 120.9 kB / 0.5553 GB, free: 93.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006843/0.7629, allocations: 322.5 kB / 0.5556 GB, free: 92.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003571/0.7664, allocations: 1.252 MB / 0.5568 GB, free: 91.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/0.7684, allocations: 2.498 MB / 0.5593 GB, free: 89.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004025/0.7725, allocations: 285.8 kB / 0.5595 GB, free: 89.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005771/0.773, allocations: 335.4 kB / 0.5598 GB, free: 88.72 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.002587/0.7756, allocations: 1.787 MB / 0.5616 GB, free: 87.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005306/0.7762, allocations: 337.7 kB / 0.5619 GB, free: 86.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003834/0.78, allocations: 2.349 MB / 0.5642 GB, free: 85.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.497e-05/0.78, allocations: 12 kB / 0.5642 GB, free: 85.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.78, allocations: 4 kB / 0.5642 GB, free: 85.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.78, allocations: 14.94 kB / 0.5642 GB, free: 85.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008916/0.789, allocations: 5.894 MB / 0.57 GB, free: 79.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.789, allocations: 6.359 kB / 0.57 GB, free: 79.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007113/0.7897, allocations: 172 kB / 0.5702 GB, free: 79.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001885/0.7916, allocations: 0.7143 MB / 0.5709 GB, free: 78.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/0.7917, allocations: 27.94 kB / 0.5709 GB, free: 78.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004523/0.7962, allocations: 4.812 MB / 0.5756 GB, free: 73.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.7962, allocations: 3.938 kB / 0.5756 GB, free: 73.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00526/0.8015, allocations: 4.338 MB / 0.5798 GB, free: 69.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008539/0.8023, allocations: 377.7 kB / 0.5802 GB, free: 68.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002979/0.8026, allocations: 19.59 kB / 0.5802 GB, free: 68.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009334/0.8035, allocations: 71.97 kB / 0.5803 GB, free: 68.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.8037, allocations: 68.5 kB / 0.5803 GB, free: 68.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.993e-05/0.8038, allocations: 36 kB / 0.5804 GB, free: 68.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002639/0.8064, allocations: 2.323 MB / 0.5826 GB, free: 66.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8064, allocations: 2.188 kB / 0.5826 GB, free: 66.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003562/0.81, allocations: 0.8145 MB / 0.5834 GB, free: 65.35 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.0003149/0.8103, allocations: 158.4 kB / 0.5836 GB, free: 65.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005767/0.8161, allocations: 3.893 MB / 0.5874 GB, free: 61.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.8161, allocations: 0 / 0.5874 GB, free: 61.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.8173, allocations: 1.034 MB / 0.5884 GB, free: 60.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/0.8194, allocations: 387.4 kB / 0.5888 GB, free: 59.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009746/0.8292, allocations: 7.445 MB / 0.596 GB, free: 52.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00209/0.8313, allocations: 2.785 MB / 0.5988 GB, free: 49.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003054/0.8343, allocations: 1.656 MB / 0.6004 GB, free: 47.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006068/0.8349, allocations: 214 kB / 0.6006 GB, free: 47.75 MB / 446.1 MB Notification: Performance of SimCode: time 1.863e-06/0.8349, allocations: 4 kB / 0.6006 GB, free: 47.74 MB / 446.1 MB Notification: Performance of Templates: time 0.04694/0.8819, allocations: 29.65 MB / 0.6295 GB, free: 18.31 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.1476291650906205]