Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001721/0.001721, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.00213/0.00213, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 59.83 kB / 371.7 MB, free: 9.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2969, allocations: 52.18 MB / 423.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01186/0.3088, allocations: 9.096 MB / 433 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006935/0.3157, allocations: 2.694 MB / 435.7 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00163/0.3174, allocations: 59.75 kB / 435.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004292/0.3217, allocations: 1.857 MB / 437.6 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004915/0.3266, allocations: 1.373 MB / 439 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009724/0.3275, allocations: 203.6 kB / 439.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004234/0.3318, allocations: 2.374 MB / 441.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002878/0.3347, allocations: 1.734 MB / 443.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001997/0.3367, allocations: 1.016 MB / 444.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004142/0.3408, allocations: 2.479 MB / 446.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007661/0.3416, allocations: 188 kB / 447 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.3432, allocations: 0.5071 MB / 447.5 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001875/0.345, allocations: 1.347 MB / 448.8 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002688/0.3477, allocations: 1.587 MB / 450.4 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007185/0.3549, allocations: 4.873 MB / 455.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3549, allocations: 0 / 455.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3549, allocations: 0 / 455.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001838/0.3551, allocations: 4 kB / 455.3 MB, free: 15.11 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.008783/0.3639, allocations: 3.669 MB / 459 MB, free: 11.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.3639, allocations: 8.031 kB / 459 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005511/0.3694, allocations: 1.679 MB / 460.6 MB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005514/0.375, allocations: 1.521 MB / 462.2 MB, free: 8.137 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.3751, allocations: 147.8 kB / 462.3 MB, free: 7.992 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007939/0.3759, allocations: 199.8 kB / 462.5 MB, free: 7.797 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01412/0.3901, allocations: 6.986 MB / 469.5 MB, free: 268 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001134/0.3902, allocations: 31.72 kB / 469.5 MB, free: 236 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006917/0.3909, allocations: 103.8 kB / 469.6 MB, free: 132 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002736/0.3936, allocations: 1.555 MB / 471.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01163/0.4052, allocations: 5.489 MB / 476.7 MB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03915/0.4444, allocations: 27.07 MB / 0.4919 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002987/0.4474, allocations: 1.143 MB / 0.493 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008843/0.4482, allocations: 469.8 kB / 0.4935 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004979/0.4532, allocations: 2.222 MB / 0.4957 GB, free: 9.137 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.4533, allocations: 46.5 kB / 0.4957 GB, free: 9.082 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 2.906e-06/0.4533, allocations: 0 / 0.4957 GB, free: 9.082 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.004287/0.4576, allocations: 1.768 MB / 0.4974 GB, free: 7.309 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/0.4577, allocations: 221.6 kB / 0.4976 GB, free: 7.043 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007154/0.4649, allocations: 3.682 MB / 0.5012 GB, free: 3.371 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001573/0.465, allocations: 41.69 kB / 0.5013 GB, free: 3.324 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002864/0.4679, allocations: 2.788 MB / 0.504 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006047/0.4685, allocations: 405.2 kB / 0.5044 GB, free: 112 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001585/0.4701, allocations: 0.9647 MB / 0.5053 GB, free: 15.13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4702, allocations: 301.1 kB / 0.5056 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00208/0.4723, allocations: 1.208 MB / 0.5068 GB, free: 13.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004904/0.4772, allocations: 4.53 MB / 0.5112 GB, free: 7.387 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008241/0.4854, allocations: 6.298 MB / 0.5174 GB, free: 15.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001607/0.4856, allocations: 35.94 kB / 0.5174 GB, free: 15.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01084/0.4964, allocations: 5.45 MB / 0.5227 GB, free: 9.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.4966, allocations: 67.77 kB / 0.5228 GB, free: 9.867 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002141/0.4968, allocations: 120 kB / 0.5229 GB, free: 9.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001861/0.497, allocations: 156 kB / 0.5231 GB, free: 9.598 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003478/0.5004, allocations: 1.08 MB / 0.5241 GB, free: 8.516 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002341/0.5007, allocations: 235.1 kB / 0.5243 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003899/0.5046, allocations: 0.6985 MB / 0.525 GB, free: 7.582 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006209/0.5052, allocations: 312 kB / 0.5253 GB, free: 7.277 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.002939/0.5081, allocations: 1.719 MB / 0.527 GB, free: 5.547 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000637/0.5088, allocations: 313.9 kB / 0.5273 GB, free: 5.238 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.5099, allocations: 498.2 kB / 0.5278 GB, free: 4.746 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.093e-05/0.5099, allocations: 20 kB / 0.5278 GB, free: 4.727 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.5099, allocations: 3.938 kB / 0.5278 GB, free: 4.723 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.5099, allocations: 7.984 kB / 0.5278 GB, free: 4.715 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007908/0.5178, allocations: 3.13 MB / 0.5309 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/0.5179, allocations: 4 kB / 0.5309 GB, free: 1.504 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005281/0.5184, allocations: 100.2 kB / 0.531 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-05/0.5184, allocations: 12 kB / 0.531 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000144/0.5186, allocations: 19.94 kB / 0.531 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.104e-05/0.5186, allocations: 7.938 kB / 0.531 GB, free: 1.367 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.5186, allocations: 4 kB / 0.531 GB, free: 1.363 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002872/0.5214, allocations: 2.231 MB / 0.5332 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009839/0.5224, allocations: 365.7 kB / 0.5335 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004199/0.5228, allocations: 23.64 kB / 0.5335 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.5239, allocations: 35.91 kB / 0.5336 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.524, allocations: 47.92 kB / 0.5336 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-05/0.5241, allocations: 39.97 kB / 0.5337 GB, free: 14.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00418/0.5282, allocations: 2.337 MB / 0.5359 GB, free: 12.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5282, allocations: 0 / 0.5359 GB, free: 12.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003877/0.5321, allocations: 0.8144 MB / 0.5367 GB, free: 11.44 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.0003756/0.5325, allocations: 147 kB / 0.5369 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004831/0.5373, allocations: 2.703 MB / 0.5395 GB, free: 8.613 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.5373, allocations: 4.062 kB / 0.5395 GB, free: 8.609 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006285/0.538, allocations: 403.6 kB / 0.5399 GB, free: 8.215 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00228/0.5402, allocations: 384.6 kB / 0.5403 GB, free: 7.84 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/0.5535, allocations: 7.158 MB / 0.5473 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2123/0.7658, allocations: 2.676 MB / 0.5499 GB, free: 118.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007025/0.7665, allocations: 240.9 kB / 0.5501 GB, free: 118.5 MB / 462.1 MB Notification: Performance of SimCode: time 1.172e-06/0.7665, allocations: 3.719 kB / 0.5501 GB, free: 118.5 MB / 462.1 MB Notification: Performance of Templates: time 0.06349/0.83, allocations: 44.21 MB / 0.5933 GB, free: 84.17 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 11.663866287097335]