Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001456/0.001456, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001599/0.001599, allocations: 217.1 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 207.7 MB / 235.3 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 50.58 kB / 347.7 MB, free: 9.363 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2821, allocations: 49.16 MB / 396.9 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.008559/0.2907, allocations: 7.99 MB / 404.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005642/0.2963, allocations: 2.54 MB / 407.4 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000927/0.2972, allocations: 56.53 kB / 407.4 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003441/0.3007, allocations: 1.792 MB / 409.2 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003387/0.3041, allocations: 1.361 MB / 410.6 MB, free: 1.062 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004975/0.3046, allocations: 214.4 kB / 410.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002849/0.3074, allocations: 2.37 MB / 413.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002211/0.3096, allocations: 1.735 MB / 414.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001828/0.3114, allocations: 1.02 MB / 415.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003389/0.3148, allocations: 2.405 MB / 418.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005347/0.3154, allocations: 189.1 kB / 418.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.3164, allocations: 402.9 kB / 418.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001371/0.3178, allocations: 1.345 MB / 420.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00135/0.3191, allocations: 1.132 MB / 421.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00592/0.3251, allocations: 4.9 MB / 426.3 MB, free: 5.645 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3251, allocations: 4 kB / 426.3 MB, free: 5.641 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3251, allocations: 0 / 426.3 MB, free: 5.641 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000136/0.3252, allocations: 0 / 426.3 MB, free: 5.641 MB / 334.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.006481/0.3317, allocations: 3.658 MB / 430 MB, free: 1.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.3317, allocations: 19.97 kB / 430 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005415/0.3371, allocations: 1.671 MB / 431.6 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003717/0.3409, allocations: 1.533 MB / 433.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.341, allocations: 147.8 kB / 433.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004397/0.3414, allocations: 199.9 kB / 433.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01159/0.353, allocations: 6.986 MB / 440.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-05/0.3531, allocations: 27.7 kB / 440.5 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002865/0.3534, allocations: 103.9 kB / 440.6 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002555/0.3559, allocations: 1.559 MB / 442.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01098/0.3669, allocations: 5.485 MB / 447.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03348/0.4004, allocations: 25.32 MB / 473 MB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002985/0.4034, allocations: 1.124 MB / 474.1 MB, free: 4.207 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00081/0.4042, allocations: 474.3 kB / 474.6 MB, free: 3.723 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004447/0.4086, allocations: 2.023 MB / 476.6 MB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.4087, allocations: 42.5 kB / 476.6 MB, free: 1.617 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 3.397e-06/0.4087, allocations: 0 / 476.6 MB, free: 1.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.004248/0.4129, allocations: 1.745 MB / 478.4 MB, free: 15.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001571/0.4131, allocations: 221.6 kB / 478.6 MB, free: 15.6 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006907/0.42, allocations: 3.535 MB / 482.1 MB, free: 12.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.4201, allocations: 45.62 kB / 482.2 MB, free: 12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002913/0.423, allocations: 2.802 MB / 485 MB, free: 9.176 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006652/0.4237, allocations: 401.2 kB / 485.4 MB, free: 8.781 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001845/0.4255, allocations: 0.9691 MB / 486.3 MB, free: 7.801 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.4257, allocations: 305.1 kB / 486.6 MB, free: 7.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002295/0.428, allocations: 1.204 MB / 487.8 MB, free: 6.289 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005478/0.4334, allocations: 4.534 MB / 492.4 MB, free: 56 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00843/0.4419, allocations: 6.301 MB / 498.7 MB, free: 8.074 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001326/0.442, allocations: 32 kB / 498.7 MB, free: 8.043 MB / 414.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.0107/0.4527, allocations: 5.424 MB / 0.4923 GB, free: 2.613 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.4528, allocations: 60 kB / 0.4924 GB, free: 2.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001824/0.453, allocations: 116 kB / 0.4925 GB, free: 2.441 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001798/0.4532, allocations: 156 kB / 0.4926 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003368/0.4565, allocations: 1.084 MB / 0.4937 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000231/0.4568, allocations: 239.6 kB / 0.4939 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004301/0.4611, allocations: 0.6671 MB / 0.4946 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007587/0.4618, allocations: 316 kB / 0.4949 GB, free: 15.98 MB / 430.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.005125/0.467, allocations: 1.711 MB / 0.4966 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001125/0.4681, allocations: 294.2 kB / 0.4968 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/0.4698, allocations: 487.7 kB / 0.4973 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.15e-05/0.4698, allocations: 20 kB / 0.4973 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/0.4699, allocations: 7.938 kB / 0.4973 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.4699, allocations: 3.984 kB / 0.4973 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007841/0.4777, allocations: 2.365 MB / 0.4996 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.551e-05/0.4777, allocations: 4 kB / 0.4996 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005281/0.4783, allocations: 103.8 kB / 0.4997 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.594e-05/0.4783, allocations: 4 kB / 0.4997 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.301e-05/0.4784, allocations: 19.98 kB / 0.4998 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/0.4784, allocations: 8 kB / 0.4998 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.358e-06/0.4784, allocations: 7.938 kB / 0.4998 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003091/0.4815, allocations: 2.203 MB / 0.5019 GB, free: 8.617 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.4825, allocations: 341.9 kB / 0.5023 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005027/0.483, allocations: 19.94 kB / 0.5023 GB, free: 8.262 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.4841, allocations: 31.97 kB / 0.5023 GB, free: 8.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.4842, allocations: 51.8 kB / 0.5024 GB, free: 8.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.042e-05/0.4842, allocations: 31.98 kB / 0.5024 GB, free: 8.148 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004265/0.4885, allocations: 2.099 MB / 0.5044 GB, free: 6.059 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4885, allocations: 0 / 0.5044 GB, free: 6.059 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004614/0.4931, allocations: 0.8415 MB / 0.5053 GB, free: 5.215 MB / 430.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.0004644/0.4936, allocations: 154.8 kB / 0.5054 GB, free: 5.055 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005568/0.4992, allocations: 2.707 MB / 0.508 GB, free: 2.379 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.4992, allocations: 0 / 0.508 GB, free: 2.379 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007193/0.4999, allocations: 400.5 kB / 0.5084 GB, free: 1.988 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002824/0.5027, allocations: 345.1 kB / 0.5088 GB, free: 1.648 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/0.5168, allocations: 6.732 MB / 0.5153 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003895/0.5207, allocations: 2.128 MB / 0.5174 GB, free: 8.676 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003754/0.5245, allocations: 1.461 MB / 0.5188 GB, free: 7.207 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000584/0.525, allocations: 187.4 kB / 0.519 GB, free: 7.023 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.525, allocations: 0 / 0.519 GB, free: 7.023 MB / 446.1 MB Notification: Performance of Templates: time 0.0499/0.5749, allocations: 19.98 MB / 0.5385 GB, free: 3.004 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.949443783611059]