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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001351/0.001351, allocations: 116.6 kB / 17.83 MB, free: 5.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001389/0.001389, allocations: 203.6 kB / 18.78 MB, free: 4.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.484/1.484, allocations: 230.4 MB / 250 MB, free: 9.051 MB / 206.1 MB 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.001961/0.001961, allocations: 71.83 kB / 367.4 MB, free: 7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2624, allocations: 53.31 MB / 420.7 MB, free: 8.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01191/0.2744, allocations: 9.041 MB / 429.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005483/0.2798, allocations: 2.729 MB / 432.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007443/0.2806, allocations: 47.88 kB / 432.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003774/0.2844, allocations: 1.861 MB / 434.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003252/0.2876, allocations: 1.342 MB / 435.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000513/0.2881, allocations: 219.6 kB / 435.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003187/0.2913, allocations: 2.343 MB / 438.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002116/0.2934, allocations: 1.778 MB / 440 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.2947, allocations: 0.9924 MB / 441 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00336/0.2981, allocations: 2.575 MB / 443.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000442/0.2985, allocations: 188 kB / 443.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009644/0.2995, allocations: 0.515 MB / 444.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001402/0.3009, allocations: 1.328 MB / 445.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001603/0.3025, allocations: 1.579 MB / 447.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005753/0.3083, allocations: 4.865 MB / 452.1 MB, free: 8.773 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3083, allocations: 0 / 452.1 MB, free: 8.773 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3083, allocations: 0 / 452.1 MB, free: 8.773 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001114/0.3084, allocations: 0 / 452.1 MB, free: 8.773 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.006669/0.3151, allocations: 3.717 MB / 455.8 MB, free: 4.988 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.3151, allocations: 12.03 kB / 455.8 MB, free: 4.977 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006054/0.3212, allocations: 1.718 MB / 457.5 MB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003017/0.3242, allocations: 1.589 MB / 459.1 MB, free: 1.609 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.3243, allocations: 159.8 kB / 459.3 MB, free: 1.453 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003954/0.3247, allocations: 195.9 kB / 459.4 MB, free: 1.262 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01012/0.3348, allocations: 6.99 MB / 466.4 MB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.96e-05/0.3349, allocations: 27.75 kB / 466.5 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000307/0.3352, allocations: 99.89 kB / 466.6 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002471/0.3377, allocations: 1.555 MB / 468.1 MB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01033/0.348, allocations: 5.505 MB / 473.6 MB, free: 2.527 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03316/0.3812, allocations: 27.18 MB / 0.4891 GB, free: 6.457 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002964/0.3841, allocations: 1.572 MB / 0.4906 GB, free: 4.711 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000746/0.3849, allocations: 481.8 kB / 0.4911 GB, free: 4.219 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004212/0.3891, allocations: 2.698 MB / 0.4937 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/0.3891, allocations: 46.5 kB / 0.4937 GB, free: 1.305 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 2.745e-06/0.3891, allocations: 0 / 0.4937 GB, free: 1.305 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.004053/0.3932, allocations: 1.774 MB / 0.4955 GB, free: 15.53 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.3933, allocations: 217.6 kB / 0.4957 GB, free: 15.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005465/0.3988, allocations: 3.67 MB / 0.4993 GB, free: 11.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.3989, allocations: 37.7 kB / 0.4993 GB, free: 11.56 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002259/0.4012, allocations: 2.796 MB / 0.502 GB, free: 8.738 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004377/0.4016, allocations: 413.3 kB / 0.5024 GB, free: 8.332 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001241/0.4028, allocations: 0.9568 MB / 0.5034 GB, free: 7.363 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.403, allocations: 301.1 kB / 0.5036 GB, free: 7.066 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001887/0.4049, allocations: 1.212 MB / 0.5048 GB, free: 5.848 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00472/0.4096, allocations: 4.53 MB / 0.5092 GB, free: 15.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007474/0.4171, allocations: 6.283 MB / 0.5154 GB, free: 7.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.637e-05/0.4171, allocations: 39.75 kB / 0.5154 GB, free: 7.625 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009176/0.4263, allocations: 5.448 MB / 0.5207 GB, free: 2.172 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.547e-05/0.4264, allocations: 63.22 kB / 0.5208 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001157/0.4265, allocations: 116 kB / 0.5209 GB, free: 2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001698/0.4267, allocations: 156 kB / 0.5211 GB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002992/0.4297, allocations: 1.088 MB / 0.5221 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001929/0.4299, allocations: 231.1 kB / 0.5223 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003195/0.433, allocations: 0.7019 MB / 0.523 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003989/0.4334, allocations: 312 kB / 0.5233 GB, free: 15.52 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.002591/0.436, allocations: 1.715 MB / 0.525 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004928/0.4365, allocations: 313.8 kB / 0.5253 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008885/0.4374, allocations: 494.3 kB / 0.5258 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-05/0.4375, allocations: 35.97 kB / 0.5258 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.4375, allocations: 0 / 0.5258 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.4375, allocations: 4 kB / 0.5258 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005439/0.4429, allocations: 3.15 MB / 0.5289 GB, free: 9.719 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.4429, allocations: 0 / 0.5289 GB, free: 9.719 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004804/0.4434, allocations: 107.8 kB / 0.529 GB, free: 9.613 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/0.4434, allocations: 11.94 kB / 0.529 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.383e-05/0.4435, allocations: 23.97 kB / 0.529 GB, free: 9.578 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.827e-06/0.4435, allocations: 8 kB / 0.529 GB, free: 9.57 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.4435, allocations: 4.281 kB / 0.529 GB, free: 9.566 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002645/0.4461, allocations: 2.228 MB / 0.5312 GB, free: 7.285 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007533/0.4469, allocations: 446.7 kB / 0.5316 GB, free: 6.828 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002426/0.4471, allocations: 27.94 kB / 0.5317 GB, free: 6.801 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008178/0.448, allocations: 27.97 kB / 0.5317 GB, free: 6.773 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.4481, allocations: 51.81 kB / 0.5317 GB, free: 6.723 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.857e-05/0.4481, allocations: 28 kB / 0.5318 GB, free: 6.695 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003431/0.4516, allocations: 2.337 MB / 0.534 GB, free: 4.375 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4516, allocations: 0 / 0.534 GB, free: 4.375 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003536/0.4551, allocations: 0.8067 MB / 0.5348 GB, free: 3.566 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.0003367/0.4554, allocations: 139 kB / 0.535 GB, free: 3.418 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004312/0.4598, allocations: 2.706 MB / 0.5376 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4598, allocations: 1.812 kB / 0.5376 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006002/0.4604, allocations: 408.1 kB / 0.538 GB, free: 348 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1874/0.6477, allocations: 381 kB / 0.5384 GB, free: 116.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009643/0.6574, allocations: 6.773 MB / 0.545 GB, free: 114.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002212/0.6596, allocations: 2.677 MB / 0.5476 GB, free: 112.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002702/0.6623, allocations: 1.491 MB / 0.549 GB, free: 112.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003547/0.6626, allocations: 200.9 kB / 0.5492 GB, free: 112.8 MB / 462.1 MB Notification: Performance of SimCode: time 8.81e-07/0.6626, allocations: 0 / 0.5492 GB, free: 112.8 MB / 462.1 MB Notification: Performance of Templates: time 0.03835/0.701, allocations: 19.72 MB / 0.5685 GB, free: 95.79 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (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) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches