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.001336/0.001336, allocations: 120.8 kB / 18.46 MB, free: 4.449 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.001294/0.001294, allocations: 190.9 kB / 21.4 MB, free: 1.52 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.488/1.488, allocations: 225.6 MB / 249.8 MB, free: 3.598 MB / 190.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.001518/0.001518, allocations: 47.92 kB / 366.8 MB, free: 312 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1052, allocations: 52.15 MB / 419 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.0115/0.1167, allocations: 9.06 MB / 428 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005836/0.1225, allocations: 2.686 MB / 430.7 MB, free: 276 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009466/0.1235, allocations: 51.88 kB / 430.8 MB, free: 224 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003705/0.1272, allocations: 1.845 MB / 432.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004068/0.1312, allocations: 1.362 MB / 434 MB, free: 13 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000636/0.1319, allocations: 203.6 kB / 434.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003664/0.1355, allocations: 2.367 MB / 436.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002468/0.138, allocations: 1.786 MB / 438.3 MB, free: 8.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0016/0.1396, allocations: 1 MB / 439.3 MB, free: 7.586 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003799/0.1434, allocations: 2.454 MB / 441.8 MB, free: 5.125 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005515/0.144, allocations: 192 kB / 442 MB, free: 4.938 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.1452, allocations: 0.5032 MB / 442.5 MB, free: 4.434 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001459/0.1466, allocations: 1.351 MB / 443.8 MB, free: 3.078 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001786/0.1484, allocations: 1.587 MB / 445.4 MB, free: 1.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2389/0.3874, allocations: 4.874 MB / 450.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3874, allocations: 0.6562 kB / 450.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3874, allocations: 0 / 450.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001306/0.3875, allocations: 0 / 450.3 MB, free: 14.69 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.006807/0.3943, allocations: 3.735 MB / 454 MB, free: 12.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.3944, allocations: 9.688 kB / 454 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005735/0.4001, allocations: 1.671 MB / 455.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00386/0.404, allocations: 1.594 MB / 457.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/0.4041, allocations: 158.2 kB / 457.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005969/0.4047, allocations: 196.8 kB / 457.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0108/0.4155, allocations: 6.979 MB / 464.6 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-05/0.4156, allocations: 26.31 kB / 464.6 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002728/0.4158, allocations: 105.7 kB / 464.7 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002226/0.4181, allocations: 1.56 MB / 466.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009594/0.4277, allocations: 5.485 MB / 471.8 MB, free: 8.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03398/0.4616, allocations: 27.19 MB / 499 MB, free: 2.801 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002937/0.4646, allocations: 1.583 MB / 0.4888 GB, free: 1.637 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007134/0.4653, allocations: 469.2 kB / 0.4893 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004966/0.4703, allocations: 2.694 MB / 0.4919 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.4703, allocations: 51.66 kB / 0.492 GB, free: 14.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=89): time 3.527e-06/0.4703, allocations: 0 / 0.492 GB, free: 14.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=89): time 0.004368/0.4747, allocations: 1.774 MB / 0.4937 GB, free: 12.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/0.4748, allocations: 225 kB / 0.4939 GB, free: 12.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006348/0.4812, allocations: 3.678 MB / 0.4975 GB, free: 8.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001413/0.4813, allocations: 37.22 kB / 0.4975 GB, free: 8.891 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002561/0.4839, allocations: 2.791 MB / 0.5003 GB, free: 6.117 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005143/0.4844, allocations: 406.2 kB / 0.5006 GB, free: 5.727 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001291/0.4857, allocations: 0.9672 MB / 0.5016 GB, free: 4.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4858, allocations: 301.1 kB / 0.5019 GB, free: 4.453 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002/0.4878, allocations: 1.208 MB / 0.5031 GB, free: 3.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004846/0.4927, allocations: 4.532 MB / 0.5075 GB, free: 13.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00827/0.5009, allocations: 6.296 MB / 0.5136 GB, free: 5.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000103/0.501, allocations: 32 kB / 0.5137 GB, free: 5.559 MB / 414.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01097/0.512, allocations: 5.457 MB / 0.519 GB, free: 328 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.021e-05/0.5121, allocations: 56 kB / 0.519 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001307/0.5122, allocations: 120 kB / 0.5192 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001788/0.5124, allocations: 156 kB / 0.5193 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003182/0.5156, allocations: 1.084 MB / 0.5204 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001986/0.5158, allocations: 239.1 kB / 0.5206 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003947/0.5197, allocations: 0.6989 MB / 0.5213 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005018/0.5202, allocations: 318.5 kB / 0.5216 GB, free: 13.67 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.003034/0.5233, allocations: 1.709 MB / 0.5232 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007047/0.524, allocations: 314.4 kB / 0.5235 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.5251, allocations: 0.494 MB / 0.524 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.164e-05/0.5251, allocations: 22.66 kB / 0.524 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.5252, allocations: 0 / 0.524 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.5252, allocations: 7.984 kB / 0.5241 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006212/0.5314, allocations: 3.154 MB / 0.5271 GB, free: 7.891 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.5314, allocations: 288 / 0.5271 GB, free: 7.891 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004945/0.5319, allocations: 107.8 kB / 0.5272 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/0.5319, allocations: 8 kB / 0.5272 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.366e-05/0.5319, allocations: 16 kB / 0.5273 GB, free: 7.762 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.367e-05/0.532, allocations: 15.92 kB / 0.5273 GB, free: 7.746 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.532, allocations: 4 kB / 0.5273 GB, free: 7.742 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/0.5346, allocations: 2.232 MB / 0.5295 GB, free: 5.465 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008263/0.5354, allocations: 438.7 kB / 0.5299 GB, free: 5.016 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000236/0.5357, allocations: 19.94 kB / 0.5299 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008517/0.5365, allocations: 35.91 kB / 0.5299 GB, free: 4.961 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.5366, allocations: 47.95 kB / 0.53 GB, free: 4.914 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.518e-05/0.5367, allocations: 30.48 kB / 0.53 GB, free: 4.887 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003592/0.5403, allocations: 2.337 MB / 0.5323 GB, free: 2.566 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5403, allocations: 0 / 0.5323 GB, free: 2.566 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004128/0.5444, allocations: 0.8199 MB / 0.5331 GB, free: 1.746 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.0003719/0.5448, allocations: 156.4 kB / 0.5332 GB, free: 1.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004647/0.5495, allocations: 2.707 MB / 0.5359 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.5495, allocations: 4 kB / 0.5359 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005851/0.55, allocations: 391.6 kB / 0.5363 GB, free: 14.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/0.5523, allocations: 388.1 kB / 0.5366 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/0.5655, allocations: 7.158 MB / 0.5436 GB, free: 6.938 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003645/0.5691, allocations: 2.686 MB / 0.5462 GB, free: 4.234 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008963/0.57, allocations: 239.8 kB / 0.5465 GB, free: 4 MB / 446.1 MB Notification: Performance of SimCode: time 2.305e-06/0.57, allocations: 4 kB / 0.5465 GB, free: 3.996 MB / 446.1 MB Notification: Performance of Templates: time 0.07942/0.6494, allocations: 44.22 MB / 0.5897 GB, free: 7.867 MB / 494.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.523380478844047]