Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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.001653/0.001653, allocations: 104.8 kB / 21.18 MB, free: 0.6992 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.001556/0.001556, allocations: 181.2 kB / 24.46 MB, free: 4.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 207.6 MB / 235.2 MB, free: 10.03 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 59.91 kB / 347.7 MB, free: 9.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3735, allocations: 49.15 MB / 396.8 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01063/0.3841, allocations: 9.094 MB / 405.9 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007983/0.3921, allocations: 2.691 MB / 408.6 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002716/0.3948, allocations: 55.62 kB / 408.7 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004909/0.3998, allocations: 1.866 MB / 410.5 MB, free: 484 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006228/0.406, allocations: 1.359 MB / 411.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.4075, allocations: 214.7 kB / 412.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005881/0.4134, allocations: 2.373 MB / 414.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003267/0.4167, allocations: 1.551 MB / 416 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00265/0.4193, allocations: 1.027 MB / 417.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004677/0.424, allocations: 2.472 MB / 419.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001072/0.4251, allocations: 188.7 kB / 419.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002342/0.4274, allocations: 0.4939 MB / 420.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002341/0.4298, allocations: 1.352 MB / 421.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002446/0.4322, allocations: 1.587 MB / 423.1 MB, free: 9.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007045/0.4393, allocations: 4.877 MB / 428 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.4393, allocations: 3.938 kB / 428 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4393, allocations: 0 / 428 MB, free: 4.117 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002022/0.4395, allocations: 0 / 428 MB, free: 4.117 MB / 334.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.008676/0.4482, allocations: 3.662 MB / 431.7 MB, free: 412 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.4482, allocations: 15.98 kB / 431.7 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005211/0.4534, allocations: 1.675 MB / 433.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003522/0.4569, allocations: 1.521 MB / 434.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.4571, allocations: 147.8 kB / 435 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003958/0.4575, allocations: 199.9 kB / 435.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01169/0.4692, allocations: 6.982 MB / 442.2 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.513e-05/0.4692, allocations: 31.69 kB / 442.2 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002993/0.4695, allocations: 103.9 kB / 442.3 MB, free: 5.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002543/0.4721, allocations: 1.555 MB / 443.9 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01249/0.4846, allocations: 5.489 MB / 449.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04094/0.5255, allocations: 27.08 MB / 476.5 MB, free: 2.094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003209/0.5287, allocations: 1.127 MB / 477.6 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008526/0.5296, allocations: 466.7 kB / 478.1 MB, free: 436 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005695/0.5353, allocations: 2.23 MB / 480.3 MB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.315e-05/0.5353, allocations: 50.5 kB / 480.3 MB, free: 14.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=89): time 4.399e-06/0.5353, allocations: 0 / 480.3 MB, free: 14.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=89): time 0.004627/0.54, allocations: 1.773 MB / 482.1 MB, free: 12.31 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001773/0.5401, allocations: 213.6 kB / 482.3 MB, free: 12.05 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008134/0.5483, allocations: 3.674 MB / 486 MB, free: 8.391 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001324/0.5484, allocations: 41.86 kB / 486 MB, free: 8.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00301/0.5514, allocations: 2.8 MB / 488.8 MB, free: 5.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006023/0.552, allocations: 405.1 kB / 489.2 MB, free: 5.117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001697/0.5537, allocations: 0.9607 MB / 490.2 MB, free: 4.145 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.5539, allocations: 309.1 kB / 490.5 MB, free: 3.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002203/0.5561, allocations: 1.204 MB / 491.7 MB, free: 2.629 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006309/0.5624, allocations: 4.534 MB / 496.2 MB, free: 12.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008641/0.571, allocations: 6.292 MB / 0.4907 GB, free: 4.426 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001411/0.5712, allocations: 43.94 kB / 0.4908 GB, free: 4.383 MB / 414.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01177/0.5829, allocations: 5.452 MB / 0.4961 GB, free: 14.92 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001955/0.5831, allocations: 56 kB / 0.4962 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002099/0.5833, allocations: 120 kB / 0.4963 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001901/0.5835, allocations: 152 kB / 0.4964 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003412/0.587, allocations: 1.092 MB / 0.4975 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002586/0.5872, allocations: 227.1 kB / 0.4977 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004185/0.5914, allocations: 0.706 MB / 0.4984 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006979/0.5921, allocations: 316 kB / 0.4987 GB, free: 12.27 MB / 430.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.003446/0.5955, allocations: 1.712 MB / 0.5004 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007525/0.5963, allocations: 313.8 kB / 0.5007 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.5976, allocations: 0.4906 MB / 0.5011 GB, free: 9.734 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-05/0.5977, allocations: 27.89 kB / 0.5012 GB, free: 9.711 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/0.5977, allocations: 7.984 kB / 0.5012 GB, free: 9.703 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.5977, allocations: 3.984 kB / 0.5012 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007975/0.6057, allocations: 3.114 MB / 0.5042 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/0.6057, allocations: 4 kB / 0.5042 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005398/0.6062, allocations: 99.88 kB / 0.5043 GB, free: 6.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.019e-05/0.6062, allocations: 11.94 kB / 0.5043 GB, free: 6.395 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.179e-05/0.6063, allocations: 24.2 kB / 0.5044 GB, free: 6.371 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.405e-05/0.6063, allocations: 15.98 kB / 0.5044 GB, free: 6.355 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.6063, allocations: 4 kB / 0.5044 GB, free: 6.352 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002993/0.6093, allocations: 2.231 MB / 0.5066 GB, free: 4.062 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/0.6103, allocations: 357.6 kB / 0.5069 GB, free: 3.711 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005645/0.6109, allocations: 27.86 kB / 0.5069 GB, free: 3.684 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/0.6121, allocations: 31.97 kB / 0.507 GB, free: 3.652 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.6123, allocations: 51.8 kB / 0.507 GB, free: 3.602 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.181e-05/0.6124, allocations: 32.06 kB / 0.507 GB, free: 3.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.005149/0.6175, allocations: 2.337 MB / 0.5093 GB, free: 1.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6175, allocations: 0 / 0.5093 GB, free: 1.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004482/0.622, allocations: 0.8145 MB / 0.5101 GB, free: 444 kB / 430.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.0004004/0.6224, allocations: 143 kB / 0.5102 GB, free: 292 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005123/0.6275, allocations: 2.711 MB / 0.5129 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.6275, allocations: 0.6875 kB / 0.5129 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006405/0.6282, allocations: 407.7 kB / 0.5133 GB, free: 13.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002664/0.6308, allocations: 379.1 kB / 0.5136 GB, free: 12.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01552/0.6463, allocations: 6.783 MB / 0.5203 GB, free: 5.973 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004512/0.6508, allocations: 2.687 MB / 0.5229 GB, free: 3.262 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003923/0.6548, allocations: 1.486 MB / 0.5243 GB, free: 1.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006533/0.6554, allocations: 203.4 kB / 0.5245 GB, free: 1.57 MB / 446.1 MB Notification: Performance of SimCode: time 1.352e-06/0.6554, allocations: 4 kB / 0.5245 GB, free: 1.566 MB / 446.1 MB Notification: Performance of Templates: time 0.05466/0.7101, allocations: 22.73 MB / 0.5467 GB, free: 10.8 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 6.231910992413759]