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.001406/0.001406, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.001603/0.001603, allocations: 220.1 kB / 24.47 MB, free: 4.359 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.548/1.548, allocations: 230.4 MB / 258.1 MB, free: 8.141 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.002331/0.002331, allocations: 63.84 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3154, allocations: 53.32 MB / 432.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01206/0.3275, allocations: 9.064 MB / 441.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006845/0.3343, allocations: 2.742 MB / 443.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001789/0.3361, allocations: 47.88 kB / 443.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003881/0.34, allocations: 1.872 MB / 445.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004304/0.3443, allocations: 1.35 MB / 447.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000608/0.3449, allocations: 219.6 kB / 447.4 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003464/0.3483, allocations: 2.33 MB / 449.7 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002194/0.3505, allocations: 1.555 MB / 451.2 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001603/0.3521, allocations: 0.9886 MB / 452.2 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003652/0.3558, allocations: 2.583 MB / 454.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005081/0.3563, allocations: 188 kB / 455 MB, free: 336 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/0.3574, allocations: 0.5149 MB / 455.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001365/0.3588, allocations: 1.332 MB / 456.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001604/0.3604, allocations: 1.579 MB / 458.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005896/0.3663, allocations: 4.861 MB / 463.3 MB, free: 8.004 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3663, allocations: 0 / 463.3 MB, free: 8.004 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3663, allocations: 0 / 463.3 MB, free: 8.004 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001011/0.3664, allocations: 0 / 463.3 MB, free: 8.004 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.007123/0.3735, allocations: 3.71 MB / 467 MB, free: 4.223 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3735, allocations: 8.031 kB / 467 MB, free: 4.215 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006259/0.3798, allocations: 1.722 MB / 468.7 MB, free: 2.488 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003614/0.3834, allocations: 1.605 MB / 470.3 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.3835, allocations: 147.8 kB / 470.5 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003731/0.3839, allocations: 199.9 kB / 470.7 MB, free: 500 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01092/0.3948, allocations: 6.979 MB / 477.6 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-05/0.3949, allocations: 31.7 kB / 477.7 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002773/0.3952, allocations: 103.9 kB / 477.8 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002517/0.3977, allocations: 1.551 MB / 479.3 MB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01127/0.409, allocations: 5.497 MB / 484.8 MB, free: 1.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03846/0.4474, allocations: 27.18 MB / 0.5 GB, free: 5.699 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003312/0.4507, allocations: 1.579 MB / 0.5015 GB, free: 3.945 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009603/0.4517, allocations: 472.9 kB / 0.502 GB, free: 3.465 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005722/0.4574, allocations: 2.686 MB / 0.5046 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/0.4575, allocations: 54.56 kB / 0.5047 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 4.389e-06/0.4575, allocations: 0 / 0.5047 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.004502/0.462, allocations: 1.786 MB / 0.5064 GB, free: 14.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/0.4621, allocations: 213.6 kB / 0.5066 GB, free: 14.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007791/0.4699, allocations: 3.677 MB / 0.5102 GB, free: 10.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001453/0.4701, allocations: 37.7 kB / 0.5102 GB, free: 10.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002814/0.4729, allocations: 2.793 MB / 0.513 GB, free: 7.977 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006393/0.4735, allocations: 405.1 kB / 0.5134 GB, free: 7.578 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002091/0.4756, allocations: 0.9646 MB / 0.5143 GB, free: 6.602 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4757, allocations: 301.1 kB / 0.5146 GB, free: 6.305 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002312/0.4781, allocations: 1.208 MB / 0.5158 GB, free: 5.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005236/0.4833, allocations: 4.53 MB / 0.5202 GB, free: 14.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008028/0.4913, allocations: 6.279 MB / 0.5263 GB, free: 6.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001246/0.4914, allocations: 40.5 kB / 0.5264 GB, free: 6.871 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01131/0.5028, allocations: 5.455 MB / 0.5317 GB, free: 1.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.5029, allocations: 58.66 kB / 0.5317 GB, free: 1.355 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000239/0.5031, allocations: 120 kB / 0.5319 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002086/0.5033, allocations: 152 kB / 0.532 GB, free: 1.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003621/0.507, allocations: 1.088 MB / 0.5331 GB, free: 0 / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002656/0.5072, allocations: 231.1 kB / 0.5333 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004026/0.5113, allocations: 0.7059 MB / 0.534 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007106/0.512, allocations: 320 kB / 0.5343 GB, free: 14.75 MB / 462.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.003667/0.5156, allocations: 1.712 MB / 0.536 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009078/0.5165, allocations: 317.8 kB / 0.5363 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.5179, allocations: 498.2 kB / 0.5367 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.55e-05/0.518, allocations: 16 kB / 0.5367 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.518, allocations: 4 kB / 0.5367 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.518, allocations: 3.984 kB / 0.5368 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008316/0.5263, allocations: 3.158 MB / 0.5398 GB, free: 8.953 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/0.5263, allocations: 4 kB / 0.5398 GB, free: 8.949 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005174/0.5269, allocations: 107.8 kB / 0.5399 GB, free: 8.844 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-05/0.5269, allocations: 4 kB / 0.5399 GB, free: 8.84 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.3e-05/0.5269, allocations: 15.94 kB / 0.54 GB, free: 8.824 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.167e-05/0.5269, allocations: 8.281 kB / 0.54 GB, free: 8.816 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.527, allocations: 11.94 kB / 0.54 GB, free: 8.805 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002928/0.5299, allocations: 2.228 MB / 0.5422 GB, free: 6.523 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/0.531, allocations: 442.7 kB / 0.5426 GB, free: 6.07 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005358/0.5315, allocations: 23.88 kB / 0.5426 GB, free: 6.047 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/0.5327, allocations: 31.95 kB / 0.5426 GB, free: 6.016 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.5328, allocations: 51.81 kB / 0.5427 GB, free: 5.965 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.5e-05/0.5329, allocations: 32 kB / 0.5427 GB, free: 5.934 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004793/0.5377, allocations: 2.337 MB / 0.545 GB, free: 3.613 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5377, allocations: 0 / 0.545 GB, free: 3.613 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004582/0.5423, allocations: 0.8028 MB / 0.5458 GB, free: 2.809 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.0004885/0.5428, allocations: 147 kB / 0.5459 GB, free: 2.656 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.2446/0.7873, allocations: 2.706 MB / 0.5486 GB, free: 114.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/0.7873, allocations: 0.5312 kB / 0.5486 GB, free: 114.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.7883, allocations: 403 kB / 0.5489 GB, free: 114.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002645/0.791, allocations: 378.3 kB / 0.5493 GB, free: 114.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.8016, allocations: 6.79 MB / 0.5559 GB, free: 112.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002345/0.8039, allocations: 2.682 MB / 0.5586 GB, free: 111 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002789/0.8067, allocations: 1.493 MB / 0.56 GB, free: 110.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003346/0.8071, allocations: 201.4 kB / 0.5602 GB, free: 110.8 MB / 462.1 MB Notification: Performance of SimCode: time 1.002e-06/0.8071, allocations: 0 / 0.5602 GB, free: 110.8 MB / 462.1 MB Notification: Performance of Templates: time 0.04332/0.8504, allocations: 20.69 MB / 0.5804 GB, free: 93.71 MB / 462.1 MB " [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 -s cvode -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: 6.069848785176873]