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.001649/0.001649, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001917/0.001917, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.536/1.536, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.001564/0.001564, allocations: 55.92 kB / 378.2 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.257, allocations: 53.37 MB / 431.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01112/0.2681, allocations: 7.959 MB / 439.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006573/0.2747, allocations: 2.593 MB / 442.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001495/0.2762, allocations: 59.75 kB / 442.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0046/0.2808, allocations: 1.791 MB / 444 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004502/0.2853, allocations: 1.362 MB / 445.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008736/0.2862, allocations: 219.7 kB / 445.6 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004088/0.2903, allocations: 2.343 MB / 447.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003025/0.2933, allocations: 1.722 MB / 449.6 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00211/0.2954, allocations: 1.012 MB / 450.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004066/0.2995, allocations: 2.513 MB / 453.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007758/0.3002, allocations: 188 kB / 453.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.3018, allocations: 427.4 kB / 453.8 MB, free: 436 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001848/0.3037, allocations: 1.332 MB / 455.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00242/0.3061, allocations: 1.121 MB / 456.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006439/0.3125, allocations: 4.873 MB / 461.1 MB, free: 9.066 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3125, allocations: 4 kB / 461.1 MB, free: 9.062 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3125, allocations: 0 / 461.1 MB, free: 9.062 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001846/0.3127, allocations: 0 / 461.1 MB, free: 9.062 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.008564/0.3213, allocations: 3.642 MB / 464.7 MB, free: 5.367 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.3213, allocations: 12.03 kB / 464.8 MB, free: 5.355 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006359/0.3277, allocations: 1.714 MB / 466.5 MB, free: 3.637 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003979/0.3317, allocations: 1.537 MB / 468 MB, free: 2.062 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.3318, allocations: 151.8 kB / 468.2 MB, free: 1.914 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003769/0.3322, allocations: 195.9 kB / 468.3 MB, free: 1.723 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01105/0.3432, allocations: 6.994 MB / 475.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.544e-05/0.3433, allocations: 23.75 kB / 475.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004429/0.3438, allocations: 95.89 kB / 475.5 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002532/0.3463, allocations: 1.558 MB / 477 MB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01093/0.3572, allocations: 5.485 MB / 482.5 MB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03739/0.3946, allocations: 25.32 MB / 0.4959 GB, free: 8.805 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002977/0.3976, allocations: 1.124 MB / 0.497 GB, free: 7.617 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008466/0.3984, allocations: 469.6 kB / 0.4975 GB, free: 7.137 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004516/0.4029, allocations: 2.019 MB / 0.4994 GB, free: 5.086 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.403, allocations: 46.5 kB / 0.4995 GB, free: 5.031 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 3.496e-06/0.403, allocations: 3.938 kB / 0.4995 GB, free: 5.027 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.004136/0.4071, allocations: 1.76 MB / 0.5012 GB, free: 3.262 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/0.4073, allocations: 213.6 kB / 0.5014 GB, free: 3.004 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006734/0.414, allocations: 3.527 MB / 0.5048 GB, free: 15.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.851e-05/0.4141, allocations: 37.7 kB / 0.5049 GB, free: 15.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002569/0.4167, allocations: 2.81 MB / 0.5076 GB, free: 12.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005641/0.4172, allocations: 413.3 kB / 0.508 GB, free: 12.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001577/0.4188, allocations: 0.9646 MB / 0.509 GB, free: 11.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4189, allocations: 301.1 kB / 0.5092 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002126/0.4211, allocations: 1.208 MB / 0.5104 GB, free: 9.695 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005492/0.4266, allocations: 4.53 MB / 0.5149 GB, free: 3.465 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008098/0.4347, allocations: 6.288 MB / 0.521 GB, free: 11.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001319/0.4348, allocations: 36 kB / 0.521 GB, free: 11.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01085/0.4456, allocations: 5.424 MB / 0.5263 GB, free: 6.047 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.4458, allocations: 56 kB / 0.5264 GB, free: 5.992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001859/0.4459, allocations: 124 kB / 0.5265 GB, free: 5.871 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001752/0.4461, allocations: 156.1 kB / 0.5266 GB, free: 5.719 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003252/0.4494, allocations: 1.084 MB / 0.5277 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002361/0.4496, allocations: 231.1 kB / 0.5279 GB, free: 4.406 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004059/0.4537, allocations: 0.6671 MB / 0.5286 GB, free: 3.734 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007306/0.4544, allocations: 316 kB / 0.5289 GB, free: 3.426 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.00316/0.4576, allocations: 1.712 MB / 0.5305 GB, free: 1.703 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007913/0.4584, allocations: 294 kB / 0.5308 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.4596, allocations: 482.5 kB / 0.5313 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.581e-05/0.4596, allocations: 16 kB / 0.5313 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.4597, allocations: 4 kB / 0.5313 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.4597, allocations: 3.984 kB / 0.5313 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006074/0.4657, allocations: 2.364 MB / 0.5336 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.4658, allocations: 7.938 kB / 0.5336 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004854/0.4662, allocations: 103.9 kB / 0.5337 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.315e-05/0.4662, allocations: 4 kB / 0.5337 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-05/0.4663, allocations: 19.98 kB / 0.5337 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.079e-05/0.4663, allocations: 7.938 kB / 0.5338 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.094e-06/0.4663, allocations: 8.219 kB / 0.5338 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002684/0.469, allocations: 2.209 MB / 0.5359 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008345/0.4698, allocations: 341.7 kB / 0.5362 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003761/0.4702, allocations: 16 kB / 0.5363 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000947/0.4712, allocations: 31.97 kB / 0.5363 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.4713, allocations: 51.86 kB / 0.5363 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-05/0.4713, allocations: 28 kB / 0.5364 GB, free: 11.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003692/0.475, allocations: 2.106 MB / 0.5384 GB, free: 9.504 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.475, allocations: 0 / 0.5384 GB, free: 9.504 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003938/0.479, allocations: 0.8336 MB / 0.5392 GB, free: 8.668 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.0003246/0.4793, allocations: 135 kB / 0.5394 GB, free: 8.527 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004716/0.484, allocations: 2.718 MB / 0.542 GB, free: 5.832 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.484, allocations: 0 / 0.542 GB, free: 5.832 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006244/0.4846, allocations: 405.6 kB / 0.5424 GB, free: 5.438 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/0.4869, allocations: 339.1 kB / 0.5427 GB, free: 5.105 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2156/0.7025, allocations: 6.718 MB / 0.5493 GB, free: 112.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002648/0.7051, allocations: 2.132 MB / 0.5514 GB, free: 112.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002894/0.708, allocations: 1.462 MB / 0.5528 GB, free: 112.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003398/0.7084, allocations: 184 kB / 0.553 GB, free: 112.4 MB / 462.1 MB Notification: Performance of SimCode: time 7.32e-07/0.7084, allocations: 1.375 kB / 0.553 GB, free: 112.4 MB / 462.1 MB Notification: Performance of Templates: time 0.03625/0.7446, allocations: 19.93 MB / 0.5724 GB, free: 99.18 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/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_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.914086287841201]