Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001604/0.001604, allocations: 116.7 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001702/0.001702, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.473/1.473, allocations: 230.5 MB / 255.4 MB, free: 15.16 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 75.81 kB / 374.8 MB, free: 9.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09685/0.09876, allocations: 53.31 MB / 428.1 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.2058/0.3046, allocations: 9.035 MB / 437.1 MB, free: 6.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005518/0.3101, allocations: 2.736 MB / 439.8 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.3115, allocations: 48.91 kB / 439.9 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003393/0.3149, allocations: 1.852 MB / 441.7 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00343/0.3183, allocations: 1.352 MB / 443.1 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005667/0.3189, allocations: 212.7 kB / 443.3 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003491/0.3223, allocations: 2.346 MB / 445.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002108/0.3244, allocations: 1.783 MB / 447.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.3259, allocations: 0.993 MB / 448.4 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00368/0.3296, allocations: 2.573 MB / 451 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006913/0.3303, allocations: 187.7 kB / 451.2 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.3316, allocations: 0.52 MB / 451.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001238/0.3328, allocations: 1.332 MB / 453 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001749/0.3346, allocations: 1.578 MB / 454.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006287/0.3409, allocations: 4.853 MB / 459.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3409, allocations: 0 / 459.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3409, allocations: 9.031 kB / 459.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001272/0.341, allocations: 0 / 459.5 MB, free: 12.26 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: 1143 * Number of variables: 1143 Notification: Performance of Generate backend data structure: time 0.008073/0.3491, allocations: 3.723 MB / 463.2 MB, free: 9.512 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.3491, allocations: 9.969 kB / 463.2 MB, free: 9.512 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006347/0.3555, allocations: 1.715 MB / 464.9 MB, free: 8.605 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003389/0.3589, allocations: 1.587 MB / 466.5 MB, free: 7.504 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.359, allocations: 158.9 kB / 466.7 MB, free: 7.426 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004242/0.3594, allocations: 197.6 kB / 466.9 MB, free: 7.355 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01096/0.3704, allocations: 6.974 MB / 473.8 MB, free: 2.113 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.078e-05/0.3704, allocations: 39.69 kB / 473.9 MB, free: 2.074 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002724/0.3707, allocations: 103.9 kB / 474 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002377/0.3731, allocations: 1.555 MB / 475.5 MB, free: 428 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009975/0.3831, allocations: 5.494 MB / 481 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03271/0.4158, allocations: 27.18 MB / 0.4963 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002952/0.4187, allocations: 1.582 MB / 0.4978 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007233/0.4194, allocations: 471.5 kB / 0.4983 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00444/0.4239, allocations: 2.694 MB / 0.5009 GB, free: 9.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.57e-05/0.4239, allocations: 50.5 kB / 0.501 GB, free: 9.711 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 4.278e-06/0.4239, allocations: 5.156 kB / 0.501 GB, free: 9.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.004136/0.4281, allocations: 1.771 MB / 0.5027 GB, free: 7.934 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.4282, allocations: 217.6 kB / 0.5029 GB, free: 7.672 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0057/0.4339, allocations: 3.67 MB / 0.5065 GB, free: 4.012 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001013/0.434, allocations: 37.7 kB / 0.5065 GB, free: 3.969 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002282/0.4363, allocations: 2.796 MB / 0.5093 GB, free: 1.145 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004563/0.4367, allocations: 405.1 kB / 0.5096 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001229/0.438, allocations: 0.9609 MB / 0.5106 GB, free: 15.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.4381, allocations: 305.1 kB / 0.5109 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001838/0.4399, allocations: 1.212 MB / 0.5121 GB, free: 14.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004514/0.4444, allocations: 4.527 MB / 0.5165 GB, free: 8.023 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007294/0.4517, allocations: 6.279 MB / 0.5226 GB, free: 72 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.395e-05/0.4518, allocations: 36 kB / 0.5226 GB, free: 36 kB / 430.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.00902/0.4608, allocations: 5.461 MB / 0.528 GB, free: 10.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.247e-05/0.4609, allocations: 58.66 kB / 0.528 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001231/0.461, allocations: 120 kB / 0.5281 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001505/0.4612, allocations: 156.1 kB / 0.5283 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00281/0.464, allocations: 1.088 MB / 0.5294 GB, free: 9.164 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001867/0.4642, allocations: 227.1 kB / 0.5296 GB, free: 8.941 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003268/0.4674, allocations: 0.7019 MB / 0.5303 GB, free: 8.234 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003749/0.4678, allocations: 320 kB / 0.5306 GB, free: 7.922 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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 (589): * Single equations (assignments): 585 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00274/0.4706, allocations: 1.712 MB / 0.5322 GB, free: 6.203 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006049/0.4712, allocations: 317.8 kB / 0.5325 GB, free: 5.891 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000967/0.4721, allocations: 492.1 kB / 0.533 GB, free: 5.406 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.022e-05/0.4722, allocations: 23.98 kB / 0.533 GB, free: 5.383 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.4722, allocations: 0 / 0.533 GB, free: 5.383 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.4722, allocations: 11.98 kB / 0.533 GB, free: 5.371 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005561/0.4778, allocations: 3.159 MB / 0.5361 GB, free: 2.133 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.4778, allocations: 4 kB / 0.5361 GB, free: 2.129 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004496/0.4782, allocations: 99.88 kB / 0.5362 GB, free: 2.031 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.234e-05/0.4782, allocations: 8 kB / 0.5362 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.76e-05/0.4783, allocations: 15.98 kB / 0.5363 GB, free: 2.008 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-05/0.4783, allocations: 15.88 kB / 0.5363 GB, free: 1.992 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.4783, allocations: 4 kB / 0.5363 GB, free: 1.988 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00252/0.4808, allocations: 2.228 MB / 0.5384 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000767/0.4816, allocations: 446.7 kB / 0.5389 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002228/0.4818, allocations: 15.94 kB / 0.5389 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008273/0.4826, allocations: 39.97 kB / 0.5389 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.4827, allocations: 43.94 kB / 0.539 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-05/0.4828, allocations: 31.84 kB / 0.539 GB, free: 15.12 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003395/0.4862, allocations: 2.344 MB / 0.5413 GB, free: 12.79 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4862, allocations: 0 / 0.5413 GB, free: 12.79 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003925/0.4901, allocations: 0.8028 MB / 0.5421 GB, free: 11.99 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (prismatic.v,position.s) * 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 (58): * Single equations (assignments): 54 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003616/0.4905, allocations: 143 kB / 0.5422 GB, free: 11.84 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0046/0.4951, allocations: 2.708 MB / 0.5449 GB, free: 9.156 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.4951, allocations: 0 / 0.5449 GB, free: 9.156 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000618/0.4957, allocations: 405 kB / 0.5452 GB, free: 8.762 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002542/0.4982, allocations: 380.6 kB / 0.5456 GB, free: 8.402 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/0.5107, allocations: 7.159 MB / 0.5526 GB, free: 1.164 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002839/0.5136, allocations: 2.687 MB / 0.5552 GB, free: 14.46 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006528/0.5142, allocations: 235.4 kB / 0.5554 GB, free: 14.23 MB / 478.1 MB Notification: Performance of SimCode: time 7.32e-07/0.5142, allocations: 0 / 0.5554 GB, free: 14.23 MB / 478.1 MB Notification: Performance of Templates: time 0.06912/0.5834, allocations: 44.12 MB / 0.5985 GB, free: 2.18 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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: 11.056419895030558]