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.0009614/0.0009614, allocations: 85.05 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0009777/0.0009777, allocations: 145.7 kB / 24.89 MB, free: 8.727 MB / 18.57 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 0.9352/0.9352, allocations: 173.4 MB / 201.5 MB, free: 8.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.122e-06/1.122e-06, allocations: 0 / 268.5 MB, free: 5.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/2.008e-05, allocations: 6.25 kB / 268.5 MB, free: 5.957 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.007075/0.007095, allocations: 8.602 MB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005036/0.01213, allocations: 2.709 MB / 279.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009105/0.01304, allocations: 55.75 kB / 279.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002094/0.01514, allocations: 1.919 MB / 281.8 MB, free: 8.617 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002191/0.01733, allocations: 1.411 MB / 283.2 MB, free: 7.199 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.01766, allocations: 231.5 kB / 283.4 MB, free: 6.973 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002777/0.02044, allocations: 3.376 MB / 286.8 MB, free: 3.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001768/0.02221, allocations: 2.043 MB / 288.9 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1081/0.1303, allocations: 1.735 MB / 290.6 MB, free: 17.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002154/0.1325, allocations: 1.446 MB / 292 MB, free: 17.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006366/0.1331, allocations: 182.8 kB / 292.2 MB, free: 17.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008599/0.1339, allocations: 452.4 kB / 292.7 MB, free: 17.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001031/0.135, allocations: 1.398 MB / 294.1 MB, free: 17.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001165/0.1361, allocations: 0.8169 MB / 294.9 MB, free: 17.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003363/0.1395, allocations: 3.09 MB / 298 MB, free: 16.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1395, allocations: 7.781 kB / 298 MB, free: 16.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1395, allocations: 0 / 298 MB, free: 16.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001562/0.1397, allocations: 2.531 kB / 298 MB, free: 16.95 MB / 266.7 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.005249/0.1449, allocations: 3.471 MB / 301.5 MB, free: 15.28 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.145, allocations: 11.64 kB / 301.5 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002255/0.1472, allocations: 0.784 MB / 302.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002216/0.1494, allocations: 1.404 MB / 303.7 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.964e-05/0.1495, allocations: 148.5 kB / 303.8 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000232/0.1497, allocations: 197.4 kB / 304 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00382/0.1536, allocations: 3.458 MB / 307.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-05/0.1536, allocations: 31.77 kB / 307.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001783/0.1538, allocations: 101.8 kB / 307.6 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00113/0.1549, allocations: 1.416 MB / 309 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002679/0.1576, allocations: 1.675 MB / 310.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01538/0.173, allocations: 22.48 MB / 333.2 MB, free: 7.312 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.1742, allocations: 0.7451 MB / 333.9 MB, free: 6.527 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.1744, allocations: 152.2 kB / 334 MB, free: 6.367 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002448/0.1768, allocations: 2.003 MB / 336 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.1769, allocations: 50.22 kB / 336.1 MB, free: 4.312 MB / 282.7 MB Notification: Performance of pre-optimization done (n=89): time 3.446e-06/0.1769, allocations: 0 / 336.1 MB, free: 4.312 MB / 282.7 MB Notification: Performance of matching and sorting (n=89): time 0.001641/0.1785, allocations: 0.8058 MB / 336.9 MB, free: 3.531 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.397e-05/0.1786, allocations: 213.6 kB / 337.1 MB, free: 3.273 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002224/0.1808, allocations: 2.585 MB / 339.7 MB, free: 1.211 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/0.1809, allocations: 40.2 kB / 339.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001292/0.1821, allocations: 2.558 MB / 342.3 MB, free: 14.76 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/0.1824, allocations: 404.1 kB / 342.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006722/0.183, allocations: 0.9069 MB / 343.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.273e-05/0.1831, allocations: 301.1 kB / 343.9 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005324/0.1836, allocations: 480.1 kB / 344.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002084/0.1857, allocations: 3.676 MB / 348 MB, free: 7.613 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003629/0.1894, allocations: 4.78 MB / 352.8 MB, free: 1.438 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.097e-05/0.1894, allocations: 36 kB / 352.8 MB, free: 1.402 MB / 298.7 MB Notification: Performance of matching and sorting (n=622) (initialization): time 0.003737/0.1931, allocations: 3.318 MB / 356.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.151e-05/0.1932, allocations: 60.03 kB / 356.2 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.625e-05/0.1933, allocations: 120 kB / 356.3 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.223e-05/0.1934, allocations: 159.8 kB / 356.5 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00207/0.1954, allocations: 1.115 MB / 357.6 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001374/0.1956, allocations: 235.1 kB / 357.8 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/0.1977, allocations: 0.6515 MB / 358.5 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002438/0.1979, allocations: 275.1 kB / 358.8 MB, free: 11.47 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 545 * 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 (590): * Single equations (assignments): 586 * 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.001351/0.1992, allocations: 0.5199 MB / 359.3 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002948/0.1995, allocations: 161.9 kB / 359.4 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004485/0.2, allocations: 364.8 kB / 359.8 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.815e-05/0.2, allocations: 26.92 kB / 359.8 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2, allocations: 4 kB / 359.8 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-06/0.2, allocations: 7.984 kB / 359.8 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002598/0.2026, allocations: 1.646 MB / 361.5 MB, free: 8.691 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.2026, allocations: 4 kB / 361.5 MB, free: 8.688 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/0.2029, allocations: 99.89 kB / 361.6 MB, free: 8.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.2029, allocations: 4 kB / 361.6 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.203, allocations: 19.98 kB / 361.6 MB, free: 8.566 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/0.203, allocations: 8.219 kB / 361.6 MB, free: 8.559 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.203, allocations: 12 kB / 361.6 MB, free: 8.547 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008575/0.2038, allocations: 1.262 MB / 362.9 MB, free: 7.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003454/0.2042, allocations: 293.8 kB / 363.2 MB, free: 6.941 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.2043, allocations: 19.94 kB / 363.2 MB, free: 6.922 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004093/0.2047, allocations: 19.92 kB / 363.2 MB, free: 6.902 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.445e-05/0.2048, allocations: 51.86 kB / 363.3 MB, free: 6.852 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.443e-05/0.2048, allocations: 27.98 kB / 363.3 MB, free: 6.824 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00134/0.2062, allocations: 1.084 MB / 364.4 MB, free: 5.746 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2062, allocations: 4.031 kB / 364.4 MB, free: 5.742 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002649/0.2088, allocations: 0.8415 MB / 365.2 MB, free: 4.898 MB / 314.7 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.0002573/0.2091, allocations: 120.2 kB / 365.3 MB, free: 4.773 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001938/0.211, allocations: 1.818 MB / 367.2 MB, free: 2.965 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001605/0.2112, allocations: 92.16 kB / 367.2 MB, free: 2.863 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.2114, allocations: 172.8 kB / 367.4 MB, free: 2.691 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.2126, allocations: 350.6 kB / 367.8 MB, free: 2.355 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008306/0.2209, allocations: 5.771 MB / 373.5 MB, free: 12.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008627/0.2217, allocations: 0.9426 MB / 374.5 MB, free: 11.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001024/0.2228, allocations: 434.2 kB / 374.9 MB, free: 11.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005366/0.2233, allocations: 465.2 kB / 375.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of SimCode: time 2.034e-06/0.2233, allocations: 0 / 375.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of Templates: time 0.03816/0.2615, allocations: 18.42 MB / 393.8 MB, free: 8.453 MB / 346.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.254665337037295]