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.001523/0.001523, allocations: 114 kB / 21.18 MB, free: 0.5898 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.001432/0.001432, allocations: 206.6 kB / 24.47 MB, free: 3.996 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.446/1.446, allocations: 230.5 MB / 258.1 MB, free: 8.148 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.001906/0.001906, allocations: 71.83 kB / 378.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2414, allocations: 53.31 MB / 432.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.0108/0.2523, allocations: 9.069 MB / 441.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005781/0.258, allocations: 2.747 MB / 443.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.2592, allocations: 47.88 kB / 443.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003693/0.2629, allocations: 1.865 MB / 445.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003302/0.2662, allocations: 1.346 MB / 447.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005518/0.2667, allocations: 223.5 kB / 447.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003103/0.2698, allocations: 2.335 MB / 449.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002056/0.2719, allocations: 1.551 MB / 451.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.2733, allocations: 0.9963 MB / 452.2 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003413/0.2767, allocations: 2.575 MB / 454.8 MB, free: 488 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004473/0.2772, allocations: 192 kB / 455 MB, free: 296 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.2782, allocations: 0.5188 MB / 455.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001276/0.2795, allocations: 1.336 MB / 456.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001524/0.281, allocations: 1.572 MB / 458.4 MB, free: 12.85 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005214/0.2862, allocations: 4.854 MB / 463.3 MB, free: 7.973 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2862, allocations: 0 / 463.3 MB, free: 7.973 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2862, allocations: 0 / 463.3 MB, free: 7.973 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.179e-05/0.2863, allocations: 0 / 463.3 MB, free: 7.973 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.006047/0.2923, allocations: 3.718 MB / 467 MB, free: 4.184 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2924, allocations: 8.031 kB / 467 MB, free: 4.176 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005972/0.2983, allocations: 1.722 MB / 468.7 MB, free: 2.449 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003251/0.3016, allocations: 1.597 MB / 470.3 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.3017, allocations: 147.8 kB / 470.5 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003518/0.3021, allocations: 195.9 kB / 470.7 MB, free: 472 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009297/0.3114, allocations: 6.986 MB / 477.6 MB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.744e-05/0.3114, allocations: 31.7 kB / 477.7 MB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002443/0.3117, allocations: 99.88 kB / 477.8 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00232/0.314, allocations: 1.562 MB / 479.3 MB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009093/0.3231, allocations: 5.489 MB / 484.8 MB, free: 1.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0309/0.354, allocations: 27.18 MB / 0.5 GB, free: 5.664 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002974/0.357, allocations: 1.587 MB / 0.5016 GB, free: 3.902 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007783/0.3577, allocations: 472.8 kB / 0.502 GB, free: 3.422 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004928/0.3627, allocations: 2.69 MB / 0.5046 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.979e-05/0.3627, allocations: 54.5 kB / 0.5047 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 2.785e-06/0.3627, allocations: 0 / 0.5047 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.004223/0.367, allocations: 1.767 MB / 0.5064 GB, free: 14.74 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.3671, allocations: 217.6 kB / 0.5066 GB, free: 14.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006689/0.3738, allocations: 3.682 MB / 0.5102 GB, free: 10.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.3739, allocations: 33.7 kB / 0.5102 GB, free: 10.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002578/0.3765, allocations: 2.796 MB / 0.513 GB, free: 7.941 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005554/0.377, allocations: 409.1 kB / 0.5134 GB, free: 7.539 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001662/0.3787, allocations: 0.9568 MB / 0.5143 GB, free: 6.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.3789, allocations: 305.1 kB / 0.5146 GB, free: 6.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001912/0.3808, allocations: 1.204 MB / 0.5158 GB, free: 5.059 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004836/0.3856, allocations: 4.526 MB / 0.5202 GB, free: 14.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007417/0.393, allocations: 6.298 MB / 0.5263 GB, free: 6.863 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.227e-05/0.3931, allocations: 39.88 kB / 0.5264 GB, free: 6.824 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009712/0.4028, allocations: 5.454 MB / 0.5317 GB, free: 1.367 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.489e-05/0.4029, allocations: 56 kB / 0.5318 GB, free: 1.312 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001498/0.4031, allocations: 120 kB / 0.5319 GB, free: 1.195 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001738/0.4032, allocations: 156 kB / 0.532 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003152/0.4064, allocations: 1.084 MB / 0.5331 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002008/0.4066, allocations: 231 kB / 0.5333 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003245/0.4098, allocations: 0.6946 MB / 0.534 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004064/0.4102, allocations: 316 kB / 0.5343 GB, free: 14.72 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.002535/0.4128, allocations: 1.716 MB / 0.536 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005218/0.4133, allocations: 317.8 kB / 0.5363 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008898/0.4142, allocations: 490.3 kB / 0.5367 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.031e-05/0.4142, allocations: 27.97 kB / 0.5367 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.4143, allocations: 4 kB / 0.5368 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.4143, allocations: 0 / 0.5368 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005839/0.4201, allocations: 3.15 MB / 0.5398 GB, free: 8.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.4201, allocations: 4 kB / 0.5398 GB, free: 8.926 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004664/0.4206, allocations: 108.1 kB / 0.5399 GB, free: 8.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/0.4206, allocations: 8 kB / 0.5399 GB, free: 8.812 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.767e-05/0.4206, allocations: 27.92 kB / 0.54 GB, free: 8.785 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/0.4207, allocations: 7.938 kB / 0.54 GB, free: 8.777 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.4207, allocations: 4 kB / 0.54 GB, free: 8.773 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002539/0.4232, allocations: 2.228 MB / 0.5422 GB, free: 6.492 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008645/0.4241, allocations: 442.7 kB / 0.5426 GB, free: 6.039 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002536/0.4243, allocations: 35.75 kB / 0.5426 GB, free: 6.004 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000806/0.4251, allocations: 31.97 kB / 0.5426 GB, free: 5.973 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.4252, allocations: 51.88 kB / 0.5427 GB, free: 5.922 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.766e-05/0.4253, allocations: 32 kB / 0.5427 GB, free: 5.891 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003558/0.4288, allocations: 2.329 MB / 0.545 GB, free: 3.578 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4288, allocations: 0 / 0.545 GB, free: 3.578 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003704/0.4325, allocations: 0.8067 MB / 0.5458 GB, free: 2.77 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.0003308/0.4329, allocations: 151 kB / 0.5459 GB, free: 2.613 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.208/0.6409, allocations: 2.7 MB / 0.5486 GB, free: 114.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.6409, allocations: 3.312 kB / 0.5486 GB, free: 114.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008543/0.6418, allocations: 400.9 kB / 0.549 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.002442/0.6442, allocations: 372.1 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.01085/0.6551, allocations: 7.153 MB / 0.5563 GB, free: 111.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002179/0.6573, allocations: 2.693 MB / 0.5589 GB, free: 110.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005118/0.6578, allocations: 234.7 kB / 0.5591 GB, free: 110.7 MB / 462.1 MB Notification: Performance of SimCode: time 1.093e-06/0.6578, allocations: 3.906 kB / 0.5591 GB, free: 110.7 MB / 462.1 MB Notification: Performance of Templates: time 0.04961/0.7074, allocations: 44.13 MB / 0.6022 GB, free: 71.2 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 -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: 10.723691144958138]