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.0009347/0.0009347, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001869/0.001869, allocations: 166.2 kB / 24.99 MB, free: 8.793 MB / 18.57 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 0.9862/0.9862, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 1.242e-06/1.242e-06, allocations: 0 / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325e-05/1.449e-05, allocations: 6.312 kB / 273.1 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.006498/0.006512, allocations: 8.752 MB / 281.8 MB, free: 9.039 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002816/0.009329, allocations: 2.659 MB / 284.5 MB, free: 6.371 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003624/0.009691, allocations: 55.75 kB / 284.5 MB, free: 6.316 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001984/0.01167, allocations: 1.966 MB / 286.5 MB, free: 4.344 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00143/0.0131, allocations: 1.407 MB / 287.9 MB, free: 2.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.01336, allocations: 247.4 kB / 288.2 MB, free: 2.688 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1039/0.1172, allocations: 3.426 MB / 291.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001965/0.1192, allocations: 2.113 MB / 293.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001701/0.1209, allocations: 1.529 MB / 295.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/0.1228, allocations: 1.83 MB / 297.1 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000248/0.1231, allocations: 189 kB / 297.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006811/0.1238, allocations: 459.3 kB / 297.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008838/0.1246, allocations: 1.392 MB / 299.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005975/0.1252, allocations: 0.814 MB / 299.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002242/0.1275, allocations: 3.081 MB / 303 MB, free: 13.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1275, allocations: 2.688 kB / 303 MB, free: 13.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1275, allocations: 3.906 kB / 303 MB, free: 13.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.248e-05/0.1275, allocations: 0 / 303 MB, free: 13.35 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.002997/0.1305, allocations: 3.948 MB / 306.9 MB, free: 10.92 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.1306, allocations: 9.906 kB / 306.9 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003378/0.1339, allocations: 2.032 MB / 309 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.1352, allocations: 1.462 MB / 310.4 MB, free: 9.645 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.077e-05/0.1352, allocations: 160.4 kB / 310.6 MB, free: 9.602 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000206/0.1354, allocations: 193.3 kB / 310.8 MB, free: 9.562 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002986/0.1384, allocations: 4.152 MB / 314.9 MB, free: 5.953 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.298e-05/0.1385, allocations: 28.88 kB / 315 MB, free: 5.941 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001633/0.1386, allocations: 97.78 kB / 315.1 MB, free: 5.875 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001088/0.1397, allocations: 1.564 MB / 316.6 MB, free: 4.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002621/0.1423, allocations: 1.939 MB / 318.6 MB, free: 2.547 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01546/0.1578, allocations: 31.74 MB / 350.3 MB, free: 2.074 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.1591, allocations: 0.7386 MB / 351 MB, free: 1.262 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/0.1593, allocations: 216.5 kB / 351.2 MB, free: 1.023 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002115/0.1615, allocations: 2.24 MB / 353.5 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.1615, allocations: 45.55 kB / 353.5 MB, free: 14.72 MB / 314.7 MB Notification: Performance of pre-optimization done (n=89): time 2.695e-06/0.1615, allocations: 112 / 353.5 MB, free: 14.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=89): time 0.001881/0.1634, allocations: 1.108 MB / 354.6 MB, free: 13.63 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.1634, allocations: 217.6 kB / 354.8 MB, free: 13.37 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00259/0.166, allocations: 3.239 MB / 358.1 MB, free: 10.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/0.1661, allocations: 37.38 kB / 358.1 MB, free: 10.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001625/0.1677, allocations: 2.948 MB / 361.1 MB, free: 7.141 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002235/0.1679, allocations: 418 kB / 361.5 MB, free: 6.738 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007882/0.1687, allocations: 1.043 MB / 362.5 MB, free: 5.684 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.988e-05/0.1688, allocations: 476.8 kB / 363 MB, free: 5.215 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006106/0.1694, allocations: 421.1 kB / 363.4 MB, free: 4.797 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002919/0.1723, allocations: 5.345 MB / 368.7 MB, free: 13.19 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004256/0.1766, allocations: 6.375 MB / 375.1 MB, free: 4.652 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-05/0.1766, allocations: 32 kB / 375.1 MB, free: 4.621 MB / 330.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.004167/0.1808, allocations: 4.115 MB / 379.3 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.674e-05/0.1808, allocations: 56 kB / 379.3 MB, free: 468 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.71e-05/0.1809, allocations: 120.1 kB / 379.4 MB, free: 348 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.845e-05/0.181, allocations: 159.9 kB / 379.6 MB, free: 188 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/0.1826, allocations: 1.089 MB / 380.7 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000104/0.1827, allocations: 227.1 kB / 380.9 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/0.1842, allocations: 0.6632 MB / 381.6 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002311/0.1844, allocations: 315.9 kB / 381.9 MB, free: 13.89 MB / 346.7 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.0006378/0.185, allocations: 0.5706 MB / 382.4 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/0.1853, allocations: 306.1 kB / 382.7 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004218/0.1857, allocations: 387.6 kB / 383.1 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.884e-05/0.1857, allocations: 23.06 kB / 383.1 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1857, allocations: 4 kB / 383.1 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.1857, allocations: 3.984 kB / 383.2 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003224/0.189, allocations: 2.758 MB / 385.9 MB, free: 9.754 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.189, allocations: 4 kB / 385.9 MB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/0.1892, allocations: 102.8 kB / 386 MB, free: 9.652 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.1892, allocations: 8 kB / 386 MB, free: 9.645 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.1893, allocations: 12 kB / 386 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.1893, allocations: 11.94 kB / 386 MB, free: 9.621 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1893, allocations: 4 kB / 386.1 MB, free: 9.617 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.1903, allocations: 1.754 MB / 387.8 MB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002927/0.1906, allocations: 321.8 kB / 388.1 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.1908, allocations: 19.95 kB / 388.1 MB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004271/0.1912, allocations: 23.97 kB / 388.2 MB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.511e-05/0.1913, allocations: 55.8 kB / 388.2 MB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/0.1913, allocations: 28 kB / 388.2 MB, free: 7.355 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001353/0.1927, allocations: 1.427 MB / 389.7 MB, free: 5.938 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1927, allocations: 0 / 389.7 MB, free: 5.938 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002074/0.1947, allocations: 0.8327 MB / 390.5 MB, free: 5.105 MB / 346.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.0002243/0.195, allocations: 139.1 kB / 390.6 MB, free: 4.961 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002103/0.1971, allocations: 1.951 MB / 392.6 MB, free: 3.027 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1971, allocations: 0 / 392.6 MB, free: 3.027 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.1973, allocations: 210 kB / 392.8 MB, free: 2.816 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.1985, allocations: 365.6 kB / 393.2 MB, free: 2.473 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005797/0.2043, allocations: 5.64 MB / 398.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007353/0.205, allocations: 0.9471 MB / 399.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001713/0.2067, allocations: 1.305 MB / 401 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.2069, allocations: 188.5 kB / 401.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.2069, allocations: 0 / 401.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of Templates: time 0.02686/0.2338, allocations: 16.21 MB / 417.4 MB, free: 10.52 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1) [Timeout 240] 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","",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.358320660190657]