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.001422/0.001422, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.00142/0.00142, allocations: 185.9 kB / 23.7 MB, free: 4.191 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.438/1.438, allocations: 225.7 MB / 252.5 MB, free: 12.86 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.001582/0.001582, allocations: 47.92 kB / 370.9 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2286, allocations: 52.19 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.01063/0.2392, allocations: 7.983 MB / 431.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005579/0.2448, allocations: 2.546 MB / 433.6 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009273/0.2457, allocations: 51.81 kB / 433.7 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003627/0.2494, allocations: 1.775 MB / 435.4 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003206/0.2526, allocations: 1.377 MB / 436.8 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005501/0.2531, allocations: 211.6 kB / 437 MB, free: 480 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003231/0.2564, allocations: 2.361 MB / 439.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002272/0.2586, allocations: 1.741 MB / 441.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001473/0.2601, allocations: 1.016 MB / 442.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003235/0.2633, allocations: 2.4 MB / 444.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004377/0.2638, allocations: 188 kB / 444.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008811/0.2647, allocations: 411.5 kB / 445.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001317/0.266, allocations: 1.351 MB / 446.5 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001231/0.2672, allocations: 1.133 MB / 447.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005314/0.2725, allocations: 4.889 MB / 452.5 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.2725, allocations: 4 kB / 452.5 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2725, allocations: 0 / 452.5 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.23e-05/0.2726, allocations: 0 / 452.5 MB, free: 0.8945 MB / 350.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.006364/0.279, allocations: 3.662 MB / 456.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.279, allocations: 11.97 kB / 456.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005191/0.2842, allocations: 1.664 MB / 457.8 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003012/0.2872, allocations: 1.544 MB / 459.4 MB, free: 9.918 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.2874, allocations: 147.8 kB / 459.5 MB, free: 9.773 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003783/0.2877, allocations: 203.8 kB / 459.7 MB, free: 9.574 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009743/0.2975, allocations: 6.982 MB / 466.7 MB, free: 2.043 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-05/0.2975, allocations: 27.75 kB / 466.7 MB, free: 2.016 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002466/0.2978, allocations: 99.89 kB / 466.8 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002378/0.3002, allocations: 1.562 MB / 468.4 MB, free: 360 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009499/0.3097, allocations: 5.485 MB / 473.9 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02897/0.3386, allocations: 25.32 MB / 499.2 MB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002561/0.3412, allocations: 1.124 MB / 0.4886 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006805/0.3419, allocations: 472.4 kB / 0.4891 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003672/0.3455, allocations: 2.015 MB / 0.491 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.3456, allocations: 50.48 kB / 0.4911 GB, free: 12.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 2.955e-06/0.3456, allocations: 0 / 0.4911 GB, free: 12.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.003739/0.3493, allocations: 1.742 MB / 0.4928 GB, free: 11.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.3495, allocations: 221.6 kB / 0.493 GB, free: 10.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004453/0.3539, allocations: 3.536 MB / 0.4964 GB, free: 7.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.539e-05/0.354, allocations: 37.7 kB / 0.4965 GB, free: 7.277 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002155/0.3561, allocations: 2.818 MB / 0.4992 GB, free: 4.434 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003545/0.3565, allocations: 405.1 kB / 0.4996 GB, free: 4.035 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001148/0.3576, allocations: 0.9607 MB / 0.5005 GB, free: 3.062 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.3578, allocations: 305.1 kB / 0.5008 GB, free: 2.762 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001758/0.3595, allocations: 1.204 MB / 0.502 GB, free: 1.551 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004426/0.3639, allocations: 4.53 MB / 0.5064 GB, free: 11.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007397/0.3713, allocations: 6.298 MB / 0.5126 GB, free: 3.352 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-05/0.3714, allocations: 32 kB / 0.5126 GB, free: 3.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009011/0.3804, allocations: 5.438 MB / 0.5179 GB, free: 13.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.584e-05/0.3805, allocations: 60 kB / 0.518 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001205/0.3806, allocations: 116 kB / 0.5181 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001517/0.3808, allocations: 156 kB / 0.5182 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00302/0.3838, allocations: 1.084 MB / 0.5193 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002003/0.384, allocations: 235.1 kB / 0.5195 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003325/0.3873, allocations: 0.6673 MB / 0.5202 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000399/0.3877, allocations: 312 kB / 0.5205 GB, free: 11.26 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.002659/0.3904, allocations: 1.708 MB / 0.5221 GB, free: 9.543 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005379/0.3909, allocations: 286 kB / 0.5224 GB, free: 9.262 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009261/0.3919, allocations: 479.7 kB / 0.5229 GB, free: 8.785 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.767e-05/0.3919, allocations: 20 kB / 0.5229 GB, free: 8.766 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-05/0.3919, allocations: 8.281 kB / 0.5229 GB, free: 8.758 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.3919, allocations: 3.984 kB / 0.5229 GB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005005/0.3969, allocations: 2.364 MB / 0.5252 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.3969, allocations: 7.938 kB / 0.5252 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000466/0.3974, allocations: 107.8 kB / 0.5253 GB, free: 6.203 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/0.3974, allocations: 12.22 kB / 0.5253 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-05/0.3975, allocations: 12 kB / 0.5253 GB, free: 6.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.409e-05/0.3975, allocations: 19.91 kB / 0.5254 GB, free: 6.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.3975, allocations: 7.938 kB / 0.5254 GB, free: 6.152 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00251/0.4, allocations: 2.202 MB / 0.5275 GB, free: 3.895 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007819/0.4008, allocations: 333.8 kB / 0.5278 GB, free: 3.566 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/0.401, allocations: 23.88 kB / 0.5279 GB, free: 3.543 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008038/0.4018, allocations: 32.03 kB / 0.5279 GB, free: 3.512 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.4019, allocations: 51.81 kB / 0.5279 GB, free: 3.461 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.963e-05/0.402, allocations: 31.98 kB / 0.528 GB, free: 3.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002958/0.4049, allocations: 2.102 MB / 0.53 GB, free: 1.336 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4049, allocations: 0 / 0.53 GB, free: 1.336 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003488/0.4084, allocations: 0.8415 MB / 0.5308 GB, free: 0.4922 MB / 446.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.0002814/0.4087, allocations: 146.9 kB / 0.531 GB, free: 348 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004069/0.4128, allocations: 2.703 MB / 0.5336 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.4128, allocations: 4.875 kB / 0.5336 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005703/0.4133, allocations: 403.6 kB / 0.534 GB, free: 13.27 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/0.4152, allocations: 352.6 kB / 0.5344 GB, free: 12.92 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/0.4256, allocations: 6.725 MB / 0.5409 GB, free: 6.117 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002892/0.4285, allocations: 2.125 MB / 0.543 GB, free: 3.965 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003348/0.4319, allocations: 1.465 MB / 0.5444 GB, free: 2.492 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003992/0.4323, allocations: 183.4 kB / 0.5446 GB, free: 2.312 MB / 462.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4323, allocations: 4 kB / 0.5446 GB, free: 2.309 MB / 462.1 MB Notification: Performance of Templates: time 0.2395/0.6718, allocations: 20.05 MB / 0.5642 GB, free: 111.9 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Surfaces/Surfaces.csv","/var/lib/jenkins/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: 5.742170883342624]