Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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.001292/0.001292, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.001409/0.001409, allocations: 218.8 kB / 24.49 MB, free: 3.93 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.429/1.429, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_4.1.0_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_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 47.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.211, allocations: 53.36 MB / 432.4 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01072/0.2217, allocations: 7.963 MB / 440.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005223/0.2269, allocations: 2.593 MB / 442.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007642/0.2277, allocations: 55.75 kB / 443 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003603/0.2313, allocations: 1.791 MB / 444.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002986/0.2343, allocations: 1.37 MB / 446.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005022/0.2348, allocations: 219.5 kB / 446.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002872/0.2377, allocations: 2.335 MB / 448.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002006/0.2397, allocations: 1.745 MB / 450.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/0.241, allocations: 1.012 MB / 451.4 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003365/0.2444, allocations: 2.583 MB / 454 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004971/0.2449, allocations: 188 kB / 454.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009453/0.2458, allocations: 423.5 kB / 454.6 MB, free: 328 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001282/0.2471, allocations: 1.34 MB / 456 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001362/0.2484, allocations: 1.121 MB / 457.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007705/0.2562, allocations: 4.869 MB / 461.9 MB, free: 8.957 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2562, allocations: 0 / 461.9 MB, free: 8.957 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2562, allocations: 0 / 461.9 MB, free: 8.957 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001177/0.2563, allocations: 4 kB / 461.9 MB, free: 8.953 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.009342/0.2656, allocations: 3.638 MB / 465.6 MB, free: 5.262 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.2657, allocations: 8.031 kB / 465.6 MB, free: 5.254 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009605/0.2753, allocations: 1.718 MB / 467.3 MB, free: 3.531 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005219/0.2805, allocations: 1.537 MB / 468.8 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001963/0.2807, allocations: 147.8 kB / 469 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006994/0.2814, allocations: 199.9 kB / 469.2 MB, free: 1.617 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01482/0.2962, allocations: 6.986 MB / 476.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.288e-05/0.2963, allocations: 39.73 kB / 476.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002846/0.2966, allocations: 99.88 kB / 476.3 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002418/0.299, allocations: 1.555 MB / 477.9 MB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009909/0.3089, allocations: 5.485 MB / 483.3 MB, free: 2.895 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03082/0.3397, allocations: 25.32 MB / 0.4967 GB, free: 8.691 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002679/0.3424, allocations: 1.132 MB / 0.4978 GB, free: 7.496 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007164/0.3431, allocations: 477.4 kB / 0.4983 GB, free: 7.008 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003892/0.347, allocations: 2.003 MB / 0.5003 GB, free: 4.973 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.964e-05/0.3471, allocations: 46.48 kB / 0.5003 GB, free: 4.918 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 5.791e-06/0.3471, allocations: 8 kB / 0.5003 GB, free: 4.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.003934/0.351, allocations: 1.747 MB / 0.502 GB, free: 3.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.3511, allocations: 217.6 kB / 0.5022 GB, free: 2.898 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004616/0.3557, allocations: 3.535 MB / 0.5057 GB, free: 15.35 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.467e-05/0.3558, allocations: 37.61 kB / 0.5057 GB, free: 15.31 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002134/0.3579, allocations: 2.806 MB / 0.5085 GB, free: 12.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003637/0.3583, allocations: 409.1 kB / 0.5088 GB, free: 12.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001169/0.3595, allocations: 0.9684 MB / 0.5098 GB, free: 11.1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3596, allocations: 301.3 kB / 0.5101 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001827/0.3614, allocations: 1.212 MB / 0.5113 GB, free: 9.582 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004703/0.3661, allocations: 4.526 MB / 0.5157 GB, free: 3.355 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008029/0.3742, allocations: 6.293 MB / 0.5218 GB, free: 11.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001107/0.3743, allocations: 40 kB / 0.5219 GB, free: 11.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01055/0.3848, allocations: 5.419 MB / 0.5272 GB, free: 5.926 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.3849, allocations: 58.81 kB / 0.5272 GB, free: 5.871 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001792/0.3851, allocations: 120 kB / 0.5273 GB, free: 5.754 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001764/0.3853, allocations: 156.8 kB / 0.5275 GB, free: 5.602 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003264/0.3885, allocations: 1.084 MB / 0.5285 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002104/0.3888, allocations: 235.1 kB / 0.5288 GB, free: 4.285 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003251/0.392, allocations: 0.6631 MB / 0.5294 GB, free: 3.621 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004463/0.3925, allocations: 319.9 kB / 0.5297 GB, free: 3.309 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.002554/0.395, allocations: 1.716 MB / 0.5314 GB, free: 1.582 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005405/0.3956, allocations: 298 kB / 0.5317 GB, free: 1.289 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008808/0.3964, allocations: 467.7 kB / 0.5321 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.3964, allocations: 3.984 kB / 0.5321 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3964, allocations: 4 kB / 0.5321 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008282/0.3973, allocations: 325.8 kB / 0.5324 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000236/0.3975, allocations: 23.92 kB / 0.5325 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000811/0.3983, allocations: 23.97 kB / 0.5325 GB, free: 460 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.3984, allocations: 43.88 kB / 0.5325 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001734/0.4002, allocations: 1.413 MB / 0.5339 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002495/0.4027, allocations: 2.227 MB / 0.5361 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005295/0.4032, allocations: 362.1 kB / 0.5364 GB, free: 12.38 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003068/0.4063, allocations: 2.098 MB / 0.5385 GB, free: 10.29 MB / 462.1 MB Notification: Performance of Backend: time 4.41e-07/0.4063, allocations: 0 / 0.5385 GB, free: 10.29 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005299/0.4115, allocations: 2.484 MB / 0.5409 GB, free: 7.828 MB / 462.1 MB Notification: Performance of SimCode: time 0.01143/0.423, allocations: 7.316 MB / 0.548 GB, free: 464 kB / 462.1 MB Notification: Performance of Templates: time 0.2188/0.6418, allocations: 29.07 MB / 0.5764 GB, free: 95.42 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 5.527501124000992]